Using AMOS tool for language pack translation

Unable to import translation into mod/HotQuestion (contrib)

 
Picture of Nadav Kavalerchik
Unable to import translation into mod/HotQuestion (contrib)
by Nadav Kavalerchik - Sunday, 28 October 2012, 7:45 PM
 

I think my local translation file is correct and still... I am unable to import it into AMOS

I am attaching the Hebrew translation file, for import testing purposes

Picture of German Valero
Re: Unable to import translation into mod/HotQuestion (contrib)
by German Valero - Sunday, 28 October 2012, 10:15 PM
Language pack maintainers

Hi,

This may be related to the BRANCH of Moodle you are trying to import to. AMOS accepted your file for the 2.0 and 2.1 branches (they were submitted to maintainers), but there are no strings available for 2.2 and 2.3.

Cheers,

Picture of Nadav Kavalerchik
Re: Unable to import translation into mod/HotQuestion (contrib)
by Nadav Kavalerchik - Sunday, 28 October 2012, 10:57 PM
 

Thanks!

I simply tried to import it and did not even got to the propegate page (where i choose to propage it to some or all branches)

I am a one of the Hebrew translattion team (together with Miki Aliel) and i got your issue by email,

Hope the AMOS maintainer got it too and will fix it, so I could propagate the translation to all branches (as mush as possible, since the strings are not the same) 

Most important are the 2.2 and above branches!

Thanks smile

Picture of German Valero
Re: Unable to import translation into mod/HotQuestion (contrib)
by German Valero - Monday, 29 October 2012, 9:04 AM
Language pack maintainers

Hi,

The problem of strings not being available for 2.2 and 2.3 Moodle versions can ONLY be fixed by the maintainer of the HotQuestion module. ALL languages share the same problem (mine included).

I just wrote a note about it in github tracker .

I hope it helps.

Cheers

Picture of David Mudrák
Re: Unable to import translation into mod/HotQuestion (contrib)
by David Mudrák - Monday, 29 October 2012, 5:04 PM
Language pack maintainers

Correct. As you can see here , the module has its strings registered for 2.0 and 2.1 only in AMOS. The maintainer has not released the module for higher Moodle versions - see here.

There is a plan that AMOS will still generate ZIP packs containing the most recent translation for higher versions. So in this case, language packs for Moodle 2.2, 2.3 and 2.4 would contain hotquestion.php from the 2.1 pack. That would allow admins to use older version of a contributed add-on in higher versions without relying on the maintainer.

Picture of Joseph Rézeau
Re: Unable to import translation into mod/HotQuestion (contrib)
by Joseph Rézeau - Monday, 29 October 2012, 6:16 PM
 

David "There is a plan that AMOS will still generate ZIP packs containing the most recent translation for higher versions. So in this case, language packs for Moodle 2.2, 2.3 and 2.4 would contain [hotquestion.php] from the 2.1 pack. That would allow admins to use older version of a contributed add-on in higher versions without relying on the maintainer."

That would be really useful!

Joseph

Picture of German Valero
Re: Unable to import translation into mod/HotQuestion (contrib)
by German Valero - Monday, 29 October 2012, 11:27 PM
Language pack maintainers

David "There is a plan that AMOS will still generate ZIP packs containing the most recent translation for higher versions. So in this case, language packs for Moodle 2.2, 2.3 and 2.4 would contain [hotquestion.php] from the 2.1 pack. That would allow admins to use older version of a contributed add-on in higher versions without relying on the maintainer."

That is a very good idea, that would be extremely useful for many administrators and translators.

Cheers big grin

Picture of Nadav Kavalerchik
Re: Unable to import translation into mod/HotQuestion (contrib)
by Nadav Kavalerchik - Tuesday, 30 October 2012, 1:49 AM
 

Beautiful idea +1 from me smile

Picture of David Mudrák
Re: Unable to import translation into mod/HotQuestion (contrib)
by David Mudrák - Tuesday, 20 November 2012, 10:45 AM
Language pack maintainers

And it should be implemented now! See MDLSITE-2004 for details. Translators just need to "touch" their language packs somehow (it should be enough to translate a single missing string in some file at 2.0 version of your language) so that AMOS rebuilds ZIP packages. Then, if you download the ZIP from http://download.moodle.org/langpack/ it should contain contributed plugins translated at lower versions, too.

Hope this helps!

Picture of David Mudrák
Re: Unable to import translation into mod/HotQuestion (contrib)
by David Mudrák - Thursday, 22 November 2012, 5:48 PM
Language pack maintainers
Update: all language packs have been re-generated so there is no need to touch the translation now. You can easily check it by downloading the ZIP of your language for Moodle 2.4. Inside the ZIP, you should find translations made on lower versions in AMOS, too (unless there is an explicit translation for 2.4, of course).
Picture of German Valero
Re: Unable to import translation into mod/HotQuestion (contrib)
by German Valero - Friday, 23 November 2012, 1:10 AM
Language pack maintainers

Thanks again David for such an elegant sollution Yes.