diff options
Diffstat (limited to 'demos/tizen-winsets/tips/custom-globalize-culture/en.js')
-rw-r--r-- | demos/tizen-winsets/tips/custom-globalize-culture/en.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/demos/tizen-winsets/tips/custom-globalize-culture/en.js b/demos/tizen-winsets/tips/custom-globalize-culture/en.js new file mode 100644 index 00000000..97574a1e --- /dev/null +++ b/demos/tizen-winsets/tips/custom-globalize-culture/en.js @@ -0,0 +1,17 @@ +( function ( ) { + + var cultureInfo = { + messages: { + "hello" : "hello", + "translate" : "translate" + } + }, + supportLang = [ "en", "en-US" ], + i, lang; + + for ( i in supportLang ) { + lang = supportLang[ i ]; + Globalize.addCultureInfo( lang, cultureInfo ); + } + +} ) ( ); |