source: wiki/pages/en/External-Software-TitanNitLanguageEditor @ 37372

Last change on this file since 37372 was 37372, checked in by aafsvn, 4 years ago

[titan] autoupdate wiki files

File size: 7.2 KB
Line 
1----
2'''9.6 TitanNit Language Editor''' [=#point9.6] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
3----
4
5The TitanNit Language Editor tool is used to provide translations files for devs to implement translations into the TitanNit gui.
6
7=== Made by Karlo ===
8
9German and English languages have been made and have been merged into svn.
10To support future languages you can use this program to download  the language base files from the svn for conversion it supports UTF-8 so special
11chracters from various languages can be implemented.
12
13Please check the [[http://www.aaf-digital.info/forum/showthread.php?98565-TitanNitLanguageEditor forum Link | main thread]] for the latest version, or the [#point9.6.7 Changelog]:
14
15
16
17This program requires microsoft visual basic runtime files to operate.
18
19Once you have made a Translation you may upload the translation po files to the aaf forum for implementation into TitanNit.
20
21If you think you can help with a translation please do so at the end of this page there is information on ([#point9.6.5 Submission]).
22
23
24[[br]]
25
26----
27'''Features''' ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
28----
29 
30* load po file from svn __"File/ Open Source (svn)"__
31* Import po file from svn or local as source __"File/ Import Titan.po"__
32* open local file as target__"File/ Open target (local)"__
33* save target file __"File/ Save Target"__
34* save target file as titan.po __"File/ Save titan.po"__
35* export msg string for external use __"File/ Export msgstr as Titan.po"__
36* Build reciever translation file __"File/ Build Titan.mo"__
37* export sourcefile to target __"Edit/ target.po -> target"__
38* view source target differences __"Edit/ diff target - titan.po"__
39
40[[br]]
41
42----
43'''Functions'''  ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
44----
45
46''Select an item to view more info:''
47
48* ([#point9.6.1 Loading a translation from svn])
49* ([#point9.6.2 Loading a Translation from a local directory])
50* ([#point9.6.3 Import Translation from svn or local (Source/ Target Mode)])
51* ([#point9.6.4 Edit Translation])
52* ([#point9.6.5 Submission])
53* ([#point9.6.6 Local Testing])
54
55
56
57----
58'''Loading a translation from svn''' [=#point9.6.1] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
59----
60
61To load a translation from the server SVN repo select the translation file from the menu: [[br]]
62
63[[Image(source:/wiki/Wiki-Pictures/EN/TLE/open_server.jpg)]] [[br]]
64
65it will then start downloading from the internet.[[br]]
66
67[[Image(source:/wiki/Wiki-Pictures/EN/TLE/loading_server.jpg)]] [[br]]
68
69[[br]]
70([#point9.6 Top of Page])
71[[br]]
72
73----
74'''Loading a Translation from a local directory''' [=#point9.6.2] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
75----
76
77To load a translation from the local directory select the translation file from the menu: [[br]]
78
79[[Image(source:/wiki/Wiki-Pictures/EN/TLE/open_local.jpg)]] [[br]]
80
81[[br]]
82([#point9.6 Top of Page])
83[[br]]
84
85----
86'''Import Translation from svn or local (Source/ Target Mode)'''[=#point9.6.3] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
87----
88
89To import a translation from svn or the local directory select the translation file from the menu: [[br]]
90Note: for this to work a source file must be loaded first [[br]]
91
92[[Image(source:/wiki/Wiki-Pictures/EN/TLE/import_file.jpg)]] [[br]]
93
94[[br]]
95
96you will then be dispalyed with this view to view the two po files along side each other:
97
98[[Image(source:/wiki/Wiki-Pictures/EN/TLE/import_list_view.jpg)]] [[br]]
99
100[[br]]
101
102you can then select __"Edit/ diff target - titan.po"__ to view the source and target differences.
103
104[[Image(source:/wiki/Wiki-Pictures/EN/TLE/diff_target.jpg)]] [[br]]
105
106[[br]]
107
108you can also automatically merge the source files to the target file  by selecting __"Edit/ target.po -> target"__
109
110[[br]]
111([#point9.6 Top of Page])
112[[br]]
113
114----
115'''Edit Translation''' [=#point9.6.4] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
116----
117
118
119Now that it is loaded you may edit the msgid strings to suit your language and upload to the aaf forum.
120you may use the buttons on the lower taskbar to search for strings you wish to edit.[[br]]
121
122[[Image(source:/wiki/Wiki-Pictures/EN/TLE/edit.jpg)]]
123
124[[br]]
125([#point9.6 Top of Page])
126[[br]]
127 
128----
129'''Submission'''[=#point9.6.5]  ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
130----
131
132If you could submit your completed translation file into the thread below for comitting by the devs into svn.
133 
134please note that some translations may no be able to be imported into some receivers due to memory constarints.
135
136[http://www.aaf-digital.info/forum/showthread.php?98565-TitanNitLanguageEditor forum Link]
137
138[[br]]
139([#point9.6 Top of Page])
140[[br]]
141
142----
143'''Local Testing''' [=#point9.6.6] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
144----
145
146If you wish to install your modified language files into your reciever for testing you can so by exporting you file an a titan.mo file you can do this by selecting __"File/ Build Titan.mo"__ for this to work you need to install some aditional components  in to the program directory.
147
148To do this create a folder in the program directory called __"gettext"__ and extract the below files into that directory:
149
150
151[http://ftp.informatik.rwth-aachen.de/ftp/pub/gnu/gettext/gettext-runtime-0.13.1.bin.woe32.zip gettext-runtime] [[br]]
152[http://ftp.informatik.rwth-aachen.de/ftp/pub/gnu/libiconv/libiconv-1.9.1.bin.woe32.zip libiconv] [[br]]
153[http://ftp.informatik.rwth-aachen.de/ftp/pub/gnu/gettext/gettext-tools-0.13.1.bin.woe32.zip gettext-tools] [[br]]
154
155Once you have exported your titan.mo file you may ftp or manually copy it onto your Receiver to test it.
156
157The file needs to go into the directory and a reboot neede to be proformed afterwards:  '''/var/usr/local/share/titan/po/__??__/LC_MESSAGES/titan.mo)''' where __??__ is the language file you are editing.
158
159''Note: if you have trouble exporting the translation to a mo file place the program directory on the root of your harddisk it can some times fail if the program it too deep in the file system''
160
161[[br]]
162([#point9.6 Top of Page])
163[[br]]
164
165----
166'''Change log''' [=#point9.6.7] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
167----
168
169
170
171Version 0.7 :
172 * Loading and saving is now Uniformly in UTF- 8! Now special characters can be used from other languages.
173 
174Version 0.8 :
175 
176 * minor changes
177 * 'Build titan.mo ' for more infomation see ([#point9.6.6 Local Testing])
178
179Version 0.8.1 :
180 * 1 Column now displays the line number of the msgid
181 * 'Build titan.mo ' - in case of error in a makeMo.cmd Prog -Dir is created at the (click ) is probably better to see what 's going on
182 * 'Edit / show only diff ' - same entries appear at msgid <> titan.po from
183
184Version 0.8.2 :
185 * Fixed tooltip error
186
187Version 0.9.0 :
188 * Fixed Error 13 - Thanks to Channel beta-testing
189 * 'Import 2 po file ' to load an alternate po -files
190 * ' titan.po -> Target' copied now empty fields Double entry copied by msgid
191
192version 0.9.1 :
193 * svn version is displayed and saved as ' .... po.55555.svn '
194 * thus can also be compared with an old ( stored ) version
195
196[[br]]
197([#point9.6 Top of Page])
198[[br]]
Note: See TracBrowser for help on using the repository browser.