Using AMOS tool for language pack translation

Some translated strings don't go to CVS repository

 
Picture of Vanyo Georgiev
Some translated strings don't go to CVS repository
by Vanyo Georgiev - Tuesday, 16 August 2011, 9:36 PM
 

I'm trying to translate the Moodle install script v2.2dev in Bulgarian. Translated strings go to the language pack available for download, but they don't appear in the CVS repository after the weekly cvs snapshot for more then 2 weeks.

Picture of David Mudrák
Re: Some translated strings don't go to CVS repository
by David Mudrák - Tuesday, 16 August 2011, 10:30 PM
Language pack maintainers
Vanyo, can you please provide more detailed info? What strings are that?
Picture of Vanyo Georgiev
Re: Some translated strings don't go to CVS repository
by Vanyo Georgiev - Wednesday, 17 August 2011, 4:37 PM
Picture of David Mudrák
Re: Some translated strings don't go to CVS repository
by David Mudrák - Wednesday, 17 August 2011, 5:14 PM
Language pack maintainers
Sure I meant what particular strings you translated that did not appear in CVS. Are you sure you merged your translation to other branches, too?
Picture of Vanyo Georgiev
Re: Some translated strings don't go to CVS repository
by Vanyo Georgiev - Wednesday, 17 August 2011, 8:26 PM
 

Not complete list of some strings from install/lang/bg/install.php file:

2.2dev [database,core_install]
2.2dev [databasehead,core_install]
2.2dev [databasehost,core_install]
2.2dev [databasename,core_install]
2.2dev [databasepass,core_install]
...

These strings are translated in AMOS database, they are translated in bg.zip language pack available from http://download.moodle.org/langpack/2.1/ (install.php file) but not in the CVS repository hire: http://cvs.moodle.org/moodle/install/lang/bg/

Picture of David Mudrák
Re: Some translated strings don't go to CVS repository
by David Mudrák - Thursday, 18 August 2011, 4:09 AM
Language pack maintainers

OK, I think everything works as expected. Let me describe what I found.

Firstly note that not all strings from install.php are exported to /install/lang. Only those explicitly declared in the file /install/stringnames.txt are. For example from those you listed, only the following two strings are exported: databasehost and databasename.

The string 'databasehost' was initially translated on 2.2dev branch and it is available on HEAD branch in CVS: http://cvs.moodle.org/moodle/install/lang/bg/install.php?r1=1.5&r2=1.6&pathrev=HEAD Then it was merged into 2.1 on 2011-08-11 05:53 UTC by yourself in AMOS. But this update of 2.1 branch got into AMOSbot's git repository just a couple of hours after it was already merged into the recent weekly release. So it is now waiting at https://github.com/amosbot/moodle/compare/MOODLE_21_STABLE...install_21_STABLE and will be included in next weekly release of Moodle.

Same applies for 'databasename' string and I believe for the rest, too.

Hope this helps

Picture of David Mudrák
Re: Some translated strings don't go to CVS repository
by David Mudrák - Thursday, 18 August 2011, 9:10 AM
Picture of Vanyo Georgiev
Re: Some translated strings don't go to CVS repository
by Vanyo Georgiev - Thursday, 18 August 2011, 7:43 PM
 

Thanks a lot.

Picture of Vanyo Georgiev
Re: Some translated strings don't go to CVS repository
by Vanyo Georgiev - Thursday, 18 August 2011, 4:05 AM
 

I have translated strings from two versions of Moodle 2.2dev and 2.1, but not from older versions.