<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Localization</title><link>https://sourceforge.net/p/saga-gis/wiki/Localization/</link><description>Recent changes to Localization</description><atom:link href="https://sourceforge.net/p/saga-gis/wiki/Localization/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 24 Jun 2014 16:42:20 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/saga-gis/wiki/Localization/feed" rel="self" type="application/rss+xml"/><item><title>Localization modified by &lt;REDACTED&gt;</title><link>https://sourceforge.net/p/saga-gis/wiki/Localization/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Creating language files for localization&lt;/strong&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Localization in SAGA is done by a so-called &lt;em&gt;language&lt;/em&gt; file, which is actually a text file containing two columns (tab separated): one with the English version of the text (parsed from source code) and one with the translation. The language file must have the extension *.lng. On windows, it is sufficient to place the file in the main folder of the SAGA binary installation directory, where it is recognized automatically. On other OS, such a file can be specified in SAGA GUI with the &lt;em&gt;Language Translations&lt;/em&gt; parameter of the &lt;em&gt;Module Libraries Settings&lt;/em&gt;. After a restart of SAGA GUI, the translation file will be used. &lt;/p&gt;
&lt;p&gt;Binary releases of SAGA (at least the windows versions) include a &lt;em&gt;saga.lng.txt&lt;/em&gt; file in the main path, which can be used to create a new language file (the file is also available in the source code, see below). It only contains the first column (English). Simply load it with a text editor or with SAGA GUI and add your translations. &lt;/p&gt;
&lt;p&gt;There are several developer tools available to create and handle translation files. They are build into the module library &lt;strong&gt;Development Tools&lt;/strong&gt;, which is available in the SAGA sources. The module library contains three modules: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Extract Translatable Text Elements from Sources&lt;/strong&gt;: This module can be used to create a new English template file. The module parses the SAGA sources for translatable text and creates the English column of the translation file. &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Import Translations&lt;/strong&gt;: This module allows to import existing translations from a file into a more recent language file. &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Merge Translation Files&lt;/strong&gt;: This module allows to merge translation files into a single file containing all unique entries. &lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Existing language files are available in the sources under saga-gis/src/saga_core/saga_gui/res. &lt;/p&gt;&lt;/div&gt;</description><pubDate>Tue, 24 Jun 2014 16:42:20 -0000</pubDate><guid>https://sourceforge.net7b9a70a893472d5f0d36be7e5f917b0a175c97f8</guid></item></channel></rss>