projects
/
samples
/
web
/
TizenWinset.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Tizen 2.0 Release
[samples/web/TizenWinset.git]
/
tips
/
custom-globalize-culture
/
en.js
1
( function ( ) {
2
3
var cultureInfo = {
4
messages: {
5
"hello" : "hello",
6
"translate" : "translate"
7
}
8
},
9
supportLang = [ "en", "en-US" ],
10
i, lang;
11
12
for ( i in supportLang ) {
13
lang = supportLang[ i ];
14
Globalize.addCultureInfo( lang, cultureInfo );
15
}
16
17
} ) ( );