Development > Newbie Coding

Language files

<< < (2/2)

Duque Atreides:

--- Quote from: Neonin on July 14, 2012, 10:20:50 pm ---You need to edit the .po files and compile them, see a similar topic I posted a few days ago: http://ufoai.org/forum/index.php/topic,6827.msg54442.html#msg54442

As I found out however, while you can create a new .mo file that will feature your new text, it won't be read in the mod folder and has to replace the one in base/i18n.

If you're just creating it for your own personal use then that won't be a problem, but as part of a mod replacing any core files outside of the supported mod system is generally a no-no due to issues with being able to play both modded and unmodded versions of the game. However if you're just adding in a new entry that might not be so much of an issue for you because an unmodded game simply won't call that entry and so not cause any problems.

--- End quote ---

Ok. I downloaded de .po file (i think; is a cfi.txt file), and the Poedit. I can now read the .txt but i can´t do a new one. For example, advanced_combat_armour.txt exist, but it isn´t advanced_combat_armour_pre.txt. So, how can i do the _pre.txt?

Duque Atreides:
Ok, i do it. Ignore the last message.

Thanks!

Navigation

[0] Message Index

[*] Previous page

Go to full version