diff doc/config-manual/adding_new_languages.tex @ 1134:411b09d348ca

Some refactoring of 'Adding new Languages' section. doc/trunk@1249 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 30 Jun 2010 08:52:49 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/config-manual/adding_new_languages.tex	Wed Jun 30 08:52:49 2010 +0000
@@ -0,0 +1,23 @@
+\subsection{Adding new Languages}
+The GNV-Server has the possibility to handle different languages. It is
+necessary to configure those.
+
+The configuration is divided into three steps:
+
+\begin{enumerate}
+   \item Adding the required resource-file to the GNV-Server
+   \\{\tt /gnv-artifacts/src/main/resources/lang }
+   \item Adding the required resource-file to the GNV-Web-Client
+   {\tt /gnv/src/main/resources}
+   \item Publishing the new language to the GNV-Server by adding the
+   language-code to the file 
+   \\{\tt /gnv-artifacts/src/main/resources/lang/lang.conf}
+\end{enumerate}
+
+To generate the resource-files it might be helpful to copy an existing one and
+translate its content into the desired language.
+
+Please note that you have to re-package the modules gnv and gnv-artifacts to
+enable the new languages - currently, only german and english are provided.
+If you want to provide further languages you have to change the toggle-mechanism
+for switching the language in the web-client.

http://dive4elements.wald.intevation.org