incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deedu...@apache.org
Subject [2/3] CB-1621 Add Globalization Plug-in for BlackBerry.
Date Fri, 12 Oct 2012 18:03:14 GMT
http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/lv_LV.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/lv_LV.js.gz b/bin/templates/project/www/res/resourceBundles/lv_LV.js.gz
new file mode 100644
index 0000000..b877f68
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/lv_LV.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/lv_LV_EURO.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/lv_LV_EURO.js.gz b/bin/templates/project/www/res/resourceBundles/lv_LV_EURO.js.gz
new file mode 100644
index 0000000..9a4fa57
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/lv_LV_EURO.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/lv_LV_PREEURO.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/lv_LV_PREEURO.js.gz b/bin/templates/project/www/res/resourceBundles/lv_LV_PREEURO.js.gz
new file mode 100644
index 0000000..757c861
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/lv_LV_PREEURO.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/mk.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/mk.js.gz b/bin/templates/project/www/res/resourceBundles/mk.js.gz
new file mode 100644
index 0000000..b437e2b
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/mk.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/mk_MK.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/mk_MK.js.gz b/bin/templates/project/www/res/resourceBundles/mk_MK.js.gz
new file mode 100644
index 0000000..9dba801
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/mk_MK.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/ml_IN.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/ml_IN.js.gz b/bin/templates/project/www/res/resourceBundles/ml_IN.js.gz
new file mode 100644
index 0000000..f0553f1
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/ml_IN.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/mr.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/mr.js.gz b/bin/templates/project/www/res/resourceBundles/mr.js.gz
new file mode 100644
index 0000000..3f00081
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/mr.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/mr_IN.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/mr_IN.js.gz b/bin/templates/project/www/res/resourceBundles/mr_IN.js.gz
new file mode 100644
index 0000000..3f4e42f
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/mr_IN.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/ms.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/ms.js.gz b/bin/templates/project/www/res/resourceBundles/ms.js.gz
new file mode 100644
index 0000000..47b15ab
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/ms.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/ms_MY.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/ms_MY.js.gz b/bin/templates/project/www/res/resourceBundles/ms_MY.js.gz
new file mode 100644
index 0000000..d4b42f4
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/ms_MY.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/mt.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/mt.js.gz b/bin/templates/project/www/res/resourceBundles/mt.js.gz
new file mode 100644
index 0000000..f46acdf
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/mt.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/mt_MT.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/mt_MT.js.gz b/bin/templates/project/www/res/resourceBundles/mt_MT.js.gz
new file mode 100644
index 0000000..65bd5d4
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/mt_MT.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/mt_MT_EURO.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/mt_MT_EURO.js.gz b/bin/templates/project/www/res/resourceBundles/mt_MT_EURO.js.gz
new file mode 100644
index 0000000..c371c5a
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/mt_MT_EURO.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/mt_MT_PREEURO.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/mt_MT_PREEURO.js.gz b/bin/templates/project/www/res/resourceBundles/mt_MT_PREEURO.js.gz
new file mode 100644
index 0000000..272ed07
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/mt_MT_PREEURO.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/nb_NO.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/nb_NO.js.gz b/bin/templates/project/www/res/resourceBundles/nb_NO.js.gz
new file mode 100644
index 0000000..953b051
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/nb_NO.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/nl.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/nl.js.gz b/bin/templates/project/www/res/resourceBundles/nl.js.gz
new file mode 100644
index 0000000..1fc0521
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/nl.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/nl_BE.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/nl_BE.js.gz b/bin/templates/project/www/res/resourceBundles/nl_BE.js.gz
new file mode 100644
index 0000000..4ea4bd5
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/nl_BE.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/nl_BE_PREEURO.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/nl_BE_PREEURO.js.gz b/bin/templates/project/www/res/resourceBundles/nl_BE_PREEURO.js.gz
new file mode 100644
index 0000000..b69f55a
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/nl_BE_PREEURO.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/nl_NL.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/nl_NL.js.gz b/bin/templates/project/www/res/resourceBundles/nl_NL.js.gz
new file mode 100644
index 0000000..f10c527
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/nl_NL.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/nl_NL_PREEURO.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/nl_NL_PREEURO.js.gz b/bin/templates/project/www/res/resourceBundles/nl_NL_PREEURO.js.gz
new file mode 100644
index 0000000..a36a696
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/nl_NL_PREEURO.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/no.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/no.js.gz b/bin/templates/project/www/res/resourceBundles/no.js.gz
new file mode 100644
index 0000000..2828495
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/no.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/no_NO.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/no_NO.js.gz b/bin/templates/project/www/res/resourceBundles/no_NO.js.gz
new file mode 100644
index 0000000..f027493
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/no_NO.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/no_NO_NY.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/no_NO_NY.js.gz b/bin/templates/project/www/res/resourceBundles/no_NO_NY.js.gz
new file mode 100644
index 0000000..71e5b02
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/no_NO_NY.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/or_IN.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/or_IN.js.gz b/bin/templates/project/www/res/resourceBundles/or_IN.js.gz
new file mode 100644
index 0000000..fcec744
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/or_IN.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/pa.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/pa.js.gz b/bin/templates/project/www/res/resourceBundles/pa.js.gz
new file mode 100644
index 0000000..a818414
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/pa.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/pa_IN.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/pa_IN.js.gz b/bin/templates/project/www/res/resourceBundles/pa_IN.js.gz
new file mode 100644
index 0000000..e86fc9d
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/pa_IN.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/pl.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/pl.js.gz b/bin/templates/project/www/res/resourceBundles/pl.js.gz
new file mode 100644
index 0000000..92a36df
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/pl.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/pl_PL.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/pl_PL.js.gz b/bin/templates/project/www/res/resourceBundles/pl_PL.js.gz
new file mode 100644
index 0000000..be45a80
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/pl_PL.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/pl_PL_EURO.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/pl_PL_EURO.js.gz b/bin/templates/project/www/res/resourceBundles/pl_PL_EURO.js.gz
new file mode 100644
index 0000000..ad0dd65
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/pl_PL_EURO.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/pl_PL_PREEURO.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/pl_PL_PREEURO.js.gz b/bin/templates/project/www/res/resourceBundles/pl_PL_PREEURO.js.gz
new file mode 100644
index 0000000..a0c6116
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/pl_PL_PREEURO.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/pt.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/pt.js.gz b/bin/templates/project/www/res/resourceBundles/pt.js.gz
new file mode 100644
index 0000000..1a02bc1
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/pt.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/pt_BR.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/pt_BR.js.gz b/bin/templates/project/www/res/resourceBundles/pt_BR.js.gz
new file mode 100644
index 0000000..89adc5e
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/pt_BR.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/pt_PT.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/pt_PT.js.gz b/bin/templates/project/www/res/resourceBundles/pt_PT.js.gz
new file mode 100644
index 0000000..9f38787
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/pt_PT.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/pt_PT_PREEURO.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/pt_PT_PREEURO.js.gz b/bin/templates/project/www/res/resourceBundles/pt_PT_PREEURO.js.gz
new file mode 100644
index 0000000..5adb184
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/pt_PT_PREEURO.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/ro.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/ro.js.gz b/bin/templates/project/www/res/resourceBundles/ro.js.gz
new file mode 100644
index 0000000..3e04e6e
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/ro.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/ro_RO.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/ro_RO.js.gz b/bin/templates/project/www/res/resourceBundles/ro_RO.js.gz
new file mode 100644
index 0000000..1ef6e7d
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/ro_RO.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/ru.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/ru.js.gz b/bin/templates/project/www/res/resourceBundles/ru.js.gz
new file mode 100644
index 0000000..664de07
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/ru.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/ru_RU.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/ru_RU.js.gz b/bin/templates/project/www/res/resourceBundles/ru_RU.js.gz
new file mode 100644
index 0000000..49bc219
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/ru_RU.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sh.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sh.js.gz b/bin/templates/project/www/res/resourceBundles/sh.js.gz
new file mode 100644
index 0000000..3db9b20
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sh.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sh_CS.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sh_CS.js.gz b/bin/templates/project/www/res/resourceBundles/sh_CS.js.gz
new file mode 100644
index 0000000..0f62a17
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sh_CS.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sk.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sk.js.gz b/bin/templates/project/www/res/resourceBundles/sk.js.gz
new file mode 100644
index 0000000..8636208
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sk.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sk_SK.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sk_SK.js.gz b/bin/templates/project/www/res/resourceBundles/sk_SK.js.gz
new file mode 100644
index 0000000..dfb2908
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sk_SK.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sk_SK_EURO.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sk_SK_EURO.js.gz b/bin/templates/project/www/res/resourceBundles/sk_SK_EURO.js.gz
new file mode 100644
index 0000000..baddfcf
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sk_SK_EURO.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sk_SK_PREEURO.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sk_SK_PREEURO.js.gz b/bin/templates/project/www/res/resourceBundles/sk_SK_PREEURO.js.gz
new file mode 100644
index 0000000..e1cc9e0
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sk_SK_PREEURO.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sl.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sl.js.gz b/bin/templates/project/www/res/resourceBundles/sl.js.gz
new file mode 100644
index 0000000..ac93f3e
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sl.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sl_SI.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sl_SI.js.gz b/bin/templates/project/www/res/resourceBundles/sl_SI.js.gz
new file mode 100644
index 0000000..7286da1
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sl_SI.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sl_SI_PREEURO.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sl_SI_PREEURO.js.gz b/bin/templates/project/www/res/resourceBundles/sl_SI_PREEURO.js.gz
new file mode 100644
index 0000000..1eabc09
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sl_SI_PREEURO.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sq.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sq.js.gz b/bin/templates/project/www/res/resourceBundles/sq.js.gz
new file mode 100644
index 0000000..0a5f716
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sq.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sq_AL.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sq_AL.js.gz b/bin/templates/project/www/res/resourceBundles/sq_AL.js.gz
new file mode 100644
index 0000000..2969ca7
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sq_AL.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sr.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sr.js.gz b/bin/templates/project/www/res/resourceBundles/sr.js.gz
new file mode 100644
index 0000000..45a8f4b
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sr.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sr_BA.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sr_BA.js.gz b/bin/templates/project/www/res/resourceBundles/sr_BA.js.gz
new file mode 100644
index 0000000..89f8484
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sr_BA.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sr_CS.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sr_CS.js.gz b/bin/templates/project/www/res/resourceBundles/sr_CS.js.gz
new file mode 100644
index 0000000..9d3d758
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sr_CS.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sr_ME.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sr_ME.js.gz b/bin/templates/project/www/res/resourceBundles/sr_ME.js.gz
new file mode 100644
index 0000000..d50466e
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sr_ME.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sr_RS.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sr_RS.js.gz b/bin/templates/project/www/res/resourceBundles/sr_RS.js.gz
new file mode 100644
index 0000000..66e041f
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sr_RS.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sr_RS_Cyrl.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sr_RS_Cyrl.js.gz b/bin/templates/project/www/res/resourceBundles/sr_RS_Cyrl.js.gz
new file mode 100644
index 0000000..9cc15d6
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sr_RS_Cyrl.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sr_RS_Latn.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sr_RS_Latn.js.gz b/bin/templates/project/www/res/resourceBundles/sr_RS_Latn.js.gz
new file mode 100644
index 0000000..a3a9a93
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sr_RS_Latn.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sv.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sv.js.gz b/bin/templates/project/www/res/resourceBundles/sv.js.gz
new file mode 100644
index 0000000..eec6524
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sv.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sv_SE.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sv_SE.js.gz b/bin/templates/project/www/res/resourceBundles/sv_SE.js.gz
new file mode 100644
index 0000000..ec4b9a7
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sv_SE.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sv_SE_EURO.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sv_SE_EURO.js.gz b/bin/templates/project/www/res/resourceBundles/sv_SE_EURO.js.gz
new file mode 100644
index 0000000..2f860b9
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sv_SE_EURO.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/sv_SE_PREEURO.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/sv_SE_PREEURO.js.gz b/bin/templates/project/www/res/resourceBundles/sv_SE_PREEURO.js.gz
new file mode 100644
index 0000000..1bfce15
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/sv_SE_PREEURO.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/ta.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/ta.js.gz b/bin/templates/project/www/res/resourceBundles/ta.js.gz
new file mode 100644
index 0000000..d7581ea
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/ta.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/ta_IN.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/ta_IN.js.gz b/bin/templates/project/www/res/resourceBundles/ta_IN.js.gz
new file mode 100644
index 0000000..d94fe66
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/ta_IN.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/te.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/te.js.gz b/bin/templates/project/www/res/resourceBundles/te.js.gz
new file mode 100644
index 0000000..c69b725
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/te.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/te_IN.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/te_IN.js.gz b/bin/templates/project/www/res/resourceBundles/te_IN.js.gz
new file mode 100644
index 0000000..2f21145
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/te_IN.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/th.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/th.js.gz b/bin/templates/project/www/res/resourceBundles/th.js.gz
new file mode 100644
index 0000000..13b44cc
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/th.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/th_TH.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/th_TH.js.gz b/bin/templates/project/www/res/resourceBundles/th_TH.js.gz
new file mode 100644
index 0000000..9a44dfe
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/th_TH.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/th_TH_TH.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/th_TH_TH.js.gz b/bin/templates/project/www/res/resourceBundles/th_TH_TH.js.gz
new file mode 100644
index 0000000..cfd9252
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/th_TH_TH.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/tr.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/tr.js.gz b/bin/templates/project/www/res/resourceBundles/tr.js.gz
new file mode 100644
index 0000000..f54579f
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/tr.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/tr_TR.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/tr_TR.js.gz b/bin/templates/project/www/res/resourceBundles/tr_TR.js.gz
new file mode 100644
index 0000000..27e9cd3
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/tr_TR.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/uk.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/uk.js.gz b/bin/templates/project/www/res/resourceBundles/uk.js.gz
new file mode 100644
index 0000000..246525c
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/uk.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/uk_UA.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/uk_UA.js.gz b/bin/templates/project/www/res/resourceBundles/uk_UA.js.gz
new file mode 100644
index 0000000..f73c575
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/uk_UA.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/vi.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/vi.js.gz b/bin/templates/project/www/res/resourceBundles/vi.js.gz
new file mode 100644
index 0000000..7a47737
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/vi.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/vi_VN.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/vi_VN.js.gz b/bin/templates/project/www/res/resourceBundles/vi_VN.js.gz
new file mode 100644
index 0000000..9cdd564
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/vi_VN.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/zh.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/zh.js.gz b/bin/templates/project/www/res/resourceBundles/zh.js.gz
new file mode 100644
index 0000000..ea819e5
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/zh.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/zh_CN.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/zh_CN.js.gz b/bin/templates/project/www/res/resourceBundles/zh_CN.js.gz
new file mode 100644
index 0000000..eeddad9
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/zh_CN.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/zh_HK.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/zh_HK.js.gz b/bin/templates/project/www/res/resourceBundles/zh_HK.js.gz
new file mode 100644
index 0000000..63130e3
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/zh_HK.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/zh_SG.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/zh_SG.js.gz b/bin/templates/project/www/res/resourceBundles/zh_SG.js.gz
new file mode 100644
index 0000000..ced2c42
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/zh_SG.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/bin/templates/project/www/res/resourceBundles/zh_TW.js.gz
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/resourceBundles/zh_TW.js.gz b/bin/templates/project/www/res/resourceBundles/zh_TW.js.gz
new file mode 100644
index 0000000..105e4fa
Binary files /dev/null and b/bin/templates/project/www/res/resourceBundles/zh_TW.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/framework/ext/src/org/apache/cordova/globalization/Globalization.java
----------------------------------------------------------------------
diff --git a/framework/ext/src/org/apache/cordova/globalization/Globalization.java b/framework/ext/src/org/apache/cordova/globalization/Globalization.java
new file mode 100644
index 0000000..e6aaae5
--- /dev/null
+++ b/framework/ext/src/org/apache/cordova/globalization/Globalization.java
@@ -0,0 +1,558 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.cordova.globalization;
+
+import org.apache.cordova.json4j.JSONArray;
+import org.apache.cordova.json4j.JSONObject;
+
+import org.apache.cordova.api.Plugin;
+import org.apache.cordova.api.PluginResult;
+
+import net.rim.device.api.i18n.Locale;
+import net.rim.device.api.i18n.SimpleDateFormat;
+import net.rim.device.api.util.TimeZoneUtilities;
+import javax.microedition.global.Formatter;
+
+import java.util.Date;
+import java.util.Calendar;
+import java.util.TimeZone;
+import java.lang.Long;
+
+public class Globalization extends Plugin {
+
+    /**
+     * Executes the requested action and returns a PluginResult.
+     *
+     * @param action
+     *            The action to execute.
+     * @param data
+     *            JSONArry of arguments for the action.
+     * @param callbackId
+     *            The callback ID to be invoked upon action completion
+     * @return A PluginResult object with a status and message.
+     */
+    public PluginResult execute(String action, JSONArray data, String callbackId) {
+        JSONObject obj = new JSONObject();
+
+        try {
+            if (action.equals(Resources.GETLOCALENAME)) {
+                obj = getLocaleName();
+            } else if (action.equals(Resources.GETPREFERREDLANGUAGE)) {
+                obj = getPreferredLanguage();
+            } else if (action.equalsIgnoreCase(Resources.DATETOSTRING)) {
+                obj = getDateToString(data);
+            } else if (action.equalsIgnoreCase(Resources.STRINGTODATE)) {
+                obj = getStringToDate(data);
+            } else if (action.equalsIgnoreCase(Resources.GETDATEPATTERN)) {
+                obj = getDatePattern(data);
+            } else if (action.equalsIgnoreCase(Resources.GETDATENAMES)) {
+                obj = getDateNames(data);
+            } else if (action.equalsIgnoreCase(Resources.ISDAYLIGHTSAVINGSTIME)) {
+                obj = getIsDayLightSavingsTime(data);
+            } else if (action.equalsIgnoreCase(Resources.GETFIRSTDAYOFWEEK)) {
+                obj = getFirstDayOfWeek(data);
+            } else if (action.equalsIgnoreCase(Resources.NUMBERTOSTRING)) {
+                obj = getNumberToString(data);
+            } else if (action.equalsIgnoreCase(Resources.STRINGTONUMBER)) {
+                obj = getStringToNumber(data);
+            } else if (action.equalsIgnoreCase(Resources.GETNUMBERPATTERN)) {
+                obj = getNumberPattern(data);
+            } else if (action.equalsIgnoreCase(Resources.GETCURRENCYPATTERN)) {
+                obj = getCurrencyPattern(data);
+            } else {
+                return new PluginResult(PluginResult.Status.INVALID_ACTION);
+            }
+        } catch (GlobalizationError ge) {
+            return new PluginResult(PluginResult.Status.ERROR, ge.toJson());
+        } catch (Exception e) {
+            return new PluginResult(PluginResult.Status.JSON_EXCEPTION);
+        }
+
+        return new PluginResult(PluginResult.Status.OK, obj);
+    }
+
+    /**
+     * Returns the string identifier for the client's current locale setting.
+     *
+     * @return JSONObject Object.value {String}: The locale identifier
+     *
+     * @throws GlobalizationError.UNKNOWN_ERROR
+     */
+    private JSONObject getLocaleName() throws GlobalizationError {
+        JSONObject obj = new JSONObject();
+        try {
+            return obj.put("value", Locale.getDefault().toString());
+        } catch (Exception e) {
+            throw new GlobalizationError(GlobalizationError.UNKNOWN_ERROR);
+        }
+    }
+
+    /**
+     * Returns the string identifier for the client's current language
+     *
+     * @return JSONObject Object.value {String}: The language identifier
+     *
+     * @throws GlobalizationError.UNKNOWN_ERROR
+     */
+    private JSONObject getPreferredLanguage() throws GlobalizationError {
+        JSONObject obj = new JSONObject();
+        try {
+            return obj.put("value", Locale.getDefault().getDisplayLanguage()
+                    .toString());
+        } catch (Exception e) {
+            throw new GlobalizationError(GlobalizationError.UNKNOWN_ERROR);
+        }
+    }
+
+    /**
+     * Returns a date formatted as a string according to the client's user
+     * preferences and calendar using the time zone of the client.
+     *
+     * @return JSONObject Object.value {String}: The localized date string
+     *
+     * @throws GlobalizationError.FORMATTING_ERROR
+     */
+    private JSONObject getDateToString(JSONArray options)
+            throws GlobalizationError {
+        JSONObject obj = new JSONObject();
+        try {
+            Date date = new Date(Long.parseLong(options.getJSONObject(0)
+                    .get(Resources.DATE).toString()));
+            // get formatting pattern from BB device
+            SimpleDateFormat fmt = new SimpleDateFormat(
+                    Util.getBlackBerryDatePattern(options));
+
+            // return formatted date
+            return obj.put("value", fmt.format(date));
+        } catch (Exception ge) {
+            throw new GlobalizationError(GlobalizationError.FORMATTING_ERROR);
+        }
+    }
+
+    /**
+     * Parses a date formatted as a string according to the client's user
+     * preferences and calendar using the time zone of the client and returns
+     * the corresponding date object
+     *
+     * @return JSONObject
+     *          Object.year {Number}: The four digit year
+     *          Object.month {Number}: The month from (0 - 11)
+     *          Object.day {Number}: The day from (1 - 31)
+     *          Object.hour {Number}: The hour from (0 - 23)
+     *          Object.minute {Number}: The minute from (0 - 59)
+     *          Object.second {Number}: The second from (0 - 59)
+     *          Object.millisecond {Number}: The milliseconds (from 0 - 999),
+     *                                      not available on all platforms
+     *
+     * @throws GlobalizationError.PARSING_ERROR
+     */
+    private JSONObject getStringToDate(JSONArray options)
+            throws GlobalizationError {
+        JSONObject obj = new JSONObject();
+        try {
+            // get formatting pattern from BB device
+            SimpleDateFormat fmt = new SimpleDateFormat(
+                    Util.getBlackBerryDatePattern(options));
+
+            // Manually parse string based on user preferences or Locale default
+            String userDate = options.getJSONObject(0)
+                    .get(Resources.DATESTRING).toString().trim();
+
+            Calendar date = Util.dateParserBB(userDate, fmt.toPattern());
+            if (date == null) { // date was unparsable
+                throw new Exception();
+            }
+
+            // return properties;
+            obj.put("year", date.get(Calendar.YEAR));
+            obj.put("month", date.get(Calendar.MONTH)); // returns 0-11
+            obj.put("day", date.get(Calendar.DAY_OF_MONTH));
+            obj.put("hour", date.get(Calendar.HOUR));
+            obj.put("minute", date.get(Calendar.MINUTE));
+            obj.put("second", date.get(Calendar.SECOND));
+            obj.put("millisecond", date.get(Calendar.MILLISECOND));
+            return obj;
+        } catch (Exception ge) {
+            throw new GlobalizationError(GlobalizationError.PARSING_ERROR);
+        }
+    }
+
+    /**
+     * Returns a pattern string for formatting and parsing dates according to
+     * the client's user preferences.
+     *
+     * @return JSONObject
+     *          Object.pattern {String}: The date and time pattern for
+     *                  formatting and parsing dates. The patterns follow
+     *                  Unicode Technical Standard #35
+     *                  http://unicode.org/reports/tr35/tr35-4.html
+     *          Object.timezone {String}: The abbreviated name of the time
+     *                  zone on the client
+     *          Object.utc_offset {Number}: The current difference in seconds
+     *                  between the client's time zon and coordinated universal
+     *                  time.
+     *          Object.dst_offset {Number}: The current daylight saving time
+     *                  offset in seconds between the client's non-daylight
+     *                  saving's time zone and the client's daylight saving's
+     *                  time zone.
+     *
+     * @throws GlobalizationError.PATTERN_ERROR
+     */
+    private JSONObject getDatePattern(JSONArray options)
+            throws GlobalizationError {
+        JSONObject obj = new JSONObject();
+        try {
+            // TimeZone from users device
+            TimeZone tz = Calendar.getInstance().getTimeZone();
+
+            // Daylight
+            boolean daylight = tz.useDaylightTime();
+
+            // set dst_offset
+            int dst_offset = 0; // defaulted to zero
+            if (daylight) {
+                Calendar c = Calendar.getInstance();
+                dst_offset = (tz.getOffset(1, c.get(Calendar.YEAR),
+                        c.get(Calendar.MONTH), c.get(Calendar.DAY_OF_MONTH),
+                        c.get(Calendar.DAY_OF_WEEK),
+                        c.get(Calendar.MILLISECOND))) / 1000;
+            }
+
+            obj.put("pattern", Util.getBlackBerryDatePattern(options));
+            obj.put("timezone", TimeZoneUtilities.getDisplayName(tz,
+                    TimeZoneUtilities.SHORT));
+            obj.put("utc_offset", tz.getRawOffset() / 1000);
+            obj.put("dst_offset", dst_offset);
+            return obj;
+        } catch (Exception ge) {
+            throw new GlobalizationError(GlobalizationError.PATTERN_ERROR);
+        }
+    }
+
+    /**
+     * Returns an array of either the names of the months or days of the week
+     * according to the client's user preferences and calendar
+     *
+     * @return JSONObject
+     *          Object.value {Array{String}}: The array of names starting from
+     *                      either the first month in the year or the first day
+     *                      of the week.
+     *
+     * @throws GlobalizationError.UNKNOWN_ERROR
+     */
+    private JSONObject getDateNames(JSONArray options)
+            throws GlobalizationError {
+        JSONObject obj = new JSONObject();
+        JSONArray value = new JSONArray();
+        try {
+            int type = 0; // default wide
+            int item = 0; // default months
+
+            // get options if available
+            if (options.getJSONObject(0).length() > 0) {
+                // get type if available
+                if (!((JSONObject) options.getJSONObject(0).get(
+                        Resources.OPTIONS)).isNull(Resources.TYPE)) {
+                    String t = (String) ((JSONObject) options.getJSONObject(0)
+                            .get(Resources.OPTIONS)).get(Resources.TYPE);
+                    if (t.equalsIgnoreCase(Resources.NARROW)) {
+                        type++;
+                    } // DateUtils.LENGTH_MEDIUM
+                }
+                // get item if available
+                if (!((JSONObject) options.getJSONObject(0).get(
+                        Resources.OPTIONS)).isNull(Resources.ITEM)) {
+                    String t = (String) ((JSONObject) options.getJSONObject(0)
+                            .get(Resources.OPTIONS)).get(Resources.ITEM);
+                    if (t.equalsIgnoreCase(Resources.DAYS)) {
+                        item += 10;
+                    } // Days of week start at 1
+                }
+            }
+            // determine return value
+
+            int method = item + type;
+            if (method == 1) {
+                value = Util.getDateNameString(Resources.MONTHS, "MMM");
+            }// months and narrow
+            else if (method == 10) {
+                value = Util.getDateNameString(Resources.DAYS, "EEEE");
+            }// days and wide
+            else if (method == 11) {
+                value = Util.getDateNameString(Resources.DAYS, "EEE");
+            }// days and narrow
+            else {
+                value = Util.getDateNameString(Resources.MONTHS, "MMMM");
+            }// default: months and wide
+
+            if (value == null) {
+                throw new Exception();
+            }
+
+            // return array of names
+            return obj.put("value", value);
+        } catch (Exception ge) {
+            throw new GlobalizationError(GlobalizationError.UNKNOWN_ERROR);
+        }
+    }
+
+    /**
+     * Returns whether daylight savings time is in effect for a given date using
+     * the client's time zone and calendar.
+     *
+     * @return JSONObject
+     *          Object.dst {Boolean}: The value "true" indicates that daylight
+     *                      savings time is in effect for the given date and
+     *                      "false" indicates that it is not.
+     *
+     * @throws GlobalizationError.UNKNOWN_ERROR
+     *
+     *             Note: Functionality to determine if date is within day light
+     *             savings time is not available in this API version
+     */
+    private JSONObject getIsDayLightSavingsTime(JSONArray options)
+            throws GlobalizationError {
+        throw new GlobalizationError(GlobalizationError.UNKNOWN_ERROR);
+    }
+
+    /**
+     * Returns the first day of the week according to the client's user
+     * preferences and calendar. The days of the week are numbered starting from
+     * 1 where 1 is considered to be Sunday.
+     *
+     * @return JSONObject
+     *          Object.value {Number}: The number of the first day of the week.
+     *
+     * @throws GlobalizationError.UNKNOWN_ERROR
+     */
+    private JSONObject getFirstDayOfWeek(JSONArray options)
+            throws GlobalizationError {
+        JSONObject obj = new JSONObject();
+        try {
+            JSONObject result = Util.getLocaleData(Locale.getDefault()
+                    .toString());
+
+            if (result == null || result.length() <= 0) {
+                throw new Exception();
+            }
+            return obj.put("value", Integer.valueOf(result
+                    .getString(Resources.JSON_FIRISTDAYOFWEEK)));
+        } catch (Exception e) {
+            throw new GlobalizationError(GlobalizationError.UNKNOWN_ERROR);
+        }
+    }
+
+    /**
+     * Returns a number formatted as a string according to the client's user
+     * preferences.
+     *
+     * @return JSONObject
+     *          Object.value {String}: The formatted number string.
+     *
+     * @throws GlobalizationError.FORMATTING_ERROR
+     */
+    private JSONObject getNumberToString(JSONArray options)
+            throws GlobalizationError {
+        JSONObject obj = new JSONObject();
+        String value;
+        try {
+            // Initialize formatter
+            Formatter fmt = new Formatter(Locale.getDefault().toString());
+
+            // obtain user supplied number
+            double num = Double.parseDouble(options.getJSONObject(0)
+                    .get(Resources.NUMBER).toString());
+            // format based on options if available
+            value = fmt.formatNumber(num);
+            if (options.getJSONObject(0).length() > 1) {
+                // options were included
+                if (!((JSONObject) options.getJSONObject(0).get(
+                        Resources.OPTIONS)).isNull(Resources.TYPE)) {
+                    String fmtOpt = (String) ((JSONObject) options
+                            .getJSONObject(0).get(Resources.OPTIONS))
+                            .get(Resources.TYPE);
+                    if (fmtOpt.equalsIgnoreCase(Resources.CURRENCY)) {
+                        value = fmt.formatCurrency(num);
+                    } else if (fmtOpt.equalsIgnoreCase(Resources.PERCENT)) {
+                        // convert double to long
+                        // used 1 decimal places as a default
+                        value = fmt.formatPercentage((float) num, 1);
+                    }
+                }
+            }
+            return obj.put("value", value);
+        } catch (Exception ge) {
+            throw new GlobalizationError(GlobalizationError.FORMATTING_ERROR);
+        }
+
+    }
+
+    /**
+     * Parses a number formatted as a string according to the client's user
+     * preferences and returns the corresponding number.
+     *
+     * @return JSONObject
+     *          Object.value {Number}: The parsed number.
+     *
+     * @throws GlobalizationError.PARSING_ERROR
+     */
+    private JSONObject getStringToNumber(JSONArray options)
+            throws GlobalizationError {
+        JSONObject obj = new JSONObject();
+        double value = 0;
+        try {
+            // format based on options if available
+            String num = options.getJSONObject(0).get(Resources.NUMBERSTRING)
+                    .toString().trim();
+            if (options.getJSONObject(0).length() > 1) {
+                // options were included
+                if (!((JSONObject) options.getJSONObject(0).get(
+                        Resources.OPTIONS)).isNull(Resources.TYPE)) {
+                    String fmtOpt = (String) ((JSONObject) options
+                            .getJSONObject(0).get(Resources.OPTIONS))
+                            .get(Resources.TYPE);
+                    // remove unwanted symbols
+                    if (fmtOpt.equalsIgnoreCase(Resources.CURRENCY)) {
+                        value = (Double.parseDouble(Util.removeSymbols(num)));
+                    } else if (fmtOpt.equalsIgnoreCase(Resources.PERCENT)) {
+                        value = (Double.parseDouble(Util.removeSymbols(num)) / 100);
+                    }
+                }
+            } else {
+                value = Double.parseDouble(num); // decimal default
+            }
+
+            return obj.put("value", value);
+        } catch (Exception ge) {
+            throw new GlobalizationError(GlobalizationError.PARSING_ERROR);
+        }
+    }
+
+    /**
+     * Returns a pattern string for formatting and parsing numbers according to
+     * the client's user preferences.
+     *
+     * @return JSONObject
+     *          Object.pattern {String}: The number pattern for formatting and
+     *                      parsing numbers. The patterns follow Unicode
+     *                      Technical Standard #35.
+     *                      http://unicode.org/reports/tr35/tr35-4.html
+     *          Object.symbol {String}: The symbol to be used when formatting
+     *                      and parsing e.g., percent or currency symbol.
+     *          Object.fraction {Number}: The number of fractional digits to use
+     *                      when parsing and formatting numbers.
+     *          Object.rounding {Number}: The rounding increment to use when
+     *                      parsing and formatting.
+     *          Object.positive {String}: The symbol to use for positive numbers
+     *                      when parsing and formatting.
+     *          Object.negative: {String}: The symbol to use for negative
+     *                      numbers when parsing and formatting.
+     *          Object.decimal: {String}: The decimal symbol to use for parsing
+     *                      and formatting.
+     *          Object.grouping: {String}: The grouping symbol to use for
+     *                      parsing and formatting.
+     *
+     * @throws GlobalizationError.PATTERN_ERROR
+     */
+    private JSONObject getNumberPattern(JSONArray options)
+            throws GlobalizationError {
+        JSONObject obj = new JSONObject();
+        try {
+            JSONObject result = Util.getLocaleData(Locale.getDefault()
+                    .toString());
+
+            String symbol = Resources.JSON_DECIMALSYMBOL;
+            // get Date value + options (if available)
+            if (options.getJSONObject(0).length() > 0) {
+                // options were included
+                if (!((JSONObject) options.getJSONObject(0).get(
+                        Resources.OPTIONS)).isNull(Resources.TYPE)) {
+                    String fmtOpt = (String) ((JSONObject) options
+                            .getJSONObject(0).get(Resources.OPTIONS))
+                            .get(Resources.TYPE);
+                    if (fmtOpt.equalsIgnoreCase(Resources.CURRENCY)) {
+                        symbol = Resources.JSON_CURRENCYSYMBOL;
+                    } else if (fmtOpt.equalsIgnoreCase(Resources.PERCENT)) {
+                        symbol = Resources.JSON_PERCENTSYMBOL;
+                    }
+                }
+            }
+
+            // return properties
+            obj.put("pattern", result.getString(Resources.JSON_PATTERN));
+            obj.put("symbol", result.getString(symbol));
+            obj.put("fraction",
+                    Integer.valueOf(result.getString(Resources.JSON_FRACTION)));
+            obj.put("rounding",
+                    Integer.valueOf(result.getString(Resources.JSON_ROUNDING)));
+            obj.put("positive", result.getString(Resources.JSON_POSITIVE));
+            obj.put("negative", result.getString(Resources.JSON_NEGATIVE));
+            obj.put("decimal", result.getString(Resources.JSON_DECIMALSYMBOL));
+            obj.put("grouping", result.getString(Resources.JSON_GROUPING));
+            return obj;
+        } catch (Exception ge) {
+            throw new GlobalizationError(GlobalizationError.PATTERN_ERROR);
+        }
+    }
+
+    /**
+     * Returns a pattern string for formatting and parsing currency values
+     * according to the client's user preferences and ISO 4217 currency code.
+     *
+     * @return JSONObject =
+     *          Object.pattern {String}: The currency pattern for formatting and
+     *                      parsing currency values. The patterns follow
+     *                      Unicode Technical Standard #35
+     *                      http://unicode.org/reports/tr35/tr35-4.html
+     *          Object.code {String}: The ISO 4217 currency code for the pattern.
+     *          Object.fraction {Number}: The number of fractional digits to use
+     *                      when parsing and formatting currency.
+     *          Object.rounding {Number}: The rounding increment to use when
+     *                      parsing and formatting.
+     *          Object.decimal: {String}: The decimal symbol to use for parsing
+     *                      and formatting.
+     *          Object.grouping: {String}: The grouping symbol to use for
+     *                      parsing and formatting.
+     *
+     * @throws GlobalizationError.FORMATTING_ERROR
+     */
+    private JSONObject getCurrencyPattern(JSONArray options)
+            throws GlobalizationError {
+        JSONObject obj = new JSONObject();
+        try {
+            JSONObject result = Util.getCurrencyData(Locale.getDefault()
+                    .toString(),
+                    options.getJSONObject(0).getString(Resources.CURRENCYCODE));
+
+            // return properties
+            obj.put("pattern", result.getString(Resources.JSON_CURRENCYPATTERN));
+            obj.put("code", result.getString(Resources.JSON_CURRENCYCODE));
+            obj.put("fraction", Integer.valueOf(result
+                    .getString(Resources.JSON_CURRENCYFRACTION)));
+            obj.put("rounding", Integer.valueOf(result
+                    .getString(Resources.JSON_CURRENCYROUNDING)));
+            obj.put("decimal", result.getString(Resources.JSON_CURRENCYDECIMAL));
+            obj.put("grouping",
+                    result.getString(Resources.JSON_CURRENCYGROUPING));
+            return obj;
+        } catch (Exception ge) {
+            throw new GlobalizationError(GlobalizationError.FORMATTING_ERROR);
+        }
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/framework/ext/src/org/apache/cordova/globalization/GlobalizationError.java
----------------------------------------------------------------------
diff --git a/framework/ext/src/org/apache/cordova/globalization/GlobalizationError.java b/framework/ext/src/org/apache/cordova/globalization/GlobalizationError.java
new file mode 100644
index 0000000..b2a9388
--- /dev/null
+++ b/framework/ext/src/org/apache/cordova/globalization/GlobalizationError.java
@@ -0,0 +1,115 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.cordova.globalization;
+
+import org.apache.cordova.json4j.JSONException;
+import org.apache.cordova.json4j.JSONObject;
+
+/**
+ * User initiated exception. Exception class representing defined Globalization
+ * error codes.
+ *
+ * Globalization error codes:
+ *          GlobalizationError.UNKNOWN_ERROR = 0;
+ *          GlobalizationError.FORMATTING_ERROR = 1;
+ *          GlobalizationError.PARSING_ERROR = 2;
+ *          GlobalizationError.PATTERN_ERROR = 3;
+ */
+public class GlobalizationError extends Exception {
+
+    private static final long serialVersionUID = 1L;
+    public static final String UNKNOWN_ERROR = "UNKNOWN_ERROR";
+    public static final String FORMATTING_ERROR = "FORMATTING_ERROR";
+    public static final String PARSING_ERROR = "PARSING_ERROR";
+    public static final String PATTERN_ERROR = "PATTERN_ERROR";
+
+    int error = 0; // default unknown error thrown
+
+    /**
+     * Default constructor
+     */
+    public GlobalizationError() {
+    }
+
+    /**
+     * Create an exception returning an error code
+     *
+     * @param s
+     */
+    public GlobalizationError(String s) {
+        if (s.equalsIgnoreCase(FORMATTING_ERROR)) {
+            error = 1;
+        } else if (s.equalsIgnoreCase(PARSING_ERROR)) {
+            error = 2;
+        } else if (s.equalsIgnoreCase(PATTERN_ERROR)) {
+            error = 3;
+        }
+    }
+
+    /**
+     * get error string based on error code
+     *
+     * @param String
+     *            msg
+     */
+    public String getErrorString() {
+        String msg = "";
+        switch (error) {
+        case 0:
+            msg = UNKNOWN_ERROR;
+            break;
+        case 1:
+            msg = FORMATTING_ERROR;
+            break;
+        case 2:
+            msg = PARSING_ERROR;
+            break;
+        case 3:
+            msg = PATTERN_ERROR;
+            break;
+        }
+        return msg;
+    }
+
+    /**
+     * get error code
+     *
+     * @param String
+     *            msg
+     */
+    public int getErrorCode() {
+        return error;
+    }
+
+    /**
+     * get the json version of this object to return to javascript
+     *
+     * @return
+     */
+    public JSONObject toJson() {
+        JSONObject obj = new JSONObject();
+        try {
+            obj.put("code", getErrorCode());
+            obj.put("message", getErrorString());
+        } catch (JSONException e) {
+            // never happens
+        }
+        return obj;
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/05ba03c3/framework/ext/src/org/apache/cordova/globalization/Resources.java
----------------------------------------------------------------------
diff --git a/framework/ext/src/org/apache/cordova/globalization/Resources.java b/framework/ext/src/org/apache/cordova/globalization/Resources.java
new file mode 100644
index 0000000..02cbc8a
--- /dev/null
+++ b/framework/ext/src/org/apache/cordova/globalization/Resources.java
@@ -0,0 +1,99 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.cordova.globalization;
+
+public class Resources {
+    // Globalization Plugin Actions
+    public static final String GETLOCALENAME = "getLocaleName";
+    public static final String DATETOSTRING = "dateToString";
+    public static final String STRINGTODATE = "stringToDate";
+    public static final String GETDATEPATTERN = "getDatePattern";
+    public static final String GETDATENAMES = "getDateNames";
+    public static final String ISDAYLIGHTSAVINGSTIME = "isDayLightSavingsTime";
+    public static final String GETFIRSTDAYOFWEEK = "getFirstDayOfWeek";
+    public static final String NUMBERTOSTRING = "numberToString";
+    public static final String STRINGTONUMBER = "stringToNumber";
+    public static final String GETNUMBERPATTERN = "getNumberPattern";
+    public static final String GETCURRENCYPATTERN = "getCurrencyPattern";
+    public static final String GETPREFERREDLANGUAGE = "getPreferredLanguage";
+
+    // Globalization Option Parameters
+    public static final String OPTIONS = "options";
+    public static final String FORMATLENGTH = "formatLength";
+    public static final String MEDIUM = "medium";
+    public static final String LONG = "long";
+    public static final String FULL = "full";
+    public static final String SELECTOR = "selector";
+    public static final String DATE = "date";
+    public static final String TIME = "time";
+    public static final String DATESTRING = "dateString";
+    public static final String TYPE = "type";
+    public static final String ITEM = "item";
+    public static final String NARROW = "narrow";
+    public static final String WIDE = "wide";
+    public static final String MONTHS = "months";
+    public static final String DAYS = "days";
+    public static final String SPACE = " ";
+    public static final String DATEDELIMITER = "-";
+    public static final String TIMEDELIMITER = ":";
+    public static final String[] AM_PMFORMATS = { "a", "aa" };
+    public static final String NUMBER = "number";
+    public static final String NUMBERSTRING = "numberString";
+    public static final String PERCENT = "percent";
+    public static final String CURRENCY = "currency";
+    public static final String CURRENCYCODE = "currencyCode";
+
+    // JSON File: JSONObject
+    public static final String JSON_CURRENCY = "currency";
+    public static final String JSON_LOCALE = "locale";
+    public static final String JSON_NAME = "name";
+
+    // JSON File: parameters
+    // locale:
+    public static final String JSON_PATTERN = "pattern";
+    public static final String JSON_DECIMAL = "decimal";
+    public static final String JSON_FRACTION = "fraction";
+    public static final String JSON_ROUNDING = "rounding";
+    public static final String JSON_GROUPING = "grouping";
+    public static final String JSON_NEGATIVE = "negative";
+    public static final String JSON_FIRISTDAYOFWEEK = "firstDayOfWeek";
+    public static final String JSON_POSITIVE = "positive";
+    public static final String JSON_PERCENTSYMBOL = "percentSymbol";
+    public static final String JSON_CURRENCYSYMBOL = "currencySymbol";
+    public static final String JSON_DECIMALSYMBOL = "decimalSymbol";
+    public static final String JSON_DISPLAYNAME = "displayName";
+
+    // currency
+    public static final String JSON_CURRENCYCODE = "currencyCode";
+    public static final String JSON_CURRENCYPATTERN = "currencyPattern";
+    public static final String JSON_CURRENCYDECIMAL = "currencyDecimal";
+    public static final String JSON_CURRENCYFRACTION = "currencyFraction";
+    public static final String JSON_CURRENCYGROUPING = "currencyGrouping";
+    public static final String JSON_CURRENCYROUNDING = "currencyRounding";
+
+    // class paths:
+    public static final String LOCALEINFOPATH = "/res/resourceBundles/";
+    public static final String LOCALEINFOPATHEND = ".js.gz";
+
+    // locale resource key identifiers
+    public static final int LOCALENAME = 0;
+
+    // Persistent Store ID:
+    public static final long PERSISTENTSTORE_ID = 0x10001;
+}


Mime
View raw message