changeset 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 cdf3391c8f39
children cbfe708b9a17
files doc/ChangeLog doc/config-manual/general_settings.tex
diffstat 2 files changed, 32 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/ChangeLog	Fri Jun 25 13:57:44 2010 +0000
+++ b/doc/ChangeLog	Tue Jun 29 10:28:51 2010 +0000
@@ -1,3 +1,9 @@
+2010-06-29  Tim Englich  <tim@intevation.de>
+
+	* config-manual/general_settings.tex:
+	Added section with the description how to add a new
+	language to the system into the config-manual.
+
 2010-06-25  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
 	* licenses/overview.txt: Overview of external libs and its licenses.
--- 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