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.
104
questions
1
vote
1answer
18 views
Home flag in content languages is set to NO and cannot be set back to YES
I am trying to build a multilingual site with Joomla 3.9. Due to unknown reason, one of the "Home" flag in content languages is set to "NO" and I can't set it back to "YES&...
0
votes
0answers
8 views
How do I create URLs that points to a localized menu entry?
I'd like to create a URL to a localized menu entry. How would I do this? Can I use the Route class?
3
votes
1answer
77 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....
2
votes
1answer
33 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 ...
0
votes
1answer
23 views
Installer cannot find language file, but it does exist
I regularly get an error similar to this:
JInstaller: :Install: File does not exist
/*******/public_html/dev/tmp/install_5e834b10a9f88/en-GB.plg_system_kou_address_mapper.ini
Here is my XML
<...
1
vote
2answers
129 views
Remove 'There are no articles in this category.' Text
Joomla 3.9.14
I have a category with no articles, although the sub categories do contain articles.
- colours (no articles)
-- red (1 article)
-- blue (2 articles)
I have a menu type Category ...
2
votes
2answers
60 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
1answer
94 views
Load language files inside custom library
I have a a library inside \libraries\mylib\.
That library contains an include.php which uses following to load language files that are also inside a /language folder in the library:
$lang = JFactory:...
1
vote
0answers
16 views
Need help getting website multilingual
I'm on Joomla 3.9x version and trying to make my site multilingual. Currently it's in Dutch (NL) and I'm trying to get it to English (EN-US).
Things I've done so far:
Made menu in NL (currently ...
1
vote
0answers
28 views
Why do examples show reload=true for loading language files?
Nearly every example I've seen, both in documentation and code examples, show setting the $reload parameter to \Joomla\CMS\Language\Language->load() method as true (e.g. forcing reload of the ...
1
vote
2answers
72 views
Installing language from CLI
Does anybody know of a way to automate the installation of language packs via the CLI, as opposed to using the Extensions -> Language(s) menu in the administrator CMS?
I am automating a site build ...
1
vote
1answer
86 views
Code for the Content Language Field type
What is the proper way to call for the Content language field type. My below code works but I don't use the content language field type. I am building a drop down from all available languages.
$...
0
votes
0answers
30 views
Incorrect redirect using ZOO item with Joomla's native Language Switcher
I am using the Zoo item component with ZOOlingual and the native Language Switcher. My problem is that when I am on an item detail from a catalog in english, switching in french redirect in french but ...
0
votes
1answer
45 views
How to display the appropriate language in an article?
I have 7 languages installed in my website, but when I try to display content in one country, it shows in another country.
How can I change the options?
For example, I want to display content in ...
5
votes
1answer
120 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 ...
0
votes
1answer
43 views
Joomla! inserts \n in my language string
When I create a language string with multiple HTML elements Joomla! automatically inserts \n between them.
This shows up as a literal \n in the string.
Does anyone know why and how to overcome ...
1
vote
1answer
23 views
“COM_CONTENT_created_DATE” does not show translation
I am using the FJRelated plugin. There is a menu item for fjrelated to display a page almost the same as Joomla's default Category List.
I have this line:
<?php echo JHtml::_('grid.sort', '...
2
votes
1answer
290 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
68 views
How to override language filter plugin?
I'd like to tweak my language filter plugin a bit, and if possible, I'd like to do that as an override.
I know how to override some features in Joomla, but I'm not sure what to do in case of a system ...
2
votes
1answer
67 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 ...
1
vote
1answer
142 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.
...
1
vote
1answer
135 views
Installing Language Filter and Language Code system plugins
I have a Joomla website (which I didn't install myself) that seems to be lacking the system plugins "Language Filter" and "Language Code". It seems like it wasn't installed as a multi-language site in ...
3
votes
1answer
130 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 ...
2
votes
1answer
319 views
I found languages installed and I can't install one
First of all, I have 3 new languages installed on my Joomla! I don't know how, I have no new users so i assume there is a vulnerability that allows languages to be installed somehow. I was on 3.7.4 ...
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.
...
1
vote
0answers
24 views
When I install a custom component, language is installed but jomla not detect
That's the structure to a custom component.
The installation is OK, but Joomla don't detect the languages that I have to that component.
That is the structure to my xml file.
2
votes
1answer
419 views
Homepage is redirecting to Spanish even though site default language is English (303 redirect incorrect)
My client's site http://antoniniandcohen.com is automatically redirecting to /es/ rather than /en/ on the homepage, despite the fact that the site default language is English.
I'm not an expert in ...
1
vote
1answer
307 views
Joomla Search Result Article Text Length: Text is truncated in strange places
I am using the Joomla Search module with a Menu Item pointed to '/search'. When a search is performed, the results list a linked title, a snippet, category and the created date.
The snippet is ...
0
votes
2answers
309 views
Customize User Account Approved Email
I'm new to Joomla and I'm taking over some other person's previous work.
I'm trying to change the wording of the email that a new user receives after they've verified their email and the ...
1
vote
1answer
241 views
Updating component language file without reinstalling it
I'd like to construct a script that imports an XLIFF file and updates the INI language files of our component. However, it seems that the language won't be updated unless the component is fully ...
1
vote
2answers
725 views
Multilanguage component, language is not loaded by manifest
I am trying to create a component. I have the following manifest file:
<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.4" method="upgrade">
<name>...
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....
3
votes
2answers
355 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
2answers
77 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#...
0
votes
1answer
51 views
Spanish language of my custom component is not working
I have created English and Spanish language file for my Joomla component but when I trying to change Joomla default language then my Spanish language file not working or not overwrite . Please give me ...
1
vote
0answers
160 views
How I can load a sys.ini language file
I need in an own system plugin some language values from a sys.ini language file.
I could only found this way to load the normal .ini file:
$language = JFactory::getLanguage();
$language->load('...
2
votes
1answer
61 views
Combine Languages with Different Region Code
I'd like to set up a multi-language Joomla site. I don't want to go as far as providing multiple flavors of e.g. English or Portuguese, and I don't want to require users from all English speaking ...
0
votes
3answers
291 views
Joomla! 3.6.2 Template Purity III Layout Glossary - second alphabet ordering
I'm on Joomla! 3.6.2 with Purity III template (JA).
I try to use the glossary layout with Cyrillic alphabet but the php doesn't check the language and puts the articles in alphabet order only in ...
1
vote
1answer
1k views
joomla 3.6 admin language won't change
http://www.weiwei-tv.com/scroll.php
As the video shows, I go to language->installed->administration and change the default language to en-US, although the message is in English, the menu items won't ...
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
42 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
488 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::_('...
0
votes
1answer
59 views
Creating href links pointing to the associated article in the other language
I want to create a href link in my Joomla articles pointing out to the one which is associated with its one. I used to copy an old article and edit its content its time. So I ask if there is any ...
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" ...
3
votes
3answers
450 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)....
2
votes
2answers
71 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 ...
0
votes
2answers
68 views
Language Prefix URL also for files possible?
I got one question. I have setted up a multilanguage site and all is working great. Expect one thing (maybe its not possible):
I got working links for the content like:
http://www.domain.de/en/link
...
1
vote
1answer
64 views
Localization Questions
I have some questions about localization for plugins and components. I've searched around on the Joomla site, and didn't see an answer. I thought I'd try to avoid an archeological expedition through ...
3
votes
1answer
423 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 ...
1
vote
2answers
1k views
Component language file is coppied but does not work
I am just trying to create backend component and I can't get the language file to work.
This is my xml manifest (the important part):
<media destination="com_displaygroups" folder="media">
&...