New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4] - Move JHELP strings too separate files #35418
Conversation
I think we should rather look into removing the need for them in the first place, before we move them around and do nasty workarounds. |
I'm not a developer, so I'm not going to play around in that area. Edit: The strings are used in the code. |
the api file is not needed. the strings were only there to keep the two joomla.ini in sync. now that they are in their own file you can just delete the new api/joomlahelp.ini |
As explained by @brianteeman
As requested by Hleithner
If the only way is to add a specific ini file, it should be loaded whatever the language and totally independent from the language packs. I would place that help file in |
I've started a PR to show how the strings could replaced by hardcoded keys. At least for most of the strings that would work easily. Opinions welcome. I could at least reduce the strings. Maybe even eliminate all. |
We have 3 PRs thanks to @Bakual which fix it in a more Core way. |
Pull Request for Issue #35416
Summary of Changes
The JHELP language strings within Administrator and API are moved to their own files.
These strings should not be translated, while the rest of the string in the file are needed to be translated.
Having them in their own files, makes it possible to ignore the strings completely in the translation flows and decrease the risk of breaking the Help Server within the Administrator.
Now the help screens are broken in the various languages, because the strings are translated, as they are made available for that purpose, while not needed.
Testing Instructions
Check if the strings are still loaded in the Joomla Administrator help pages.
Actual result BEFORE applying this Pull Request
The language strings are used within the help pages to buildup the URLs.
Expected result AFTER applying this Pull Request
The language strings are still used within the help pages to buildup the URLs.