User tests: Successful: 0 Unsuccessful: 0
In the Language Code plugin it is possible to change the code used for a specified language. eg fr-FR can be changed to fr-CA
However everywhhere in the admin that associations are displayed it uses the original code and not the changed code.
This PR is a "takeover" of the original PR #37289 created by @infograf768
That PR has merge conflicts and @infograf768 is now retired.
See the original PR for more screenshots
Create a multilingual site.
Enable the languagecode system plugin and give a new lang tag value for a language.
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_associations com_categories com_contact com_content com_menus com_newsfeeds Modules |
Labels |
Added:
Feature
PR-5.3-dev
|
The feature maybe is good and usefull.
However the implementation is questionable, because hardcoding if (PluginHelper::isEnabled('system', 'languagecode'))
everywhere promisses a loot of fun bugs.
Need to look for a better way of doing the same, maybe some extra event, or kind of that.
@brianteeman will it work if instead of en-GB
i just use en
?
in your screenshots it is shown only for language+country
codes.
@brianteeman will it work if instead of
en-GB
i just useen
? in your screenshots it is shown only forlanguage+country
codes.
yes but then then language code wont work as intended.
I have tested this item ✅ successfully on 8ccef0c
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44551.