Versions Compared

Key

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

...

  • Resource bundles in core, plugins and project are loaded. Core resources are overridden by plugin resources, plugin resources are overridden in as they are defined in the farcryInit tag (last overrides first), and project resources override all.
  • Locales available in the application now get defined in the farcryInit tag (locales attribute)
  • Webtop localisation has been refactored
  • COAPI localisation - property labels, fieldsets, steps, etc are now translated
  • A plugin to help developers manage and create resource bundlesResource Bundle Plugin
  • Resource bundles for core, common plugins, projects
  • Engage community for translations

...

Translations of type, rule, and form text can currently be accessed through various i18n methods. In most cases these won't be necessary as all formtool tags are now automatically translated.

RBManage plugin

The default behaviour of the new resource bundle manager is to simply return default values if a key isn't found. This plugin extends this functionality with logging. When installed on your dev machine (DO NOT INSTALL ON A PRODUCTION BOX) you gain access to reports on the status of i18n requests in your application.

The reports provided at the moment are:

  • Missing keys - requests that resulted in the default value (or the value from the base bundle instead of the locale bundle) being returned
  • Unused keys - keys that were never requested
  • Changed defaults - if you have already created resource bundles then change the default values this report will highlight the discrepencies

Generating the resource bundles is as simple as selecting the bundle (core, plugin or project) and locale indicating if the keys should be marked as translated in the bundle and clicking update.

...