Questions tagged [language]

For questions related to making an extension support many languages, adding translation strings, creating language overrides etc. * For questions related in creating Joomla sites with multi-lingual content, better use the multilingual tag.

Filter by
Sorted by
Tagged with
9
votes
1answer
4k views

How to manage language variables inside JavaScript?

In my custom component I do a lot of JavaScript validation for each view. The validation throws various error messages and those messages are configured inside the language file en-GB.com_mycomp.ini ...
7
votes
2answers
1k views

com_content—get associated article in right language

I have a template, where would like to print the content of an article, what is working quite nice so far, using this code: JModelLegacy::addIncludePath(JPATH_SITE . '/components/com_content/models');...
6
votes
3answers
2k views

Remove language code from url

I'm having a slight issue with a multi language site. I am using FaLang to handle translations of 4 languages (English, Spanish, French and Italian) on a 3.3.6 Joomla installation with English set as ...
5
votes
1answer
136 views

How to adjust search keyword sanitization settings as language override?

I am working on some custom search plugins and I have a 2-part question regarding the file administrator/components/com_search/helpers/search.php. I want to adjust the sanitization settings without ...
5
votes
1answer
343 views

Add custom language to content language

I'm creating a multilangue joomla site with English and Faroese. Faroese isn't in the language list, but my site is just made up of articles and menu's that I'm creating at my own, so I don't need to ...
5
votes
1answer
254 views

Redirection to wrong language since 3.4.3

When I click a link in an article to another article with no explicit lang in the query string, then a redirect occurs to a url with the language set in the query string. This language is not, however,...
5
votes
1answer
586 views

How does the Administrator main menu come up with menu item text?

I had to change the text on an Administrator menu item, and found that some of the menu items yse the title, others use the alias. One used a language string in the title column, and it works, but ...
5
votes
1answer
609 views

Is ordering broken for the Joomla 3 language selector?

I've been building multi-language Joomla sites since J1.5 - most with more than 10 languages. In J3.x I'm finding that the ordering in the language selector seems to be broken. Here's how it's ...
4
votes
4answers
3k views

Getting current language in Joomla 3 in external script seems difficult.. but works fine in J2.5

I´m aware that a similar qustion is asked here: Get current language in external script (Joomla 3.3) but it seems that noone has understood the problem correctly. I´m having the exact same problem, ...
4
votes
2answers
702 views

Loading images in a multi-language multi-site configuration

I have some custom components that specify images either in CSS or inline with relative paths: <img src=\"images/loader.gif\"> The problem is that I have a multi-site configuration (I don't ...
4
votes
2answers
2k views

No available languages to install at the moment

What can be the reason for not being able to install languages through admin? I am getting: There are no available languages to install at the moment. Please select the "Find languages" ...
4
votes
1answer
453 views

Article multi language selection

I have a multi language site with 4 languages, and I need one article to display in all languages except one. I need to assign more than one language to each article, how can I override and change ...
3
votes
1answer
122 views

Joomla 3.9 not reading language override strings for English only

In Joomla 3.9.20, I created a custom front end template. Inside I have the language folder with various languages in this format. For German (example): /templates/mytemplate/de-DE/de-DE.tpl_mytemplate....
3
votes
2answers
386 views

How to add a language pack (or language specific string overrides) to a template?

So, I am in the process of adding a second content language to my joomla site and I'm running into an issue. I have successfully added my second language (German) and have rebuilt my site with the ...
3
votes
3answers
455 views

Joomla 3.4.4 - URL Problems with alias of products in submenu

I am writing for help regarding a problem with incorrect alias in the URL for product content from my Italian submenu. I created a submenu for products in my website (the products are with VirtueMart)....
3
votes
3answers
1k views

Hide languages from the Language Switcher

I have a question about the Joomla language switcher module. I would like to hide the option to switch to English language on the website. I can't unpublish the English language because then it says ...
3
votes
1answer
4k views

How to detect the current site/frontend language within Javascript

I want to detect the current site/frontend language within Javascript. How can I do to register the language for use within?
3
votes
1answer
2k views

Create custom language switcher module

I would like to customize the language switcher module, that is I would have some different effect, like having name and flags together. How could I perform it? EDIT: Joomla version 3.3.6 template ...
3
votes
1answer
34 views

Home page a mix of language

Joomla noob here. I've installed vanilla Joomla 3.5.7. Installed a second language (Russian), made it a default language for the site and for the administrator, published it as a content language. ...
3
votes
1answer
74 views

Why language files installed in Extension Manager as 'files' type can not be Unpublished?

I mean language translations of some components which are distributed separately, not the core Joomla translations. They are marked as unpublished, but this has no effect - components continue to be ...
3
votes
2answers
141 views

Why are language files not being picked up?

I am manually translating some language files from en-GB to ca-ES (just the front-ends). Once translated and properly renamed, I place them in language/ca-ES but they are not picked up by my Joomla ...
3
votes
2answers
7k views

Using custom image flags with language switcher module

I want to display my custom flags images at the language switcher module. How can I replace the default flags of the module?
3
votes
1answer
142 views

Fallback language when translation does not exist

I have a working multi-language site (joomla core support). My question is, in the case of having an untranslated, for example, an article, is it possible to fallback to the one in the default ...
3
votes
1answer
470 views

Joomla 3.4.8 language filter "Automatic Language Change" disabled but still redirects in some cases

I am having a strange problem with a site in english and swedish. This is the situation: The site was built originally in english, which is set as the default language. The language filter plugin is ...
3
votes
1answer
228 views

Translated module is always en-GB

