Page MenuHomePhabricator

Document the Toolhub locale selection and translation process and it's connection to UI visible strings
Open, LowPublicBUG REPORT

Description

Original title: I18n working only partially or not at all for some languages

If you navigate to the home page and change languages, or just navigate directly to the specific language version, you get different results depending on the specific locale. The problem persists after a page reload.

Examples:

  • Français (French): All good.
  • Svenska (Swedish): Parts of the page are in English, including "Crawler history" (but no other items) in the navigation sidebar.
  • Nederlands (Dutch): No translation, everything is still in English.

This issue is not limited to the home page, at least for the languages mentioned above, e.g. Swedish is inconsistently translated across the whole site.

This is not the same issue as [[ T296283 | T296283 ]], where the problem of inconsistent translation of a view is solved by reloading the page.

Event Timeline

Slst2020 updated the task description. (Show Details)
Slst2020 added subscribers: Raymond_Ndibe, bd808.

This is expected behavior. We provide language selection based on a list of known languages and not on translation completion. When rendering messages in the chosen locale we use a cascading fallback system where messages are looked for in the exact locale, then any configured fallback locales, and finally use the English source message if necessary. The upstream dashboard at https://translatewiki.net/wiki/Special:MessageGroupStats/toolhub?group=toolhub&suppressempty=1&x=D#sortable:3=desc shows what percentage of translation has been done for each language by the TWN community.

There is nothing to fix here from the technical side, but I can easily imagine that @Slst2020 will not be the last person to wonder why when choosing language X from the selector they see only partial translation or even no translation of the UI. We should document this "feature" of the localization implementation in the user help information at https://meta.wikimedia.org/wiki/Toolhub. It may even help us recruit more translators to help with the project on TWN.

bd808 renamed this task from I18n working only partially or not at all for some languages to Document the Toolhub locale selection and translation process and it's connection to UI visible strings.Thu, Dec 2, 11:00 PM
bd808 triaged this task as Low priority.
bd808 moved this task from Research needed to Groomed/Ready on the Toolhub board.
bd808 updated the task description. (Show Details)