comparison doc/config-manual/general_settings.tex @ 1132:03c404871d50

ISSUE23: Documentation how to add a language doc/trunk@1242 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 29 Jun 2010 10:28:51 +0000
parents 975bb59bb136
children 411b09d348ca
comparison
equal deleted inserted replaced
1131:cdf3391c8f39 1132:03c404871d50
75 main elements {\tt mapserver, velocity} 75 main elements {\tt mapserver, velocity}
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
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