Mercurial > dive4elements > gnv-client
comparison doc/config-manual/adding_new_languages.tex @ 1138:2c00570ab3bd
merged doc
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:02 +0200 |
parents | 411b09d348ca |
children |
comparison
equal
deleted
inserted
replaced
1129:ccfa07b88476 | 1138:2c00570ab3bd |
---|---|
1 \subsection{Adding new Languages} | |
2 The GNV-Server has the possibility to handle different languages. It is | |
3 necessary to configure those. | |
4 | |
5 The configuration is divided into three steps: | |
6 | |
7 \begin{enumerate} | |
8 \item Adding the required resource-file to the GNV-Server | |
9 \\{\tt /gnv-artifacts/src/main/resources/lang } | |
10 \item Adding the required resource-file to the GNV-Web-Client | |
11 {\tt /gnv/src/main/resources} | |
12 \item Publishing the new language to the GNV-Server by adding the | |
13 language-code to the file | |
14 \\{\tt /gnv-artifacts/src/main/resources/lang/lang.conf} | |
15 \end{enumerate} | |
16 | |
17 To generate the resource-files it might be helpful to copy an existing one and | |
18 translate its content into the desired language. | |
19 | |
20 Please note that you have to re-package the modules gnv and gnv-artifacts to | |
21 enable the new languages - currently, only german and english are provided. | |
22 If you want to provide further languages you have to change the toggle-mechanism | |
23 for switching the language in the web-client. |