Project

General

Profile

Actions

Task #3737

closed

Changes to languages other than English are not stored

Added by Heiko Tietze 14 days ago. Updated 1 day ago.

Status:
Closed
Priority:
High
Target version:
-
Start date:
Due date:
% Done:

0%

Tags:

Description

The extension "ESKD Templates" [1] has a variant in Russian but a) I see no clear way to switch languages, and b) using /ru/ instead /en/ [2] the title is missing. Hope that's not caused by the Cyrillic characters.

[1] https://extensions.libreoffice.org/en/extensions/show/shablony-dokumientov-ieskd-dlia-sapr-kicad
[2] https://extensions.libreoffice.org/ru/extensions/show/shablony-dokumientov-ieskd-dlia-sapr-kicad


Files

Screenshot from 2024-04-24 18-58-27.png (163 KB) Screenshot from 2024-04-24 18-58-27.png New Localisation tab without actions Juan José González, 2024-04-25 03:23
Screenshot from 2024-04-24 18-59-40.png (135 KB) Screenshot from 2024-04-24 18-59-40.png Juan José González, 2024-04-25 03:24
Screenshot from 2024-04-24 19-02-49.png (226 KB) Screenshot from 2024-04-24 19-02-49.png Juan José González, 2024-04-25 03:38
Screenshot from 2024-04-24 19-03-11.png (251 KB) Screenshot from 2024-04-24 19-03-11.png Juan José González, 2024-04-25 03:38
Actions #1

Updated by Heiko Tietze 12 days ago

  • Subject changed from Title with Cyrillic text missing to Changes to languages other than English are not stored
  • Assignee set to Juan José González
  • Priority changed from Normal to High

Obviously it affects also other parts of the submission. In fact, changes to the alternative language, here /ru, are not stored.

Actions #2

Updated by Juan José González 8 days ago

Hello Heiko,

I've been reading about the module we use to localise the site and as a first step I would like to update the module to use the newest utilities. That will cause some changes mainly for admins.

There are some changes to publish the extensions, you could go to Localisation tab and publish language by language:

or to mimic what happens right now, *click in Localisation button and 'Save & Publish (all locales)' *

For extension publishers it only add a new tab 'Localisation' with no actions.

New Localisation tab without actions

Also in versions, at the bottom of the page

Everything is basically the same.

Actions #3

Updated by Heiko Tietze 8 days ago

Looks promising.

How about the lang indicators on top? Thought there was a ticket but cannot find it.

Actions #4

Updated by Juan José González 7 days ago

could you remind me what was about?

Actions #5

Updated by Heiko Tietze 7 days ago

With the current language dropdown it is hard to understand what languages are used. The idea was to have the buttons [EN] [FR] [DT] [RU]... next to each other and enable per click / indicate per color.

Actions #6

Updated by Juan José González 1 day ago

I can tell that the all the locale thing is gonna take many tickets so I will create a separate ticket for the button you mention and put it under a tag, so we can classify all the needed work for proper localization.

I have created #3745 and #3746 to follow the progress of this work.

Actions #7

Updated by Juan José González 1 day ago

I updated to the latest fluent module, now we can work with the latest and better codebase to improve localization of the website.

Docs for developers (including me in the future):

During the process to update the extension, some classes were removed and other methods were added as part of extensions to classes in the framework, particularly a new method for Member.

After composer update and sake dev/build "flush" cache was not clear, so the website was still trying to use all signatures of the classes, for example FluentBadge (something like that) was missing, because the class was removed and cache was still trying to find it.

I could not clear cache, so what I did was to modify the code in vendor/ to not use the problematic pieces of code and then clear cache using the special url. After cleaning cache I remove my patches, clear cache again and now eveything is wokring.

Actions #8

Updated by Juan José González 1 day ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF