Timeline for Joomla 4 extension language files no longer go to 'site/languages/en-GB' when install via discovery
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 13, 2021 at 23:53 | comment | added | Patrick Jackson | @thednp sorry to not reply sooner. If the files are listed in the installation manifest then it installs them both on regular install and discover install. Discover install is basically finding that there's an extension available and then runs the installation based on it's manifest.xml file. | |
Sep 14, 2021 at 9:37 | comment | added | thednp |
I solved the problem. It was in my code a hard coded language setting Factory::getLanguage()->load('plg_editors-xtd_myplugin', JPATH_ADMINISTRATOR, $lang->getTag(), true); . Basically was trying to get an editors-xtd plugin language file into a content plugin, but I figured another way around.
|
|
Aug 31, 2021 at 14:48 | comment | added | thednp |
Thanks for the time to write an answer, however it won't help with my custom Editor Button, it will still show "PLG_EDITORSXTD_PLUGIN_NAME_EDITOR_BUTTON" unless I copy the files to administrator/language/en-GB/ folder. So I need to know: does Joomla 4 copy these files automatically on "regular install"? Does the "discover install" require manual copy of the language files to the above folder? Thanks
|
|
Aug 3, 2021 at 14:04 | history | answered | Patrick Jackson | CC BY-SA 4.0 |