Hi, I confirmed it was fixed and works fine. Thank you!!
On Tue, 01 Nov 2011 14:11:52 +0100 Jango <j...@gmx.at> wrote: > Hi, > > I now fixed it the way, that double tabs are converted in linebreaks and > one tab. This is at one hand an easy fix, because you do not need any > other scripts and there is also no change needed on converting *.po back > to *.xml. The newly translated language xml looks completely the same, > as the original English one. > > One small thing of course: We should not use double tabs to sort the > xml-tags, otherwise it not converted properly. Double tabs inside tags > don't matter - they just change the formatting of the xml file (one line > break more). But I noted this in an comment anyways. Just see the > strings.xml file in the branch to see what i mean: > > lp:~j-4/tomdroid/launchpad-translations > > > Best, > Stefan > > On 01/11/11 07:32, Koichi Akabe wrote: > > Hi Jango, > > > > I tried translating on the launchpad translation system. It's great. > > > > But I found that the bash script drops line breaks. > > We can use \n as a line breaks in some places, but we can not use it in > > "market_description". > > > > Could you fix it? > > > > On Mon, 31 Oct 2011 21:51:32 +0100 > > Jango <j...@gmx.at> wrote: > > > >> 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. > >> > >> Best, > >> Stefan > >> > >> 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@lists.launchpad.net > >>>> Unsubscribe : https://launchpad.net/~tomdroid-dev > >>>> More help : https://help.launchpad.net/ListHelp > >> > >> _______________________________________________ > >> Mailing list: https://launchpad.net/~tomdroid-dev > >> Post to : tomdroid-dev@lists.launchpad.net > >> Unsubscribe : https://launchpad.net/~tomdroid-dev > >> More help : https://help.launchpad.net/ListHelp > > > > > _______________________________________________ > Mailing list: https://launchpad.net/~tomdroid-dev > Post to : tomdroid-dev@lists.launchpad.net > Unsubscribe : https://launchpad.net/~tomdroid-dev > More help : https://help.launchpad.net/ListHelp -- Regards, Koichi Akabe _______________________________________________ Mailing list: https://launchpad.net/~tomdroid-dev Post to : tomdroid-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~tomdroid-dev More help : https://help.launchpad.net/ListHelp