viewtopic.php?p=66111#p66111
Hello,
How to update existing gamedata.PO with the new potential lines in all new exported gamedata.POT ?
I read all step of the guide, because it's the first thing to do.
And I decide to start to control, modify and update the gamedata.po of the actual french translation -> fr_FR
So it's did, after that I read again the guide and I decide to make a new export to see if the number of lines will be different, and it is.
(If you just finished your translation you are at the same point than me)
3285 lines in the fr_FR gamedata.PO
3288 lines in the new gamedata.POT
So how to update your PO already translated :
With Poedit : open your gamedata.PO and go in menu 'Catalogue' / 'Update from POT file...' and select the all new gamedata.POT extract from the last version of the game.
Yata ! You have the new lines added.
Now go menu 'View' and check : 'Sort by translation' and 'Untranslated entries first'
Normally at the top you will have the new lines.
Translate them.
AND SAVE !!!
You have a translated & updated gamedata.PO & gamedata.MO files !
PS : I said "normally" because me I should found 3 new lines (3288-3285=3) and I found only 2 untranslated lines : "HQ" and "Refuge"
But the third ?? No idea...
DEV ANSWER : certainly a Poedit auto-translate line
AND YES ! : in File / Preferences... / Translation Memory -> uncheck "When updating from sources" to control what happens.
You even have the old Source Text written in the notes