Στις 09/09/2012 15:04:31 Yuri Chornoivan έγραψε: >Hi, > >For some reasons usual conversion scripts for .lang files from Translate >Toolkit do not work as expected. > >Nevertheless, the attached script may be useful for those who want to >organize sustainable translation process of web pages translation. > >Prerequisites: > >Installed python-polib package: > ># urpmi python-polib > >Usage: > >1. Copy the script into the folder with English .lang files. >2. Run > python langpo.py >3. Script will create .pot's for all .lang's in the folder. Translate >pot's and rename the translations into <lang_code>.po >4. Run > python langpo.py > once more to create lang's for your language. > >If you ever need to update something (.lang's were updated or you found a >typo, etc.) just run > python langpo.py > >Limitations: >The script is useful only for Unicode translations. > >Hope it will be useful. > >Best regards, >Yuri
Hi Yuri, i always prefer to work with po files ! But what about the already translated .lang files ? The only way to work with po files is to run the script and translate them again ? (i hope no :)) Thanks -- Dimitrios Glentadakis
