Adding missing string translations

Adding missing string translations

by Jelena Terzic -
Number of replies: 9

Hi, 

We're using themes Adaptable and Essential in Moodle 3.5

We installed the French language pack, but there are several translations missing, so we are still seeing some English words.

What would be the easiest way to add the missing translations? Seems that they can't be added through the UI as string identifiers are missing in the French language pack.

Thanks!

Jelena

Average of ratings: Useful (1)
In reply to Jelena Terzic

Re: Adding missing string translations

by Séverin Terrier -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Hi Jelena,

The first thing to do is to go to the respective pages with Adaptable translations and Essential translations, and from them, you can go to the dedicated translation pages in AMOS (after login there), to put your translations in (coherent with existing ones).

Once done, it will be approved by the French maintener, and integrated in the main french language pack, and available in your site (and all other people in the community), after (automatic) upgrading of the language pack smile

HTH,
Séverin

Average of ratings: Useful (4)
In reply to Jelena Terzic

Re: Adding missing string translations

by Michael Milette -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Jelena,

If you don't see the string identifiers in AMOS, chances are that the strings are hard coded in the theme. You may need to contact the authors to have them fix it.

You can reveal the source of the strings by going into Site Administration -> Debugging adding a checkmark to Show Origin of Language Strings and saving. Then add either ?strings=1 or, if there is already a question mark in the URL, &strings=1 to reveal the origin of all the strings in the page. Note that the string parameter must appear before any hash tag (#).

Don't forget to turn this off when you are finished using this feature.

Best regards,

Michael Milette
Average of ratings: Useful (5)
In reply to Michael Milette

Re: Adding missing string translations

by Séverin Terrier -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators
Hi,

Just worth to note that some strings identifier are not shown, like for content of pulldown lists.
I'm nearly sure they are other cases, but don't remember which ones exactly...

Séverin
Average of ratings: Useful (1)
In reply to Jelena Terzic

Re: Adding missing string translations

by Germán Valero -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

There are 1194 English language strings inside the current version of the Adaptable plugin, and 93% have been translated into French.

You can contribute with some of the missing translations.

The French language pack maintainers are very friendly, efficient and smart folks, and they will most likely appreciatte if you can help them with grammatically and textually correct translations.

If you can include screen images of the French-course-pages with the untranslated English words, someone can then easily diagnose wether the cause of your issues are missing AMOS translations or hard-wired strings.

Average of ratings: Useful (2)
In reply to Jelena Terzic

Re: Adding missing string translations

by Jelena Terzic -
Thanks everyone for your helpful suggestions!
In reply to Jelena Terzic

Re: Adding missing string translations

by Séverin Terrier -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators
Hi Jelena,

I think this discussion is very interesting, because you have 4 answers, from 4 different people, with 4 different aspects of plugins translation, so that everything is covered smile

Now it's up to you to do (part of) the work, and/or to provide more precise information wink

Séverin
Average of ratings: Useful (2)
In reply to Séverin Terrier

Re: Adding missing string translations

by Ali Alhaidary -
Thank you, Who should be contacted if missing strings are found that are not in the language pack (not in AMOS)? as I already took a creen shot in debug mode for them.
In reply to Ali Alhaidary

Re: Adding missing string translations

by Séverin Terrier -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators
Hi Ali,

If it's :
  • a plugin, the plugin developer
  • a core Moodle component, you should post on dedicated component's forum, and (or) create a tracker item for that
Séverin
Average of ratings: Useful (1)