Exist a manner to update the translations from 1.2.x to 1.3?

Discuss and coordinate development of mainline and user-made content translations.

Moderator: Forum Moderators

Post Reply
Masacroso
Posts: 10
Joined: March 25th, 2007, 6:29 am

Exist a manner to update the translations from 1.2.x to 1.3?

Post by Masacroso »

Hi! I dont know if it is posible to update the translations made in the 1.2.x po files to the 1.3.x po files cause is very annoying make a search and copy and paste.
User avatar
ivanovic
Lord of Translations
Posts: 1149
Joined: September 28th, 2004, 10:10 pm
Location: Germany

Post by ivanovic »

You can use the script provided in utils/ named po2po. But be aware that it does not like plural forms at all. So it is not really usable for the mainfile. And you will have problems with the doublespace cleanup. So the easiest way is copying over the po files and do the rest by hand. The only problem is the port of the unitnames/descriptions of campaignspecific units over to the campaign textdomains. For this you could use po2po...
Masacroso
Posts: 10
Joined: March 25th, 2007, 6:29 am

Post by Masacroso »

I had used the function msgmerge -o new.po old.po svn.po to make the transition but I have now a question: the new file have more lines than the old or the svn file. How can this affect the file? These "extra lines" are obsolete lines? I use poedit to edit the po files.
torangan
Retired Developer
Posts: 1365
Joined: March 27th, 2004, 12:25 am
Location: Germany

Post by torangan »

Look wheter there are a lot of #~ lines at the end containing old translations. But I don't see how this command could give you an invalid file anyway.
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp

Translators for all languages required: contact me. No geek skills required!
Masacroso
Posts: 10
Joined: March 25th, 2007, 6:29 am

Post by Masacroso »

torangan wrote:Look wheter there are a lot of #~ lines at the end containing old translations. But I don't see how this command could give you an invalid file anyway.
How I can see this #~lines at the bottom? With poedit their are not visibles. I have completed the wesnoth.po file to spanish language to both versions and some others are close to finish, where I can send the files?

Thx

P.D.: exist a manner to compare two possible translations (like a function similar to msgmerge)?
User avatar
La_vie_en_Wose
Translator
Posts: 259
Joined: February 10th, 2006, 2:46 pm
Location: Europe

Post by La_vie_en_Wose »

Did you see that Httt 12 and httt 13 weren't the same? You have more lines in the dev version, even a sub-scene in the lost general and a few lines more in gryphon mountains.
If you really hate stupid people, get a girlfriend.
torangan
Retired Developer
Posts: 1365
Joined: March 27th, 2004, 12:25 am
Location: Germany

Post by torangan »

You can open the files with any texteditor, poEdit will show you only the part interesting for actual translations.
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp

Translators for all languages required: contact me. No geek skills required!
VS
Translator
Posts: 187
Joined: November 27th, 2005, 10:07 am

Post by VS »

To remove #~ lines in PoEdit, use command Catalog->Purge deleted translations.
Masacroso
Posts: 10
Joined: March 25th, 2007, 6:29 am

Post by Masacroso »

Thx by the responses, I get it finally :wink:
Post Reply