view doc/config-manual/adding_new_languages.tex @ 1136:17c3770e6c63

Added corrections and wishes of the training on the installation which was given to the BSH. doc/trunk@1257 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 13 Aug 2010 09:15:20 +0000
parents 411b09d348ca
children
line wrap: on
line source
\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