Custom translations

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.

  1. 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/

    Example:
    cp <quickstart>/bedework/deployment/webpublic/webapp/resources/demoskins/MainCampus/es_ES <quickstart>/bedework/deployment/webpublic/webapp/resources/demoskins/MainCampus/fr_CA



  2. Update the MainCampus/YOUR_LANG/strings.xsl and MainCampus/YOUR_LANG/localeSettings.xslfiles inside your new locale directory.  Most changes will be to the strings.xsl file, translating the many strings used by the web client.
    • The strings.xsl file contains a long list of strings used in the web client user interface.
    • The localeSettings.xsl file contains layout templates for locale-specific date handling.  At the moment, this includes only the settings for the javascript calendar widget used in the public web client.

  3. IF you wish to use your new locale directory as the default language,
    1. rename MainCampus/default to MainCampus/en_US
    2. 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.

Using Apache to front Bedework?

If you're using Apache in front of Bedework, and you've moved your theme directories to be served out of Apache, make sure you manually copy your new locale directory to that location.

Add your new locale to the list of supported locales in the administrative web client

In the admin client, visit System --> Manage System Preferences, and enter the locales in the "Supported Locales" field.  (It is the last field on the page.)  This field accepts a comma separated list of locales (e.g. "en_US,es_ES" ).

Bedework Enterprise Calendar Server, version 3.10