comparison doc/config-manual/general_settings.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 03c404871d50
children
comparison
equal deleted inserted replaced
1133:cbfe708b9a17 1134:411b09d348ca
76 \item "Configuring FIS, Products, States, Transitions and 76 \item "Configuring FIS, Products, States, Transitions and
77 SQL-Statements" covering the main elements {\tt factories, 77 SQL-Statements" covering the main elements {\tt factories,
78 artifacts} 78 artifacts}
79 \end{enumerate} 79 \end{enumerate}
80 80
81 \subsection{Adding new Languages}
82 The GNV-Server has the possibility to handle different languages.
83 It is necessary to configure those languages.
84
85 The configuration is divided into three steps
86
87 \begin{enumerate}
88 \item Adding the required resource-file to the GNV-Server
89 {\tt /gnv-artifacts/src/main/resources/lang }
90 \item Adding the required resource-file to the GNV-Web-Client
91 {\tt /gnv/src/main/resources}
92 \item Publishing the new language to the GNV-Server by adding the
93 language-code to the file {\tt /gnv-artifacts/src/main/resources/lang/lang.conf}
94 \end{enumerate}
95
96 To generate the resource-files it might be helpful to copy an existing one and
97 translate the content into the desired language.
98
99 Please not that you have to do an new packaging of the modules gnv and gnv-artifacts
100 to publish the new languages to the system.
101
102 Also note, that the Web-Client currently only provide German an English as languages.
103 If you want to provide further languages you have to change the toggle-mechanism for
104 switching the language in the web-client.
105

http://dive4elements.wald.intevation.org