1 | ----
|
---|
2 | '''9.6 TitanNit Language Editor''' [=#point9.6] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
|
---|
3 | ----
|
---|
4 |
|
---|
5 | The 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 |
|
---|
9 | German and English languages have been made and have been merged into svn.
|
---|
10 | To 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
|
---|
11 | chracters from various languages can be implemented.
|
---|
12 |
|
---|
13 | Please check the main thread for the latest version:
|
---|
14 |
|
---|
15 | [http://www.aaf-digital.info/forum/showthread.php?98565-TitanNitLanguageEditor forum Link]
|
---|
16 |
|
---|
17 | This program requires microsoft visual basic runtime files to operate.
|
---|
18 |
|
---|
19 | Once you have made a Translation you may upload the translation po files to the aaf forum for implementation into TitanNit.
|
---|
20 |
|
---|
21 | If 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 | [[br]]
|
---|
24 |
|
---|
25 | ----
|
---|
26 | '''Features''' ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
|
---|
27 | ----
|
---|
28 |
|
---|
29 | * load po file from svn __"File/ Open Source (svn)"__
|
---|
30 | * Import po file from svn or local as source __"File/ Import Titan.po"__
|
---|
31 | * open local file as target__"File/ Open target (local)"__
|
---|
32 | * save target file __"File/ Save Target"__
|
---|
33 | * save target file as titan.po __"File/ Save titan.po"__
|
---|
34 | * export msg string for external use __"File/ Export msgstr as Titan.po"__
|
---|
35 | * Build reciever translation file __"File/ Build Titan.mo"__
|
---|
36 | * export sourcefile to target __"Edit/ target.po -> target"__
|
---|
37 | * view source target differences __"Edit/ diff target - titan.po"__
|
---|
38 |
|
---|
39 | [[br]]
|
---|
40 |
|
---|
41 | ----
|
---|
42 | '''Functions''' ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
|
---|
43 | ----
|
---|
44 |
|
---|
45 | ''Select an item to view more info:''
|
---|
46 |
|
---|
47 | * ([#point9.6.1 Loading a translation from svn])
|
---|
48 | * ([#point9.6.2 Loading a Translation from a local directory])
|
---|
49 | * ([#point9.6.3 Import Translation from svn or local (Source/ Target Mode)])
|
---|
50 | * ([#point9.6.4 Edit Translation])
|
---|
51 | * ([#point9.6.5 Submission])
|
---|
52 | * ([#point9.6.6 Local Testing])
|
---|
53 |
|
---|
54 |
|
---|
55 |
|
---|
56 | ----
|
---|
57 | '''Loading a translation from svn''' [=#point9.6.1] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
|
---|
58 | ----
|
---|
59 |
|
---|
60 | To load a translation from the server SVN repo select the translation file from the menu: [[br]]
|
---|
61 |
|
---|
62 | [[Image(source:/wiki/Wiki-Pictures/DE/TLE/open_server.jpg)]] [[br]]
|
---|
63 |
|
---|
64 | it will then start downloading from the internet.[[br]]
|
---|
65 |
|
---|
66 | [[Image(source:/wiki/Wiki-Pictures/DE/TLE/loading_server.jpg)]] [[br]]
|
---|
67 |
|
---|
68 | [[br]]
|
---|
69 | ([#point9.6 Top of Page])
|
---|
70 | [[br]]
|
---|
71 |
|
---|
72 | ----
|
---|
73 | '''Loading a Translation from a local directory''' [=#point9.6.2] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
|
---|
74 | ----
|
---|
75 |
|
---|
76 | To load a translation from the local directory select the translation file from the menu: [[br]]
|
---|
77 |
|
---|
78 | [[Image(source:/wiki/Wiki-Pictures/DE/TLE/open_local.jpg)]] [[br]]
|
---|
79 |
|
---|
80 | [[br]]
|
---|
81 | ([#point9.6 Top of Page])
|
---|
82 | [[br]]
|
---|
83 |
|
---|
84 | ----
|
---|
85 | '''Import Translation from svn or local (Source/ Target Mode)'''[=#point9.6.3] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
|
---|
86 | ----
|
---|
87 |
|
---|
88 | To import a translation from svn or the local directory select the translation file from the menu: [[br]]
|
---|
89 | Note: for this to work a source file must be loaded first [[br]]
|
---|
90 |
|
---|
91 | [[Image(source:/wiki/Wiki-Pictures/DE/TLE/import_file.jpg)]] [[br]]
|
---|
92 |
|
---|
93 | [[br]]
|
---|
94 |
|
---|
95 | you will then be dispalyed with this view to view the two po files along side each other:
|
---|
96 |
|
---|
97 | [[Image(source:/wiki/Wiki-Pictures/DE/TLE/import_list_view.jpg)]] [[br]]
|
---|
98 |
|
---|
99 | [[br]]
|
---|
100 |
|
---|
101 | you can then select __"Edit/ diff target - titan.po"__ to view the source and target differences.
|
---|
102 |
|
---|
103 | [[Image(source:/wiki/Wiki-Pictures/DE/TLE/diff_target.jpg)]] [[br]]
|
---|
104 |
|
---|
105 | [[br]]
|
---|
106 |
|
---|
107 | you can also automatically merge the source files to the target file by selecting __"Edit/ target.po -> target"__
|
---|
108 |
|
---|
109 | [[br]]
|
---|
110 | ([#point9.6 Top of Page])
|
---|
111 | [[br]]
|
---|
112 |
|
---|
113 | ----
|
---|
114 | '''Edit Translation''' [=#point9.6.4] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
|
---|
115 | ----
|
---|
116 |
|
---|
117 |
|
---|
118 | Now that it is loaded you may edit the msgid strings to suit your language and upload to the aaf forum.
|
---|
119 | you may use the buttons on the lower taskbar to search for strings you wish to edit.[[br]]
|
---|
120 |
|
---|
121 | [[Image(source:/wiki/Wiki-Pictures/DE/TLE/edit.jpg)]]
|
---|
122 |
|
---|
123 | [[br]]
|
---|
124 | ([#point9.6 Top of Page])
|
---|
125 | [[br]]
|
---|
126 |
|
---|
127 | ----
|
---|
128 | '''Submission'''[=#point9.6.5] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
|
---|
129 | ----
|
---|
130 |
|
---|
131 | If you could submit your completed translation file into the thread below for comitting by the devs into svn.
|
---|
132 |
|
---|
133 | please note that some translations may no be able to be imported into some receivers due to memory constarints.
|
---|
134 |
|
---|
135 | [http://www.aaf-digital.info/forum/showthread.php?98565-TitanNitLanguageEditor forum Link]
|
---|
136 |
|
---|
137 | [[br]]
|
---|
138 | ([#point9.6 Top of Page])
|
---|
139 | [[br]]
|
---|
140 |
|
---|
141 | ----
|
---|
142 | '''Local Testing''' [=#point9.6.6] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page])
|
---|
143 | ----
|
---|
144 |
|
---|
145 | If 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.
|
---|
146 |
|
---|
147 | To do this create a folder in the program directory called __"gettext"__ and extract the below files into that directory:
|
---|
148 |
|
---|
149 |
|
---|
150 | [http://ftp.informatik.rwth-aachen.de/ftp/pub/gnu/gettext/gettext-runtime-0.13.1.bin.woe32.zip gettext-runtime] [[br]]
|
---|
151 | [http://ftp.informatik.rwth-aachen.de/ftp/pub/gnu/libiconv/libiconv-1.9.1.bin.woe32.zip libiconv] [[br]]
|
---|
152 | [http://ftp.informatik.rwth-aachen.de/ftp/pub/gnu/gettext/gettext-tools-0.13.1.bin.woe32.zip gettext-tools] [[br]]
|
---|
153 |
|
---|
154 | Once you have exported your titan.mo file you may ftp or manually copy it onto your Receiver to test it.
|
---|
155 |
|
---|
156 | The 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.
|
---|
157 |
|
---|
158 | ''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''
|
---|
159 |
|
---|
160 | [[br]]
|
---|
161 | ([#point9.6 Top of Page])
|
---|
162 | [[br]] |
---|