Page MenuHomePhabricator

Lingua Libre interface : allow to translate all
Open, LowPublicBUG REPORT

Description

Some part of the website are not translatable. For example, the buttons "Done" and "Cancel" of the popups that show up in the Record Wizard are not translatable. Other non-translatable strings probably also exist elsewhere on the website.

Event Timeline

Another example in the Preferences menu, the banne "Lingua Libre is in open beta. Be aware that bugs can still occur. Please share your feedback here !" appears in English while all the rest of the interface is in French (in my case).

Pamputt changed the subtype of this task from "Task" to "Bug Report".Oct 6 2020, 8:29 PM
Yug renamed this task from Allow to translate all the Lingua Libre interface to Lingua Libre interface : allow to translate all.Feb 15 2021, 3:43 PM

There is also this page (https://lingualibre.org/wiki/Special:Log/remoteupload) where we cannot translate (I did not find where) the sentence "These events track when someone upload a file to the remote wiki using OAuth."

That's said, it would be useful to be able to translate "Remote upload log" as well (like for the other logs)

And also be able to translate the log message such as

2 mars 2021 à 19:41 Pamputt (discussion | contributions | bloquer) has uploaded a file to the remote wiki: File:LL-Q150 (fra)-Pamputt-fuselage.wav

There is also the "Loading" message that appears when a SPARQL query is loading.

Screenshot_20210303_184843.png (209×1 px, 23 KB)

The popup explaining the keyboard shortcuts is displayed only in French

Screenshot_20210304_072741.png (817×1 px, 89 KB)

I did not find any place where to translate these strings. It seems they are hardcoded in the studio.mustache file.

I just provided a PR on GitHub (lingua-libre/RecordWizard#7) to make the texts in the "keyboard shortcuts popup" translatable.

I have no idea about how TranslateWiki works -- please answer to my questions on the PR.
Aside from this, I consider this PR "safe" enough. Once the questions about TranslateWiki are answered, merging it shouldn't cause any issues. However, it will require an "update" from Michaël. So we might have to wait until LL's update to MW 1.35 before seeing this live!

In the new version of the website (April 2021), there is a string in the user preferences that is not translated; it is

Account data:My account data from this project

I did not find where it is possible to translate this string.

Does someone know how to enable translations in javascript gadget such as Gadget-ExternalTools.js, so that it is possible to translate "This is not an allowed URL... It should link to PetScan or Wikidata Query." and so on?

In the new version of the website (April 2021), there is a string in the user preferences that is not translated; it is

Account data:My account data from this project

I did not find where it is possible to translate this string.

Hello @Pamputt and @Poslovitch ,

These 2 expressions are already translated into French.
Cordially

Indeed, so it is probably related to T269885.

Indeed, so it is probably related to T269885.

Dear @Pamputt,
You went quickly for the reply ... a Sunday hihihi! I checked and spotted the problem I wanted to fix myself. However, I didn't have time to add more info. So yes and no, this is the translation of the version of MW. The translation on Translatewiki is made for MediaWiki 1.37.0-alpha, as shown. The first translation available for this is on MW 1.36 and LiLi's version is 1.35.2, basically.

In summary, if you search for the term prefs-user-downloaddata-label on 1.37.0-wmf.1, it is there. However, if you do the same search here (LiLi version), you won't find anything.

Eihel triaged this task as Low priority.May 2 2021, 9:43 AM
Dans T215055#6875890, @Pamputt a écrit :

There is also this page (https://lingualibre.org/wiki/Special:Log/remoteupload) where we cannot translate (I did not find where) the sentence "These events track when someone upload a file to the remote wiki using OAuth."

That's said, it would be useful to be able to translate "Remote upload log" as well (like for the other logs)

And also be able to translate the log message such as

2 mars 2021 à 19:41 Pamputt (discussion | contributions | bloquer) has uploaded a file to the remote wiki: File:LL-Q150 (fra)-Pamputt-fuselage.wav

It is possible to translate the remote upload log messages from several Mediawiki message (for French):

  • MediaWiki:Log-name-remoteupload/fr‎
  • MediaWiki:Log-description-remoteupload/fr‎
  • MediaWiki:Logentry-remoteupload-stashedfile/fr‎‎
  • MediaWiki:Logentry-remoteupload-file/fr‎

All the Mediawiki messages to translate are listed here.

We should add such information on https://lingualibre.org/wiki/Help:Translate

Dans T215055#7031318, @Pamputt a écrit :

Does someone know how to enable translations in javascript gadget such as Gadget-ExternalTools.js, so that it is possible to translate "This is not an allowed URL... It should link to PetScan or Wikidata Query." and so on?

It seems that it possible to do something similaire to what is done with "mwe-recwiz-nearby-limit" in the same code so that it can be translated on Translatewiki. I feel not confident to do it by myself.