Adding a new translation
Bedework has english, spanish and german translations included by default. These translations handle the translation of literals (‘save’, ‘cancel’, etc.) for your language. So, if your navigator has one of those languages as preferred language, no other steps are required to see Bedework in your language.
If you need a language other than these, perform the following steps. These steps outline the process used for the MainCampus calendar suite of the public web client, but the process would be the same for a different public calendar suite or for the the personal web client.
- Copy an existing translation, e.g. "default", "es_ES", or "de_DE" found in the Bedework source in
<quickstart>/bedework/deployment/webpublic/webapp/resources/demoskins/MainCampus/
cp <quickstart>/bedework/deployment/webpublic/webapp/resources/demoskins/MainCampus/es_ES <quickstart>/bedework/deployment/webpublic/webapp/resources/demoskins/MainCampus/fr_CA
- Update the MainCampus/YOUR_LANG/strings.xsl and MainCampus/YOUR_LANG/localeSettings.xsl files inside your new locale directory. Most changes will be to the strings.xsl file, translating the many strings used by the web client.
- IF you wish to use your new locale directory as the default language,
- rename MainCampus/default to MainCampus/en_US
- rename your new locale directory to MainCampus/default
When Bedework is rebuilt, your locale directory will be deployed to:
<quickstart>/jboss-5.1.0.GA/server/default/deploy/ROOT.war/calrsrc.MainCampus/YOUR_LANG
If you don't wish to rebuild, you can copy your directory in manually.