Mercurial > dive4elements > gnv-client
comparison doc/config-manual/adding_new_languages.tex @ 1134:411b09d348ca
Some refactoring of 'Adding new Languages' section.
doc/trunk@1249 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 30 Jun 2010 08:52:49 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1133:cbfe708b9a17 | 1134:411b09d348ca |
---|---|
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. |