Mercurial > dive4elements > gnv-client
view doc/config-manual/adding_new_languages.tex @ 1137:bc1d817b80a4
Include README about how to actually build the documentation.
doc/trunk@4875 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 05 Jul 2012 16:32:37 +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.