[[TranslatedPages]] ---- '''9.6 TitanNit Language Editor''' [=#point9.6] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page]) ---- The TitanNit Language Editor tool is used to provide translations files for devs to implement translations into the TitanNit gui. === Made by Karlo === German and English languages have been made and have been merged into svn. 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 chracters from various languages can be implemented. Please 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]: This program requires microsoft visual basic runtime files to operate. Once you have made a Translation you may upload the translation po files to the aaf forum for implementation into TitanNit. 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]). [[br]] ---- '''Features''' ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page]) ---- * load po file from svn __"File/ Open Source (svn)"__ * Import po file from svn or local as source __"File/ Import Titan.po"__ * open local file as target__"File/ Open target (local)"__ * save target file __"File/ Save Target"__ * save target file as titan.po __"File/ Save titan.po"__ * export msg string for external use __"File/ Export msgstr as Titan.po"__ * Build reciever translation file __"File/ Build Titan.mo"__ * export sourcefile to target __"Edit/ target.po -> target"__ * view source target differences __"Edit/ diff target - titan.po"__ [[br]] ---- '''Functions''' ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page]) ---- ''Select an item to view more info:'' * ([#point9.6.1 Loading a translation from svn]) * ([#point9.6.2 Loading a Translation from a local directory]) * ([#point9.6.3 Import Translation from svn or local (Source/ Target Mode)]) * ([#point9.6.4 Edit Translation]) * ([#point9.6.5 Submission]) * ([#point9.6.6 Local Testing]) ---- '''Loading a translation from svn''' [=#point9.6.1] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page]) ---- To load a translation from the server SVN repo select the translation file from the menu: [[br]] [[Image(source:/wiki/Wiki-Pictures/NL/TLE/open_server.jpg)]] [[br]] it will then start downloading from the internet.[[br]] [[Image(source:/wiki/Wiki-Pictures/NL/TLE/loading_server.jpg)]] [[br]] [[br]] ([#point9.6 Top of Page]) [[br]] ---- '''Loading a Translation from a local directory''' [=#point9.6.2] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page]) ---- To load a translation from the local directory select the translation file from the menu: [[br]] [[Image(source:/wiki/Wiki-Pictures/NL/TLE/open_local.jpg)]] [[br]] [[br]] ([#point9.6 Top of Page]) [[br]] ---- '''Import Translation from svn or local (Source/ Target Mode)'''[=#point9.6.3] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page]) ---- To import a translation from svn or the local directory select the translation file from the menu: [[br]] Note: for this to work a source file must be loaded first [[br]] [[Image(source:/wiki/Wiki-Pictures/NL/TLE/import_file.jpg)]] [[br]] [[br]] you will then be dispalyed with this view to view the two po files along side each other: [[Image(source:/wiki/Wiki-Pictures/NL/TLE/import_list_view.jpg)]] [[br]] [[br]] you can then select __"Edit/ diff target - titan.po"__ to view the source and target differences. [[Image(source:/wiki/Wiki-Pictures/NL/TLE/diff_target.jpg)]] [[br]] [[br]] you can also automatically merge the source files to the target file by selecting __"Edit/ target.po -> target"__ [[br]] ([#point9.6 Top of Page]) [[br]] ---- '''Edit Translation''' [=#point9.6.4] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page]) ---- Now that it is loaded you may edit the msgid strings to suit your language and upload to the aaf forum. you may use the buttons on the lower taskbar to search for strings you wish to edit.[[br]] [[Image(source:/wiki/Wiki-Pictures/NL/TLE/edit.jpg)]] [[br]] ([#point9.6 Top of Page]) [[br]] ---- '''Submission'''[=#point9.6.5] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page]) ---- If you could submit your completed translation file into the thread below for comitting by the devs into svn. please note that some translations may no be able to be imported into some receivers due to memory constarints. [http://www.aaf-digital.info/forum/showthread.php?98565-TitanNitLanguageEditor forum Link] [[br]] ([#point9.6 Top of Page]) [[br]] ---- '''Local Testing''' [=#point9.6.6] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page]) ---- 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. To do this create a folder in the program directory called __"gettext"__ and extract the below files into that directory: [http://ftp.informatik.rwth-aachen.de/ftp/pub/gnu/gettext/gettext-runtime-0.13.1.bin.woe32.zip gettext-runtime] [[br]] [http://ftp.informatik.rwth-aachen.de/ftp/pub/gnu/libiconv/libiconv-1.9.1.bin.woe32.zip libiconv] [[br]] [http://ftp.informatik.rwth-aachen.de/ftp/pub/gnu/gettext/gettext-tools-0.13.1.bin.woe32.zip gettext-tools] [[br]] Once you have exported your titan.mo file you may ftp or manually copy it onto your Receiver to test it. 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. ''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'' [[br]] ([#point9.6 Top of Page]) [[br]] ---- '''Change log''' [=#point9.6.7] ([wiki:Wiki#point0 Contents]) ([WikiStart#point0 Main page]) ---- Version 0.7 : * Loading and saving is now Uniformly in UTF- 8! Now special characters can be used from other languages. Version 0.8 : * minor changes * 'Build titan.mo ' for more infomation see ([#point9.6.6 Local Testing]) Version 0.8.1 : * 1 Column now displays the line number of the msgid * '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 * 'Edit / show only diff ' - same entries appear at msgid <> titan.po from Version 0.8.2 : * Fixed tooltip error Version 0.9.0 : * Fixed Error 13 - Thanks to Channel beta-testing * 'Import 2 po file ' to load an alternate po -files * ' titan.po -> Target' copied now empty fields Double entry copied by msgid version 0.9.1 : * svn version is displayed and saved as ' .... po.55555.svn ' * thus can also be compared with an old ( stored ) version [[br]] ([#point9.6 Top of Page]) [[br]]