Skip to content

Conversation

@coolcat-creations
Copy link
Contributor

Summary of Changes

— Collect overrides for all installed languages (per client) once per load and expose them to the overrides list view.
— Add two columns: Translated (per-language badges for existing overrides) and Not translated (badges to create missing overrides), showing language codes with quick edit/create links.
— Prefill the add form with the source constant/text when creating a missing override via a badge, while preserving filter context on redirects.

grafik

Testing Instructions

  1. Go to index.php?option=com_languages&view=overrides, pick a language/client; ensure the Translated and Not translated columns appear.
  2. Verify Translated shows badges (language codes) for other installed languages where the constant exists; clicking opens the edit form for that language.
  3. In Not translated, click a warning badge; confirm the create form targets that language/client and is prefilled with the source key/text.
  4. Repeat steps 2–3 for both Site and Administrator clients to confirm correct targeting and permissions.

Actual result BEFORE applying this Pull Request

  • Overrides list did not show cross-language status, and creating missing overrides in other languages required manual navigation and data entry.

Expected result AFTER applying this Pull Request

  • Two columns show per-language badges; existing overrides (Translated) link to edit, missing ones (Not translated) link to a prefilled create form for the target language/client.

Link to documentations

  • Documentation link for docs.joomla.org: Happy to provide a documentation when merged!

  • [] No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@joomla-cms-bot joomla-cms-bot added Language Change This is for Translators PR-6.1-dev labels Dec 10, 2025
@coolcat-creations coolcat-creations changed the title J6.1 UX Improvement Show language override associations and quick-create missing overrides. J6.1 UX Improvement Show language override status and quick-create missing overrides. Dec 10, 2025
@brianteeman
Copy link
Contributor

I find the use of the terms Translated/Not Translated confusing as the strings are translated they are just not overriden

@coolcat-creations
Copy link
Contributor Author

I find the use of the terms Translated/Not Translated confusing as the strings are translated they are just not overriden

yes first I used "Associations", but they are not "Associations", so I thought Translated / Not Translated, because in fact if the language keys do not exist in another ini because they are used "custom" they are not translated then. For example you could insert FIELDS_LABEL_TEST into a Fields label and then create language overrides for it.

@coolcat-creations
Copy link
Contributor Author

will check the codestyle!

@webnet-assmann
Copy link

I have tested this item ✅ successfully on 81aebe2

tested successfully with 3 languages for Site and Administrator


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46559.

@brianteeman
Copy link
Contributor

I find the use of the terms Translated/Not Translated confusing as the strings are translated they are just not overriden

yes first I used "Associations", but they are not "Associations", so I thought Translated / Not Translated, because in fact if the language keys do not exist in another ini because they are used "custom" they are not translated then. For example you could insert FIELDS_LABEL_TEST into a Fields label and then create language overrides for it.

but if they do exist then they are already translated they are just not overriden/customised

@brianteeman
Copy link
Contributor

i do see this as a useful improvement

@coolcat-creations
Copy link
Contributor Author

I find the use of the terms Translated/Not Translated confusing as the strings are translated they are just not overriden

yes first I used "Associations", but they are not "Associations", so I thought Translated / Not Translated, because in fact if the language keys do not exist in another ini because they are used "custom" they are not translated then. For example you could insert FIELDS_LABEL_TEST into a Fields label and then create language overrides for it.

but if they do exist then they are already translated they are just not overriden/customised

What about Existing Override / Not Existing Override ? It's a bit long but no other idea right now

@coolcat-creations
Copy link
Contributor Author

Sorry for the wrong Commit Message. The table header are now "Override" and "No Override".

@tecpromotion tecpromotion changed the title J6.1 UX Improvement Show language override status and quick-create missing overrides. [6.1] UX Improvement Show language override status and quick-create missing overrides Dec 12, 2025
@ceford
Copy link
Contributor

ceford commented Jan 3, 2026

I have tested this item ✅ successfully on 6c79b31

Tested for English and French.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46559.

@tecpromotion
Copy link
Contributor

tecpromotion commented Jan 9, 2026

I have tested this item ✅ successfully on 6c79b31

Bildschirmfoto 2026-01-09 um 16 07 32


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46559.

@tecpromotion
Copy link
Contributor

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46559.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Jan 9, 2026
@tecpromotion tecpromotion removed the RTC This Pull Request is Ready To Commit label Jan 9, 2026
@tecpromotion
Copy link
Contributor

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46559.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Jan 9, 2026
@muhme
Copy link
Contributor

muhme commented Jan 9, 2026

@coolcat-creations We have tested it too. It is working and we have a question. If not translated and clicked the warning badge; the create form target is prefilled with the actual language source text. Is it not more useful to have the destination source text presented to override? For example with German override and no override in es-ES:

  • German override JLIB_INSTALLER_ABORT: Himmel Herr Gott nochmal, Sprachinstallation gestoppt: %s
  • Open es-ES badge: German text apears: Himmel Herr Gott nochmal, Sprachinstallation gestoppt: %s
  • ?better? with the es-ES source: Abortando la instalación del idioma: %s

@coolcat-creations
Copy link
Contributor Author

@muhme Clicking an existing override opens the correct source file and the correct source language (since it’s already configured). Clicking a badge where no override exists creates/opens an override in the language you came from.

This is useful because you get the original text as a blueprint right in front of you—including placeholders and potentially tags—so it’s much easier to translate. And if you use a browser plugin that can translate text in a textarea, you can just select the text and translate it into the desired language.

I hope this behavior is accepted.

@muhme
Copy link
Contributor

muhme commented Jan 9, 2026

@coolcat-creations Everything is fine if the actual source text is to be pre-filled. Thank you for the explanation.

@coolcat-creations
Copy link
Contributor Author

Thank you everyone for testing, I am very excited about this feature, it will help to clean some chaos :-)

@tecpromotion tecpromotion added the PBF Pizza, Bugs and Fun label Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Language Change This is for Translators PBF Pizza, Bugs and Fun PR-6.1-dev RTC This Pull Request is Ready To Commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants