Kauri Documentation
 PreviousHomeNext 
11.3 Resource bundlesBook Index11.4.2 i18n() function

11.4 Templates integration

11.4.1 i18n:bundle attribute

This attribute defines from what bundle i18n messages should be retrieved. This attribute can occur on any element in the template, and applies to all content contained within the element (lexical scoping).

The i18n namespace is http://kauriproject.org/i18n

Example:

<html xmlns:i18n="http://kauriproject.org/i18n"
      i18n:bundle="org.myproject">
  ...
</html>
 PreviousHomeNext 
11.3 Resource bundles11.4.2 i18n() function