Current CMS i18n implementation uses file /i18n.js which contains object
"messages" containing all localized messages from message bundle for current
user locale as properties with message key as names.
If you forgot to insert new message to message bundle then you can get an
exception in Javascript code because object messages will not have required
property.
Change message from object to function. Add logic for producing __message_key__
if such message not found.
Original issue reported on code.google.com by kinyelo@gmail.com on 26 Jul 2010 at 4:51
Original issue reported on code.google.com by
kinyelo@gmail.com
on 26 Jul 2010 at 4:51