Task #3265
closedLocalized extension contents is not shown. Only EN version is.
0%
Description
Hello,
when an extension maintainer enters 2 versions of the description text, only the EN one is visible, even if the browser and OS are in the localized language. The consequence is that a non-EN native browsing the extensions can't read the description in his/her language.
Or did I miss something?
Best
Updated by Heiko Tietze over 4 years ago
- Assignee set to Christian Lohmaier
Do you have an example? Would be good to solve it with rdm##3260
Updated by Jean-Francois Nifenecker over 4 years ago
Yes, I've got 3 of them: all the ones I'm currently maintaining, that is:
-- StylesReporter : https://extensions.libreoffice.org/admin/extensions/LibreOffice-Extensions-Extension/EditForm/field/LibreOffice-Extensions-Extension/item/875/edit?gridState=%7B%22GridFieldSortableHeader%22%3A%7B%22SortColumn%22%3A%5B%5D%7D%2C%22GridFieldFilterHeader%22%3A%7B%22Columns%22%3Anull%7D%2C%22GridFieldPaginator%22%3A%7B%22currentPage%22%3A1%2C%22itemsPerPage%22%3A15%7D%7D
-- UserFieldsMgr : https://extensions.libreoffice.org/admin/extensions/LibreOffice-Extensions-Extension/EditForm/field/LibreOffice-Extensions-Extension/item/878/edit?gridState=%7B%22GridFieldSortableHeader%22%3A%7B%22SortColumn%22%3A%5B%5D%7D%2C%22GridFieldFilterHeader%22%3A%7B%22Columns%22%3Anull%7D%2C%22GridFieldPaginator%22%3A%7B%22currentPage%22%3A1%2C%22itemsPerPage%22%3A15%7D%7D
-- ODF2PDF : https://extensions.libreoffice.org/admin/extensions/LibreOffice-Extensions-Extension/EditForm/field/LibreOffice-Extensions-Extension/item/886/edit?gridState=%7B%22GridFieldSortableHeader%22%3A%7B%22SortColumn%22%3A%5B%5D%7D%2C%22GridFieldFilterHeader%22%3A%7B%22Columns%22%3Anull%7D%2C%22GridFieldPaginator%22%3A%7B%22currentPage%22%3A1%2C%22itemsPerPage%22%3A15%7D%7D
Thanks!
Updated by Heiko Tietze over 4 years ago
- Priority changed from Normal to High
English https://extensions.libreoffice.org/en/extensions/show/875
French https://extensions.libreoffice.org/fr/extensions/show/875
Switching the language in the admin area shows the localized description while the pages fr and en both are in English.
(Can we keep the page title and do the data exchange somehow internally?)
Updated by Jean-Francois Nifenecker over 4 years ago
I'm afraid I didn't understand what you mean. Whichever LibreOffice web site I use, I get the EN version and so would FR users.
I didn't find an obvious mean to associate the FR description with the fr LibreOffice website on the extension administration page.
Did I miss something?
Updated by Sophie Gautier over 4 years ago
Just for information, if you add Français and a tag, you got the FR parts as in https://extensions.libreoffice.org/?q=Fran%C3%A7ais&action_doExtensionSearch=Search
Updated by Heiko Tietze over 4 years ago
Sophie Gautier wrote:
Just for information, if you add Français and a tag, you got the FR parts as in https://extensions.libreoffice.org/?q=Fran%C3%A7ais&action_doExtensionSearch=Search
But in this case you run a query with "Français". And I guess it's not the same as translation, which should also show the respective description if available.
@JFN: Your links share the page while in edit mode. See the /en/... vs /fr/... in my comment. But I might be wrong, Cloph knows best what should happen.
Updated by Jean-Francois Nifenecker about 4 years ago
Heiko Tietze wrote:
Sophie Gautier wrote:
Just for information, if you add Français and a tag, you got the FR parts as in https://extensions.libreoffice.org/?q=Fran%C3%A7ais&action_doExtensionSearch=Search
But in this case you run a query with "Français". And I guess it's not the same as translation, which should also show the respective description if available.
@JFN: Your links share the page while in edit mode. See the /en/... vs /fr/... in my comment. But I might be wrong, Cloph knows best what should happen.
Any progress here? I don't understand the way i18n works WRT extensions descriptions.
Thanks,
Updated by Christian Lohmaier about 4 years ago
- Target version changed from Q3/2020 to Q4/2020
We're still in a situation where most extensions are just having the imported content from the old site, and extensions with localized content are still the rare exception, that's why there's no global langauge selection dropdown, as that would then lead to "I selected <language>, but still everything is in English" comments.
So how localization works is by the URL prefix - if you use extensions.libreoffice.org/fr → you'd get French versions of the entries (if those exist, otherwise it will fallback to English, and this is what in effect happens for ~all entries - there just isn't localized entries for the vast majority of entries).
As for why your extensions don't appear in French: seems like there is no actual French translation?
for an example: https://extensions.libreoffice.org/pt-BR/extensions/show/1 → Portoguese (Brazil) translation of https://extensions.libreoffice.org/en/extensions/show/1
once there's a bigger number of translations we can enable browser auto-detection to have it redirect to the corresponding language URL, but at this point I don't think it makes much sense.
what I'll do as a short-time solution in the meantime is to add language links for individual extension entries if a translation is available.
Updated by Jean-Francois Nifenecker almost 4 years ago
Hi Christian,
strangely, in a given extension description, some contents appear in the localized language, while most of the text is EN.
This is visible here (to my FR Firefox and OS): see https://extensions.libreoffice.org/en/extensions/show/875
In the Release list, v0.7.0 comments appear in FR. The remainder is EN.
Best,
Updated by Christian Lohmaier almost 4 years ago
- Target version changed from Q4/2020 to Q1/2021
Updated by Christian Lohmaier almost 4 years ago
- Due date set to 2021-04-25
- Priority changed from High to Normal
no bug in the platform - it is just that French text has been entered in the English/default language section, so it still displays "English" contents as to what the system is concerned, but the English content contains French words....
In any case, I guess we should move forward with making the l10n stuff more prominent
Updated by Florian Effenberger over 3 years ago
- Target version changed from Q1/2021 to Q2/2021
end-April is Q2, bumping target version
Updated by Florian Effenberger over 3 years ago
- Status changed from New to Closed