Change script language
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Change script language
Hi all,
I've downloaded a mod in German and translated the file into English. What I can't work out is how do I use it?
What I have tried,
1. saving it as a .xml
2. zipping the file and renaming the ext to .pck
When in game both examples lead to the system saying "language file doses not exist"
Any ideas how I could do this?
I've downloaded a mod in German and translated the file into English. What I can't work out is how do I use it?
What I have tried,
1. saving it as a .xml
2. zipping the file and renaming the ext to .pck
When in game both examples lead to the system saying "language file doses not exist"
Any ideas how I could do this?
- X2-Illuminatus
- Moderator (Deutsch)
- Posts: 24965
- Joined: Sun, 2. Apr 06, 16:38
You need to change the id in the file name and the file itself to 44. If, for example, the file is named 1234-L049.xml, you have to change it to 1234-L044.xml. In the file you have to change
to
Code: Select all
<language id="49">
Code: Select all
<language id="44">
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten
Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)
Neuauflage der fünf X-Romane als Taschenbuch
The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!
Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)
Neuauflage der fünf X-Romane als Taschenbuch
The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!
I have changed that part of the file, so I'm really not sure.X2-Illuminatus wrote:You need to change the id in the file name and the file itself to 44. If, for example, the file is named 1234-L049.xml, you have to change it to 1234-L044.xml. In the file you have to change
toCode: Select all
<language id="49">
Code: Select all
<language id="44">
- X2-Illuminatus
- Moderator (Deutsch)
- Posts: 24965
- Joined: Sun, 2. Apr 06, 16:38
What program did you use to make that change? Is it possible that the encoding of the file has been changed?I have changed that part of the file, so I'm really not sure.
Also check, whether there is maybe an opening/closing .xml tag (for either t, page or language id) missing. You can easily check that by opening the .xml file in your browser. If there is an error, the file won't be displayed properly.
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten
Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)
Neuauflage der fünf X-Romane als Taschenbuch
The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!
Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)
Neuauflage der fünf X-Romane als Taschenbuch
The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!
Thanks for your reply so far, I'm currently using wordpad to edit the file. is there something else i should be using?X2-Illuminatus wrote:What program did you use to make that change? Is it possible that the encoding of the file has been changed?I have changed that part of the file, so I'm really not sure.
Also check, whether there is maybe an opening/closing .xml tag (for either t, page or language id) missing. You can easily check that by opening the .xml file in your browser. If there is an error, the file won't be displayed properly.
- X2-Illuminatus
- Moderator (Deutsch)
- Posts: 24965
- Joined: Sun, 2. Apr 06, 16:38
The normal windows text editor works just fine. Alternatively any real .xml editor such as notepad++ works too.
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten
Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)
Neuauflage der fünf X-Romane als Taschenbuch
The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!
Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)
Neuauflage der fünf X-Romane als Taschenbuch
The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!