Development > Newbie Coding
Language files
Duque Atreides:
Hi. im trying to translate a file (tech), but i don´t found the text files. Where they are?
H-Hour:
Check out the wiki where all of our translations are modified. Look at the "for translators" section.
Duque Atreides:
Ok, sorry but i don´t understand very well. I am making a mod and i want to add a new armour. I have the armour (is based on nanocomposite armour image), but i don´t know how to do the research text files, i mean, description, pre research text and post-research text.
Thanks
Neonin:
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.
Duque Atreides:
Ok, i understand now. Thanks!
Navigation
[0] Message Index
[#] Next page
Go to full version