Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Translating plugins: Difference between revisions

From MoodleDocs
(translation template. category, 'Looking for translated plugins in the Moodle plugins database' moved from Translation)
 
(Non-translatable strings moved from Translation)
Line 21: Line 21:
* Please help Moodle users in other languages by translating your favourite plugins :)
* Please help Moodle users in other languages by translating your favourite plugins :)
* You can find the plugins with the largest number of downloads in the last year (or in the last two months) at [https://moodle.org/plugins/stats.php https://moodle.org/plugins/stats.php]. These are the plugins most likely to be most useful when translated to your language. It would probably be a good idea to translate them first.
* You can find the plugins with the largest number of downloads in the last year (or in the last two months) at [https://moodle.org/plugins/stats.php https://moodle.org/plugins/stats.php]. These are the plugins most likely to be most useful when translated to your language. It would probably be a good idea to translate them first.
==Non-translatable strings==
While AMOS does a great job for translating the Moodle core and most Moodle plugin language strings, some English language strings are (as of July 2013) not yet available for translation with AMOS.
The plugins classified as '[https://moodle.org/plugins/browse.php?list=category&id=38 Other] ' are not translatable by AMOS (see [http://lang.moodle.org/mod/forum/discuss.php?d=3113 this forum thread]). You can use the [[:en:Language customization|language customization]] tool within your Moodle (production or local) server to produce the .php file cointaining the translated language strings for your language and email this file to the particular 'other' plugin maintainer, so that it can be included in the lang folder within the downloadable Zip file for the plugin.


[[Category:Plugins]]
[[Category:Plugins]]

Revision as of 14:09, 28 July 2014

Looking for translated plugins in the Moodle plugins database

  • According to http://lang.moodle.org/mod/forum/discuss.php?d=2485, almost all contributed plugins published in Moodle Plugins directory have been imported into AMOS and are ready to be translated.
  • When a user is looking at the Moodle plugins database, in ' Description tab > Useful links section' there is a link to 'Contribute translation for (your preferred language)' that points to AMOS.
  • Have a look at an example for the very popular HotPot plugin:

Link to Plugin translations in Moodle plugins database.png

  • You can click on the 'Contribute translation for (your preferred language)' link.
  • CURRENTLY: If you do not have an account in AMOS, you would have to 'Create a new account' by using the appropriate link.
  • If you have a translator account at AMOS, you can use AMOS to contribute a translation.
  • If the user then selects all the language packs (except English fixes) and writes 'pluginname' in the box for 'String identifier', AMOS will display the name of the plugin in all available translations.
  • Make sure that you have selected the Moodle branch(es) that you are interested in (eg, 2.5 in the image below).

Plugins translations in AMOS.png

  • In the above example, there are a total of 123 different language packs registered in AMOS; 63 of these are missing a translation for HotPot, which means that there are 60 different language translations already available for the HotPot plugin, a fair number for this popular plugin :)
  • When no translation is available for any/many language(s), the box named 'Translation' will be empty for those languages.
  • If a plugin name has been translated, there is a fair chance (but no certainty) that this plugin has been (completely) translated into that language. You can change the settings in AMOS and check for yourself.
  • Please help Moodle users in other languages by translating your favourite plugins :)
  • You can find the plugins with the largest number of downloads in the last year (or in the last two months) at https://moodle.org/plugins/stats.php. These are the plugins most likely to be most useful when translated to your language. It would probably be a good idea to translate them first.

Non-translatable strings

While AMOS does a great job for translating the Moodle core and most Moodle plugin language strings, some English language strings are (as of July 2013) not yet available for translation with AMOS.

The plugins classified as 'Other ' are not translatable by AMOS (see this forum thread). You can use the language customization tool within your Moodle (production or local) server to produce the .php file cointaining the translated language strings for your language and email this file to the particular 'other' plugin maintainer, so that it can be included in the lang folder within the downloadable Zip file for the plugin.