Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Adding a new translation

...

  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/

    Code Block
    languagebash
    titleExample:
    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

...

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" ).