source: wiki/pages/nl/External-Software-TitanNitLanguageEditor @ 40228

Last change on this file since 40228 was 39063, checked in by obi, 7 years ago

reset wiki

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