# HG changeset patch # User Tim Englich # Date 1277807331 0 # Node ID 03c404871d50b2c235c78914e0bee53db7629ce7 # Parent cdf3391c8f398fbf80ccb2919d3921b22de0392e ISSUE23: Documentation how to add a language doc/trunk@1242 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r cdf3391c8f39 -r 03c404871d50 doc/ChangeLog --- a/doc/ChangeLog Fri Jun 25 13:57:44 2010 +0000 +++ b/doc/ChangeLog Tue Jun 29 10:28:51 2010 +0000 @@ -1,3 +1,9 @@ +2010-06-29 Tim Englich + + * config-manual/general_settings.tex: + Added section with the description how to add a new + language to the system into the config-manual. + 2010-06-25 Ingo Weinzierl * licenses/overview.txt: Overview of external libs and its licenses. diff -r cdf3391c8f39 -r 03c404871d50 doc/config-manual/general_settings.tex --- a/doc/config-manual/general_settings.tex Fri Jun 25 13:57:44 2010 +0000 +++ b/doc/config-manual/general_settings.tex Tue Jun 29 10:28:51 2010 +0000 @@ -77,3 +77,29 @@ SQL-Statements" covering the main elements {\tt factories, artifacts} \end{enumerate} + +\subsection{Adding new Languages} +The GNV-Server has the possibility to handle different languages. +It is necessary to configure those languages. + +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 the content into the desired language. + +Please not that you have to do an new packaging of the modules gnv and gnv-artifacts +to publish the new languages to the system. + +Also note, that the Web-Client currently only provide German an English as languages. +If you want to provide further languages you have to change the toggle-mechanism for +switching the language in the web-client. +