Lately we have received a lot of questions regarding translations in JForum. We have also received some contributions with updates for existing translations and new ones spread across the forums.
We will try to move earlier discussions regarding translations into this forum in the next couple of weeks.
This document tries to explain what files you will need to translate in order to have a full translation for JForum 2.1.7. Hopefully this will make things easier for the people that are so kind to contribute such a translation to the community.
Let's say that we want to create a new translation for the language xx_XX. Then you will need to do the following steps:
1. Copy ./WEB-INF/config/languages/en_US.properties to ./WEB-INF/config/languages/xx_XX.properties, and translate the file.
2. Add the line 'xx_XX = xx_XX.properties' to the end of ./WEB-INF/config/languages/locales.properties
3. Copy ./templates/agreement/terms_en_US.txt to ./templates/agreement/terms_xx_XX,txt, and translate the new file.
4. Create the directory ./templates/default/images/xx_XX and copy the images in ./templates/default/images/en_US into this new directory. Use your favorite image editor to translate these buttons. (Yes, we now this is the uncool part of the translation process)
5. Copy ./templates/default/styles/en_US.css to ./templates/default/styles/xx_XX.css. Change the paths in the new file so that they points to your new image directory for your translation.
6. Create the directory ./templates/mail/xx_XX and copy the .txt files in ./templates/mail into this new directory. Then translate the new files inside xx_XX.
7. Plase post these files on this forum, and we will make sure they will be made available for download.
NB! If you download JForum from our CVS repository you will find a perl script (tools/i18n/bin/tValidator.pl) that can help you locate missings or errors in your translation.
Example of use ./tValidator.pl /home/jakob/jforum xx_XX
In JForum 3 translations will most likely be packages that are downloaded from the JForum project site, instead of being shipped with releases. This will make it a lot easier to maintain a release.
We really appriciate all the help we can get with the translations!
So keep up the good work
/The JForum Team
[originally posted on jforum.net by lazee]