Well well... long story short, I was working on translation/correction of the Setup Wizard Italian language file. Long work, short time. However, I was in the process of translating custom language entries, copy\pasting them from the general language file into the Setup Wizard config file.
Now that file is old, new features have been added in the meantime, and new antries have been added in the config file, too. I don't want to mess with that file manually adding\adjusting things, so I think I have to start from the beginning.
My question is: is it possible to automatically import the entries from Italian.ini into the SetupWizard_it.xml in the correct place? I'm referring to the custom language part of that file, of course.
For example, how did you, Ben, import the translated entries in the various language files? I suppose you used an automated process, don't you?
This question is directed to Tom and Ben, but if someone else has a solution or suggestion to share, please tell me.
Approximately 50% of that file is filled with custom language entries. If I could import them automatically, 50% of the job would be done, and I could concentrate my effort on the remaining part of the file.
Cheers,
Alpha.
Question about importing text in the Setup Wizard config file
Started by AlphaUMi, Feb 14 2012 01:53 PM
4 replies to this topic
#1
Posted 14 February 2012 - 01:53 PM
Vitam impendere vero
#3
Posted 14 February 2012 - 08:52 PM
I've updated the SetupWizard with the ability to import langauge ini files into SetupWizard xml files and export SetupWizard xml files to language ini files.
First of all make sure you backup the SetupWizard xml files in GameEx\CONFIG and the langauge files in GameEx\CONFIG\LANGUAGES because it will overwrite the current files.
To export a language ini file from a SetupWizard xml file use the following command line:
To import a language ini file into a SetupWizard xml file use the following command line:
Language codes are as follows:
This should also help anyone else wanting to do a translation.
First of all make sure you backup the SetupWizard xml files in GameEx\CONFIG and the langauge files in GameEx\CONFIG\LANGUAGES because it will overwrite the current files.
To export a language ini file from a SetupWizard xml file use the following command line:
SetupWizard -exportlanguage=languagecodeEg. For Italian
SetupWizard -exportlanguage=it
To import a language ini file into a SetupWizard xml file use the following command line:
SetupWizard -importlanguage=languagecodeEg. For Italian
SetupWizard -importlanguage=it
Language codes are as follows:
Brazilian (Portuguese)=pt Danish=da Dutch=nl English=en French=fr German=de Italian=it Japanese=ja Spanish=es Swedish=sv
This should also help anyone else wanting to do a translation.
Attached Files
#5
Posted 15 February 2012 - 11:26 PM
Thank you HK! Your update exceeds my expectations! And works like a charm! Thank thank thank you!
Vitam impendere vero
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users















