| toc | |||||||||||||||
| <mm:locale>
Sets a locale. Tags living in its body can request the Locale from it, if they need it. A `locale' is more or less like a `language', but it is a little more. E.g. when formatting a date it is needed to know what the conventions are for the order of the fields, and what kind of characters to use to separate them. Another example is the formatting of numbers, which is also ruled by `locale' conventions. See JavaDoc for Locale class (A little technical, but at least you'll find links to possible languages and countries, and another short description of what a Locale actually is). Also the fmt tags of JSTL will recognize this setting (since mmbase 1.8). Since 1.7 there is also a content tag, which is an extension of the locale tag. You could probably just as well use only an mm:content. The exceptional value 'client' for the 'language' will set the locale to the preference specified by the client. |
|||||||||||||||
| see also | cloud | time | content | ||||||||||||||
| attributes |
|
||||||||||||||
| example 1 |
|
||||||||||||||