← Back to team overview

tomdroid-dev team mailing list archive

Re: Translation on Launchpad


But therefore i have to upload a *.po file... true?
I haven't managed to convert the manually translated strings.xml files
into this *.po files.
I think the reason therefore is that we have completely different
layouts in all the strings.xml files. Sometimes strings are missing, the
tabs are different, comments changed,.... With the newly generated
german .xml file I am able to generate a .po file.

If it is also possible to upload a xml file, i will do it.


On 31/10/11 21:35, pjv wrote:
> Hi Jango,
> You don't have to spend 10 mins to copy over the strings to Launchpad.
> You can just upload a zip, and if you have the right files in the right
> subdirectories, the launchpad people will import them in a week or so.
> I know coz I wrote the first script :-) (unless something has changed).
> Let me know if you really can't figure it out.
> Best regards,
> Jango schreef op ma 31-10-2011 om 21:06 [+0100]:
>> Hi,
>> I have managed to get our strings up to Launchpad Translation:
>> https://translations.launchpad.net/tomdroid/
>> A bash script will help us to create a *.pot (Launchpad translation
>> template), when some strings got changed in the main branch.
>> It has just to be run after merging new strings and Launchpad will
>> automatically fetch it from the sources.
>> Then our strings will hopefully be translated by all the awesome
>> volunteers and before an release we just download the translation files
>> (tomdroid-**.po) and convert them back into the android xml files
>> (values-**/strings.xml).
>> All the thanks goes to this project:
>> http://code.google.com/p/openintents/wiki/Translations
>> Unfortunately, we have to manually enter the already existing
>> translations (3 remaining) into Launchpad first. I already did it for
>> German and it took me about 10 minutes. If you are bored some time,
>> please pick a strings.xml file and copy/paste the translations into
>> Launchpad.
>> Thanks for your help and I hope you enjoy the new system!
>> Cheers,
>> Stefan
>> PS: Nothing is fixed yet, I haven't merged the according branch
>> (lp:~j-4/tomdroid/launchpad-translations) into main. If you have doubts,
>> please shout!
>> _______________________________________________
>> Mailing list: https://launchpad.net/~tomdroid-dev
>> Post to     : tomdroid-dev@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~tomdroid-dev
>> More help   : https://help.launchpad.net/ListHelp

Follow ups