How are the statistics of plugin translation in the plugin directory calculated?
回复Muhamad Ismuaji Prajitno
Re: How Plugin Translations Statistics Calculated in Plugin Directory
回复Mary Cooch
Re: How Plugin Translations Statistics Calculated in Plugin Directory
回复Muhamad Ismuaji Prajitno
Re: How Plugin Translations Statistics Calculated in Plugin Directory
回复Marcus Green
Re: How Plugin Translations Statistics Calculated in Plugin Directory
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?
回复Marcus Green
Re: How Plugin Translations Statistics Calculated in Plugin Directory
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
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
回复Muhamad Ismuaji Prajitno
Re: How Plugin Translations Statistics Calculated in Plugin Directory
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 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
HTH,
Séverin
回复Séverin TERRIER
Re: How Plugin Translations Statistics Calculated in Plugin Directory
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.
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.
回复Muhamad Ismuaji Prajitno
Re: How Plugin Translations Statistics Calculated in Plugin Directory
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
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
回复Muhamad Ismuaji Prajitno