diff doc/config-manual/general_settings.tex @ 1132:03c404871d50

ISSUE23: Documentation how to add a language doc/trunk@1242 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 29 Jun 2010 10:28:51 +0000
parents 975bb59bb136
children 411b09d348ca
line wrap: on
line diff
--- a/doc/config-manual/general_settings.tex	Fri Jun 25 13:57:44 2010 +0000
+++ b/doc/config-manual/general_settings.tex	Tue Jun 29 10:28:51 2010 +0000
@@ -77,3 +77,29 @@
     SQL-Statements" covering the main elements {\tt factories,
     artifacts}
 \end{enumerate}
+
+\subsection{Adding new Languages}
+The GNV-Server has the possibility to handle different languages.
+It is necessary to configure those languages.
+
+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 the content into the desired language.
+
+Please not that you have to do an new packaging of the modules gnv and gnv-artifacts
+to publish the new languages to the system.
+
+Also note, that the Web-Client currently only provide German an English as languages. 
+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