[daisy] [JIRA] Created: (DSY-660) improve the javascript i18n system to prevent 'undefined' messages

Karel Vervaeke (JIRA) issues at cocoondev.org
Wed Jun 18 14:51:27 CEST 2008


improve the javascript i18n system to prevent 'undefined' messages
------------------------------------------------------------------

         Key: DSY-660
         URL: http://issues.cocoondev.org//browse/DSY-660
     Project: Daisy
        Type: Improvement
  Components: Frontend (wiki)  
 Reporter: Karel Vervaeke
    Priority: Minor


Currently we use the standard dojo approach for i18n in javascript.
When a translation bundle does not contain a particular key (e.g. because it was only added to the default messages.js),
the resulting displayed message says 'undefined'.
Currently this can only be solved by making sure all translation bundles contain the required keys.

We should implement a fallback-to-default mechanism to prevent 'undefined' messages so that we do not need to concern ourselves with updating the translation bundles.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the daisy mailing list