public class I18N extends Object
| Constructor and Description |
|---|
I18N() |
| Modifier and Type | Method and Description |
|---|---|
static ResourceBundle |
bundle(ITemplate template,
String name,
Locale locale) |
static ResourceBundle |
bundle(String name) |
static Locale |
locale() |
static Locale |
locale(ITemplate template)
Return a
template's current locale, or
the the current engine's
locale configuration
or finally the default locale with java.util.Locale.getDefault()
call |
public static Locale locale(ITemplate template)
template's current locale, or
the the current engine's
locale configuration
or finally the default locale with java.util.Locale.getDefault()
calltemplate - the template being executingpublic static Locale locale()
public static ResourceBundle bundle(String name)
public static ResourceBundle bundle(ITemplate template, String name, Locale locale)
Copyright © 2015. All Rights Reserved.