5.18.3 Overview of the resource bundle files
Below is an overview of the translatable resources that currently exists. The given directory paths refer to locations inside the source tree, in the binary distribution these locations are a bit different (and the .property files are bundled inside the jar files). See further on this page for practical instructions.
- the Daisy Wiki
- General
applications/daisywiki/frontend/src/cocoon/webapp/ daisy/resources/i18n/messages_<lang>.xml
- Skin-specific messages
applications/daisywiki/frontend/src/cocoon/webapp/ daisy/resources/skins/default/i18n/messages_<lang>.xml
- Daisy HTMLArea plugins
applications/daisywiki/frontend/src/cocoon/webapp/ daisy/resources/cocoon/forms/htmlarea/plugins/*/lang/<lang>.js
- Daisy Wiki initialisation program
install/src/java/org/outerj/daisy/install/daisywiki_schema.xml (this is the same file for all languages)
- Java messages
applications/daisywiki/frontend/src/java/org/outerj/daisy/ frontend/components/userregistrar/messages_<lang>.properties
- Navigation & book tree editor
applications/daisywiki/frontend/src/cocoon/webapp/daisy/ resources/navtree_editor/lang/navtree_<lang>.js
and
applications/daisywiki/frontend/src/cocoon/webapp/daisy/ resources/tree_editor/lang/tree_<lang>.js
and
applications/daisywiki/frontend/src/cocoon/webapp/daisy/ resources/book_editor/lang/booktree_<lang>.js
- Books functionality
applications/daisywiki/frontend/src/cocooon/webapp/daisy/ books/publicationtypes/common/i18n/messages_<lang>.xml
and
applications/daisywiki/frontend/src/cocooon/webapp/daisy/ books/publicationtypes/html-chunked/i18n/messages_<lang>.xml
- Dojo widgets
applications/daisywiki/frontend/src/cocoon/webapp/daisy/ resources/js/widget/nls/...
- repository server messages:
- exceptions
repository/api/src/java/org/outerj/daisy/repository/messages_<lang>.properties
- identifier titles
repository/server/src/java/org/outerj/daisy/query/model/messages_<lang>.properties
- diff component
services/diff/src/java/org/outerj/daisy/diff/messages_<lang>.properties
- workflow
services/workflow/server-impl/src/java/org/outerj/daisy/ workflow/serverimpl/messages_<lang>.properties
- email notifications
-
services/emailnotifier/server-impl/src/java/org/outerj/daisy/ emailnotifier/serverimpl/formatters/messages_<lang>.properties
- workflow processes
-
services/workflow/server-impl/src/processes/*/i18n/* services/workflow/server-impl/src/processes/common-i18n/*
- resources not part of Daisy
- messages of CForms (mostly validation errors, part of Cocoon)
- HTMLArea and its "TableOperations" plugin. HTMLArea itself is already translated in many languages, but its TableOperations plugin not.
To make the new language appear on the locale selection page, its ISO language code should be added to the following file:
applications/daisywiki/frontend/src/cocoon/webapp/daisy/resources/conf/locales.txt
Previous