Advice needed for t file issue

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Advice needed for t file issue

Post by YorrickVander »

I've made t files (example below) for all language codes covered by XR but non english clients still see readtext errors... any ideas what I'm doing wrong?

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<diff xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <add sel="/language[@id='39']">
    <page id="98981" title="YAT" descr="Text for YAT mod." voice="no">
      <!-- Legacy menu stuff -->
      <t id="1">Trade Manager</t>
      <t id="2">Trade Management...</t>
      <t id="3">Trade Overview...</t>
      <t id="4">Add Ship...</t>
      <t id="5">Remove Ship...</t>
      <t id="6">Ship Config...</t>
     ...
Missing translations filled in with copy of english text as above (with relevant country code inserted
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
User avatar
wysiwyg
Posts: 585
Joined: Thu, 26. Feb 04, 00:08
x4

Post by wysiwyg »

I don't think you need diff files for t files.

http://forum.egosoft.com/viewtopic.php? ... 40#4446640

Just make a master t file called 0001.xml and then your localisation files can override this file by adding the -L0xx prefix. that is
0001-L044.xml for english for example.
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

Thanks mate :)
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.

Return to “X Rebirth - Scripts and Modding”