This special section describes how to configure a server that acts as a translation server. If you don't want to translate a language you can skip this section.
If you want to create a new language and translate it, please contact us first. The OLAT team operates a public translation server where all bundled languages are translated. You don't have to configure and operate your own translation server, we do this all for you!
So, this chapter is only relevant for people who want to translate their own languages and don't want to contribute the language to the OLAT project.
Here is what you have to do:
Check out the application project (olat3) from CVS or unzip the sources from a ZIP
Configure the application to run, if everything works, proceed with next
Check out the olatcore project (olatcore) from CVS or unzip the sources from a ZIP
Configure the brasato source path to this olatcore project in your olat.properties:
brasato.src=/opt/olatcore/src/main/java
Check out the application i18n project (olat3_i18n) from CVS or unzip the sources from a ZIP
Maybe this project is stored in your private CVS and not named like the example below. You could also use any other path to an existing directory here, this directory will contain the new created languages from your server. Configure the i18n path for the application files in your olat.properties:
i18n.application.src.dir =
/opt/olat3_i18n/src/main/java
Check out the olatcore i18n project (olatcore_i18n) from CVS or unzip the sources from a ZIP
This could well point to the same directory as the i18n application source dir! Configure the i18n path for the olatcore files in your olat.properties:
i18n.brasato.src.dir =
/opt/olatcore_i18n/src/main/java
Configure the system as a translation server
Set is.translation.server=true in your
olat.properties file
Remove the bundled language jar files from your
webapp/lib directory to reduce
conflicts
/webapp/WEB-INF/lib/olatcore_i18n_all-SNAPSHOT.jar
/webapp/WEB-INF/lib/olat3_i18n_all-SNAPSHOT.jar
Run ant config-all and restart tomcat.
When loggin in as administrator you will now see a menu
item Administration > Translation Tool. Create a new
language first as described above and then start the translation tool to
translate your new language.