How Plugin Translations Statistics Calculated in Plugin Directory

How Plugin Translations Statistics Calculated in Plugin Directory

by Muhamad Ismuaji Prajitno -
Number of replies: 9

How are the statistics of plugin translation in the plugin directory calculated?

Plugin translations statistics

რეიტინგების საშუალო: -
In reply to Muhamad Ismuaji Prajitno

Re: How Plugin Translations Statistics Calculated in Plugin Directory

by Mary Cooch -
Documentation writers სურათი Moodle HQ სურათი Particularly helpful Moodlers სურათი Testers სურათი Translators სურათი
Hello there. Just moving your post to the Plugins traffic forum for more specialised assistance.
რეიტინგების საშუალო: -
In reply to Muhamad Ismuaji Prajitno

Re: How Plugin Translations Statistics Calculated in Plugin Directory

by Marcus Green -
Core developers სურათი Particularly helpful Moodlers სურათი Plugin developers სურათი Testers სურათი
In reply to Marcus Green

Re: How Plugin Translations Statistics Calculated in Plugin Directory

by Muhamad Ismuaji Prajitno -
Thanks. Can you explain more about it? I really appreciate it I've read it but still not 100% what is for. As far as I understand, the statistics are calculated based on the number of translation resources that have been translated into several languages for the Moodle language pack. So, what is the difference with the translation resources that are already available in the Moodle plugin directory?
რეიტინგების საშუალო: -
In reply to Marcus Green

Re: How Plugin Translations Statistics Calculated in Plugin Directory

by Muhamad Ismuaji Prajitno -
Could you please clarify my understanding below is it correct purpose or not ?

Moodle language pack is the translation version that already improved by translation contributor. This because we not 100% possible to make 100% correct translation in various languages. That’s why we need contributor. So for example if we already has Arabic translation resource in the Moodle Plugin. And in the Moodle language pack there is Arabic translation for the plugin which is this improved translation version by contributor. When Moodle user download language pack and install to their Moodle. It will replace the original translation resource in Moodle plugin with what inside language pack
რეიტინგების საშუალო: -
In reply to Muhamad Ismuaji Prajitno

Re: How Plugin Translations Statistics Calculated in Plugin Directory

by Séverin TERRIER -
Documentation writers სურათი Particularly helpful Moodlers სურათი Testers სურათი Translators სურათი
Hi Muhamad,

In fact, once your plugin is officially included in Moodle plugin database, it should NOT contain translations anymore, and translations should be move to AMOS. The percentage of translation is based on what is translated in AMOS (only), not files included in the plugin (because they should not).

See instruction in plugin contribution checks about language and detailed explanation here (more then 10 years, but still applicable).
 
In short : include your translations into the plugin before the plugin is officially validated in the database, then move translation to AMOS and maintain them in AMOS only.
 
And when your plugin creates new strings, publish your new plugin version, wait that AMOS includes them (should be quick), and then translate them in AMOS.

HTH,
Séverin
რეიტინგების საშუალო: Useful (4)
In reply to Séverin TERRIER

Re: How Plugin Translations Statistics Calculated in Plugin Directory

by Muhamad Ismuaji Prajitno -
Thanks a lot for the answer Severin, that new information for me.

My next question is about translation files that are already included in the plugin. What happens with those files? Those files can still used right when users install the plugin right? Because as usual flow when I install plugin with contains translation files. When I use this plugin, it will show the correct translated caption based on my Moodle language setting.
რეიტინგების საშუალო: -
In reply to Muhamad Ismuaji Prajitno

Re: How Plugin Translations Statistics Calculated in Plugin Directory

by Séverin TERRIER -
Documentation writers სურათი Particularly helpful Moodlers სურათი Testers სურათი Translators სურათი
Hi again Muhamad,

I'm not sure i've well understood your question, so pardon me if my answer is not really useful for you.

As explained in the link on my previous post, when plugin is in Moodle plugin database, translations should be removed from inside plugin files, and transfered in AMOS, and then updated only in AMOS after that.

Language packs include files for all plugins existing in Moodle plugin database, so even if you install a new plugin, and don't update your language pack, translation will be available.

HTH,
Séverin
რეიტინგების საშუალო: -
In reply to Muhamad Ismuaji Prajitno

Re: How Plugin Translations Statistics Calculated in Plugin Directory

by David Mudrák -
Core developers სურათი Documentation writers სურათი Moodle HQ სურათი Particularly helpful Moodlers სურათი Peer reviewers სურათი Plugin developers სურათი Plugins guardians სურათი Testers სურათი Translators სურათი

Moodle uses both translations - the ones that ship with the plugin as well as those coming from AMOS. If a string is translated in both places, the AMOS version takes precedence.

რეიტინგების საშუალო: Useful (3)