Using AMOS tool for language pack translation

Plugins with coding errors, whose strings are not available in AMOS

 
Picture of German Valero
Plugins with coding errors, whose strings are not available in AMOS
by German Valero - Friday, 7 September 2018, 2:03 AM
Language pack maintainers

I have encountered a few newly created plugins that have coding errors that cause AMOS to  fail to recognize the English language strings and therefore fail to host the English language strings in AMOS, as described in the documentation.

Some of these errors are easy to spot and I have been able to contact the plugin author to have it fixed. Some of these errors are not easy to spot (for a non-programmer such as myself), and need the help from a skilled (and over-worked) programmer such as David Mudrak smile


Would it be too difficult or time-consuming to add an automatic  code check for this when a programmer submits a new or updated plugin for Moodle ? Would this be worth making a tracker issue ?


Or, better still, are there any AMOS translators, proficient as programmers, and willing to check these few hard-to-detect-where-the-problem-is plugins? Maybe they could be given a kind of 'plugin improver'  badge smile

Picture of David Mudrák
Re: Plugins with coding errors, whose strings are not available in AMOS
by David Mudrák - Friday, 7 September 2018, 3:00 PM
Language pack maintainers

It is also on my todo list to improve the language string parser in AMOS so that it would be more benevolent to alternative syntax. Especially the concatenation operator.

On the other hand, maintainers are always informed when they release a new version of the plugin that can't be registered with AMOS. And the problematic line number is reported, too.

Picture of German Valero
Re: Plugins with coding errors, whose strings are not available in AMOS
by German Valero - Friday, 7 September 2018, 9:16 PM
Language pack maintainers

Thanks David,

It is very good to see that you keep on improving AMOS tools.