I'm writing a module for Joomla 3.4.3 and having issues with I18N. My module directory structure: + mod_mymodname + tmpl - default.php + language + de-DE - de-DE.mod_mymodname.ini ...
3
votes
1answer
1k views

Override language strings from template

Based on this tutorial, I tried to create a template specific language override, trying to be able to override any module or component. Basically, the idea is: Create a file called JOOMLA/templates/...
3
votes
2answers
100 views

Change multi-language admin panel setup

I am new to Joomla. I want to create a multi-language website using Joomla CMS. I followed the instructions at https://www.templatemonster.com/help/joomla-3-x-configuration-multilanguage-site.html#...
3
votes
1answer
549 views

Last Visit Date Override

I am trying to override the Last Visit Date in the admin area of my Joomla 3.4.1 site. I have manually made overrides to the following constants (site and admin) and it's not making any difference ...
3
votes
1answer
2k views

How can I translate RokSprocket views?

I'm using RokSprocket (from RocketTheme) to create the layout I want on my website, but it's a multilingual site, and I want to translate some of the strings. I looked for en-GB.mod_roksprocket.ini ...
2
votes
3answers
2k views

Language files in a plugin

I'm writing a plugin that needs some translatable strings at runtime, but I'm having trouble getting my language file to be picked up. I've got the following: /language/en-GB/en-GB....
2
votes
3answers
984 views

Module title not getting from language file

Here is the module manifest file <extension type="module" version="3.4" method="upgrade" client="site"> <name>ABCD_MOD_QUICK_WRK</name> ... .... <description>...
2
votes
1answer
522 views

JText - multilingual string order

I have an extension that displays the time a shout was posted, for example: 1 day ago This string is generated in my helper like so: $num . ' ' . JText::_('SHOUT_TIME') . ' ' . JText::_('...
2
votes
1answer
161 views

Language tags in article content

I have a Joomla site with lots of articles and two languages. All content is the same, except for the weekdays. Is it possible, in any way, to use the Joomla override language to create tags and add ...
2
votes
3answers
2k views

Remove index php add language code in the url

I built international site and it adds language code to the end of the urls: www.site.com/index.php/en/ I enabled SEF urls and url rewriting in global configuration, I tried many .htaccess snippets to ...
2
votes
3answers
422 views

Localization of site title / headline and slogan

How could I localized the site title / headline and slogan of a Joomla site. I have got localized menus with localized pages, but I have no idea how could I make site title multilingual? Any ideas ...
2
votes
2answers
1k views

How to rewrite JText to get my custom text translations from Database and not from files

I managed to rewrite system plugin "Language Manager", so now it saves texts for different languages to Database (DB). Now I do not know how to rewrite JText (that is present across all the ...
2
votes
1answer
330 views

Using language constants in external file

How can I use language constant like JText::_('MY_STRING_FROM_INI_FILE') in external file? UPD: I include joomla system files require_once JPATH_BASE . '/includes/defines.php'; require_once ...
2
votes
1answer
70 views

Load language file in view constructor

I'm trying to break up my translation strings into several files and avoid parsing them all on every request. I know base language files are loaded at Joomla! application initialization. From the API ...
2
votes
1answer
178 views

Export language overrides

I need to export the language overrides which i set in the joomla 3.8 admin. I couldn't find any option at extensions->languages->overrides and i also couldn't find the overrides inside the database. ...
2
votes
1answer
44 views

Save in logs files changes of Language Manager

I can not find how to write in log files of extentions Language Manager the following information: -user name -name of the constant - old value - new value Please see the image As I understand I ...
2
votes
1answer
42 views

Is there a way to change the column names in user manager?

On belgianpainsociety.org the registration of users is done through a extensive form by jomsocial. However, the first screen of the registration is the standard fields that Joomla needs for the user ...
2
votes
1answer
145 views

How to support a new language to the front site of my component?

I'm developing a component and want to set up multiple language support at least for the front end at this stage. I may have missed something or not interpreted it correctly but in the Joomla ...
2
votes
1answer
39 views

Language Override Include Site Details

I would like to create a language override for both site and administrator. The language constant I am changing is; RSFP_REG_EMAIL_ACTIVATED_BY_ADMIN_ACTIVATION_BODY The content of this is; Hello ...
2
votes
2answers
75 views

Language Constant Not Displaying in External Script

Joomla 3.9.14 I have an external application that uses the script below, allowing users to register as a user on my Joomla site. It all appears to be working apart from error displaying. My code is ...
2
votes
2answers
72 views

Account logs out when i change the language of the site

I'm currently using Joomla! 3.4.8 for my multi-language site, for the member access area I've created menu links of type "connexion" for each language with associations between them. My problem here ...
2
votes
1answer
150 views

Add text to registration form

I'm running Joomla 3.4.8 and I want to add some informational text on the registration form. Here was my plan: Add a new Language Override, REGISTER_NOTE1, with the text I want to display. Find ...
2
votes
1answer
56 views

Modifying Joomla's feedback message

How can I modify the feedback message returned by joomla? What method do I need to override in order to extend the functionality that renders this message?
2
votes
1answer
233 views

Google crawler and browser language detection

I have just experienced something weird with the language filter in combination with the Google crawler. If I switch on browser detection, Joomla returns a 404 (I assume, because no "ALL language" ...
2
votes
1answer
113 views

After saving a Content Language it doesn't appear in the list

I have a site and I'm trying to add a second language to it. I've followed the steps outlined here: How to setup a new multi-language website? But when I try to create a content language (Spanish), ...
2
votes
1answer
382 views

Different backend and frontend language files in a Joomla Module

this is my first post on stackoverflow. I apologize for my poor english. I developed a very complex joomla 3+ module with plenty of backend options. Labels and long description for every option is ...