changeset 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 cbfe708b9a17
children 706df18f0c01
files doc/ChangeLog doc/config-manual/adding_new_languages.tex doc/config-manual/config-manual.tex doc/config-manual/general_settings.tex
diffstat 4 files changed, 34 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/doc/ChangeLog	Tue Jun 29 12:08:30 2010 +0000
+++ b/doc/ChangeLog	Wed Jun 30 08:52:49 2010 +0000
@@ -1,3 +1,13 @@
+2010-06-30  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	* config-manual/general_settings.tex: Removed section 'Adding new
+	  Languages'. This section should be placed in an own file.
+
+	* config-manual/adding_new_languages.tex: New file for section 'Adding new
+	  Languages'.
+
+	* config-manual/config-manual.tex: Include section 'Adding new Languages'.
+
 2010-06-29  Tim Englich <tim@intevation.de>
 
 	* admin-manual/installation-base.tex:
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/config-manual/adding_new_languages.tex	Wed Jun 30 08:52:49 2010 +0000
@@ -0,0 +1,23 @@
+\subsection{Adding new Languages}
+The GNV-Server has the possibility to handle different languages. It is
+necessary to configure those.
+
+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 its content into the desired language.
+
+Please note that you have to re-package the modules gnv and gnv-artifacts to
+enable the new languages - currently, only german and english are provided.
+If you want to provide further languages you have to change the toggle-mechanism
+for switching the language in the web-client.
--- a/doc/config-manual/config-manual.tex	Tue Jun 29 12:08:30 2010 +0000
+++ b/doc/config-manual/config-manual.tex	Wed Jun 30 08:52:49 2010 +0000
@@ -200,6 +200,7 @@
 \include{administering_artifact-server}
 \include{generating_charts}
 \include{generating_maps}
+\include{adding_new_languages}
 \include{model_of_transitions}
 \include{miscellanea}
 \end{document}
--- a/doc/config-manual/general_settings.tex	Tue Jun 29 12:08:30 2010 +0000
+++ b/doc/config-manual/general_settings.tex	Wed Jun 30 08:52:49 2010 +0000
@@ -78,28 +78,3 @@
     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.
-

http://dive4elements.wald.intevation.org