DarkSlimus
Powder Monkey
Hi,
I start a new topic, so alls of us can participate in and we found the good way for multilanguage support
so I try to start a personal translation (just because it's better for me to have one language in use and not some dialogues who start in french and continue in english ...
I'm not sure to make a complete translation of it, but I'm ready to do my best according to my time and motivation.
my first try start with a bug ... oh nice I'm in the good way ! here is what I do:
in RESOURCE\INI\texts\ folder
I noticed two bugs after this change
1 - the start screen show nothing

2 - I'm unable to show the principal menu with F1 key or Echap ... it just make a pause, if i press two times F1 its come back to the game so I suppose it's can't find the french menu but the game don't freeze !
according to this two issues I suppose that change language.ini file is the good way but perhaps another .ini file manage the language
another way is to translate directly in the russian folder, but if I make a good translation and want to send it to the modders I think is better to have a real multilanguage system and not just a barbarian method of translation... In the same way perhaps in the future modders can make language files for all strings can be translated ...
now I've a question for you burho. in your example my logic want I translate the blue part, right or not?
and to finish with the first post I want to say that I'm not a codder but I know some base in C/C++/Python (I'm 2D graphic designer) and I already do some mods translation for other game.
I start a new topic, so alls of us can participate in and we found the good way for multilanguage support
You need to translate:
- Nearly all or all the ".h" files in the Program\Text subdirs.
- Every ".txt" file in RESOURCE\INI\texts\russian, including the questbook subdir.
- The RESOURCE\INI\texts\russian\common.INI file.
- May be some other INI, h or txt files I'm not aware of.
- A bunch of ".C" files, scattered all around where the modders (including myself) used in-line strings without any care for the (unpalatable) localization strategy Akella implemented in the game.
Only the three first points amount for hundreds of files and thousands of lines, and any little mistake in the files structure will bring the game down or, at least, broke the involved dialogs or screens.
The ".txt" files in RESOURCE\INI\texts\russian are especially tricky: they have translatable text and non-translatable label names, you need to get the handle on them or you are risking a lot of errors:
BasicDefense {Basic Defensive Arts}
perkBasicDefense {
Received damage decreases by 10%.
}
Add to the mix that you are translating to french, where phrases tend to be longer than in english: you are going to run out of space lotsa times, which calls for a deep context knowledge to choice the right wording.
And you are going to expend the rest of your life trying to cope with modders adding string on top of strings on top of strings, some (most?) times in-line in the C sources :d:.
If you have not a solid experience localizing software and a sizable knowldge of the game itself it is going to be a real hell for you (a fearsome lot of work anyway).
Best of luck for you!
buho (A).
so I try to start a personal translation (just because it's better for me to have one language in use and not some dialogues who start in french and continue in english ...
I'm not sure to make a complete translation of it, but I'm ready to do my best according to my time and motivation.
my first try start with a bug ... oh nice I'm in the good way ! here is what I do:
in RESOURCE\INI\texts\ folder
- create a french folder and copy all files and subfolder of russian folder
- modify language.ini file like that
Code:
[COMMON]
defaultLanguage = french
;defaultLanguage = russian
;defaultLanguage = french
;defaultLanguage = german
;defaultLanguage = spanish
;defaultLanguage = italian
I noticed two bugs after this change
1 - the start screen show nothing

2 - I'm unable to show the principal menu with F1 key or Echap ... it just make a pause, if i press two times F1 its come back to the game so I suppose it's can't find the french menu but the game don't freeze !
according to this two issues I suppose that change language.ini file is the good way but perhaps another .ini file manage the language
another way is to translate directly in the russian folder, but if I make a good translation and want to send it to the modders I think is better to have a real multilanguage system and not just a barbarian method of translation... In the same way perhaps in the future modders can make language files for all strings can be translated ...
now I've a question for you burho. in your example my logic want I translate the blue part, right or not?
BasicDefense {Basic Defensive Arts}
perkBasicDefense {
Received damage decreases by 10%.
}
and to finish with the first post I want to say that I'm not a codder but I know some base in C/C++/Python (I'm 2D graphic designer) and I already do some mods translation for other game.