Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2
{ | ||
"name": "globalize", | ||
"version": "1.0.0-alpha.1", | ||
"version": "1.0.0-alpha.2", | ||
"ignore": [ | ||
@@ -11,3 +11,3 @@ "**/.*", | ||
"dependencies": { | ||
"cldrjs": "0.3.3" | ||
"cldrjs": "0.3.4" | ||
}, | ||
@@ -14,0 +14,0 @@ "devDependencies": { |
/*! | ||
* Globalize v1.0.0-alpha.1 | ||
* Globalize v1.0.0-alpha.2 | ||
* | ||
@@ -10,3 +10,3 @@ * http://github.com/jquery/globalize | ||
* | ||
* Date: 2014-04-11T16:26Z | ||
* Date: 2014-04-18T14:47Z | ||
*/ | ||
@@ -20,2 +20,2 @@ | ||
require( "./globalize/number" ); | ||
require( "./globalize/translate" ); | ||
require( "./globalize/message" ); |
/*! | ||
* Globalize v1.0.0-alpha.1 | ||
* Globalize v1.0.0-alpha.2 | ||
* | ||
@@ -10,3 +10,3 @@ * http://github.com/jquery/globalize | ||
* | ||
* Date: 2014-04-11T16:26Z | ||
* Date: 2014-04-18T14:47Z | ||
*/ | ||
@@ -13,0 +13,0 @@ (function( root, factory ) { |
/*! | ||
* Globalize v1.0.0-alpha.1 2014-04-11T16:26Z Released under the MIT license | ||
* Globalize v1.0.0-alpha.2 2014-04-18T14:47Z Released under the MIT license | ||
* http://git.io/TrdQbw | ||
*/ | ||
!function(a,b){"function"==typeof define&&define.amd?define(["cldr"],b):"object"==typeof exports?module.exports=b(require("cldrjs")):a.Globalize=b(a.Cldr)}(this,function(a){var b,c={};return c.load=function(b){a.load(b)},c.locale=function(c){return arguments.length&&(b=new a(c)),b},c}); |
/*! | ||
* Globalize v1.0.0-alpha.1 | ||
* Globalize v1.0.0-alpha.2 | ||
* | ||
@@ -10,3 +10,3 @@ * http://github.com/jquery/globalize | ||
* | ||
* Date: 2014-04-11T16:26Z | ||
* Date: 2014-04-18T14:47Z | ||
*/ | ||
@@ -13,0 +13,0 @@ (function( root, factory ) { |
/*! | ||
* Globalize v1.0.0-alpha.1 2014-04-11T16:26Z Released under the MIT license | ||
* Globalize v1.0.0-alpha.2 2014-04-18T14:47Z Released under the MIT license | ||
* http://git.io/TrdQbw | ||
*/ | ||
!function(a,b){"function"==typeof define&&define.amd?define(["cldr","../globalize","cldr/supplemental"],b):"object"==typeof exports?module.exports=b(require("cldrjs"),require("globalize")):b(a.Cldr,a.Globalize)}(this,function(a,b){var c=function(c){return c?new a(c):b.locale()},d=function(a,b){var c,d,e;if(a.map)return a.map(b);for(c=[],d=0,e=a.length;e>d;d++)c[d]=b(a[d],d,a);return c},e=function(a){var b,c=[];for(b in a)c.push(a[b]);return c},f=function(a){var b=[];return b=e(a.main("dates/calendars/gregorian/dateTimeFormats/availableFormats")),b=b.concat(e(a.main("dates/calendars/gregorian/timeFormats"))),b=b.concat(e(a.main("dates/calendars/gregorian/dateFormats"))),b=b.concat(d(e(a.main("dates/calendars/gregorian/dateTimeFormats")),function(b,c){return"string"!=typeof b?b:b.replace(/\{0\}/,a.main(["dates/calendars/gregorian/timeFormats",c])).replace(/\{1\}/,a.main(["dates/calendars/gregorian/dateFormats",c]))})),d(b,function(a){return{pattern:a}})},g=function(a,b){var c;if("string"==typeof a&&(a={skeleton:a}),"object"!=typeof a)throw new Error("Invalid pattern");switch(!0){case"skeleton"in a:c=b.main(["dates/calendars/gregorian/dateTimeFormats/availableFormats",a.skeleton]);break;case"date"in a:case"time"in a:c=b.main(["dates/calendars/gregorian","date"in a?"dateFormats":"timeFormats",a.date||a.time]);break;case"datetime"in a:c=b.main(["dates/calendars/gregorian/dateTimeFormats",a.datetime]),c&&(c=c.replace(/\{0\}/,b.main(["dates/calendars/gregorian/timeFormats",a.datetime])).replace(/\{1\}/,b.main(["dates/calendars/gregorian/dateFormats",a.datetime])));break;case"pattern"in a:c=a.pattern;break;default:throw new Error("Invalid pattern")}if(!c)throw new Error("Pattern not found");return c},h=["sun","mon","tue","wed","thu","fri","sat"],i=function(a,b){if(a.indexOf)return a.indexOf(b);for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},j=function(a){return i(h,a.supplemental.weekData.firstDay())},k=function(a,b){return(a.getDay()-j(b)+7)%7},l=function(a,b){var c=864e5;return(b.getTime()-a.getTime())/c},m=function(a,b){switch(a=new Date(a.getTime()),b){case"year":a.setMonth(0);case"month":a.setDate(1);case"day":a.setHours(0);case"hour":a.setMinutes(0);case"minute":a.setSeconds(0);case"second":a.setMilliseconds(0)}return a},n=function(a){return Math.floor(l(m(a,"year"),a))},o=function(a){return a-m(a,"day")},p=/([a-z])\1*|'[^']+'|''|./gi,q=function(a,b,c){var d;for("string"!=typeof a&&(a=String(a)),d=a.length;b>d;d+=1)a=c?a+"0":"0"+a;return a},r=function(a,b,c){var d=["abbreviated","wide","narrow"];return b.replace(p,function(b){var e,f,g=b.charAt(0),i=b.length;switch("j"===g&&(g=c.supplemental.timeData.preferred()),g){case"G":f=c.main(["dates/calendars/gregorian/eras",3>=i?"eraAbbr":4===i?"eraNames":"eraNarrow",a.getFullYear()<0?0:1]);break;case"y":f=String(a.getFullYear()),e=!0,2===i&&(f=f.substr(f.length-2));break;case"Y":f=new Date(a.getTime()),f.setDate(f.getDate()+7-(k(a,c)-j(c))-c.supplemental.weekData.minDays()),f=String(f.getFullYear()),e=!0,2===i&&(f=f.substr(f.length-2));break;case"u":case"U":throw new Error("Not implemented");case"Q":case"q":f=Math.ceil((a.getMonth()+1)/3),2>=i?e=!0:f=c.main(["dates/calendars/gregorian/quarters","Q"===g?"format":"stand-alone",d[i-3],f]);break;case"M":case"L":f=a.getMonth()+1,2>=i?e=!0:f=c.main(["dates/calendars/gregorian/months","M"===g?"format":"stand-alone",d[i-3],f]);break;case"w":f=k(m(a,"year"),c),f=Math.ceil((n(a)+f)/7)-(7-f>=c.supplemental.weekData.minDays()?0:1),e=!0;break;case"W":f=k(m(a,"month"),c),f=Math.ceil((a.getDate()+f)/7)-(7-f>=c.supplemental.weekData.minDays()?0:1);break;case"d":f=a.getDate(),e=!0;break;case"D":f=n(a)+1,e=!0;break;case"F":f=Math.floor(a.getDate()/7)+1;break;case"g+":throw new Error("Not implemented");case"e":case"c":if(2>=i){f=k(a,c)+1,e=!0;break}case"E":f=h[a.getDay()],f=6===i?c.main(["dates/calendars/gregorian/days",["c"===g?"stand-alone":"format"],"short",f])||c.main(["dates/calendars/gregorian/days",["c"===g?"stand-alone":"format"],"abbreviated",f]):c.main(["dates/calendars/gregorian/days",["c"===g?"stand-alone":"format"],d[3>i?0:i-3],f]);break;case"a":f=c.main(["dates/calendars/gregorian/dayPeriods/format/wide",a.getHours()<12?"am":"pm"]);break;case"h":f=a.getHours()%12||12,e=!0;break;case"H":f=a.getHours(),e=!0;break;case"K":f=a.getHours()%12,e=!0;break;case"k":f=a.getHours()||24,e=!0;break;case"m":f=a.getMinutes(),e=!0;break;case"s":f=a.getSeconds(),e=!0;break;case"S":f=Math.round(a.getMilliseconds()*Math.pow(10,i-3)),e=!0;break;case"A":f=Math.round(o(a)*Math.pow(10,i-3)),e=!0;break;case"z":case"Z":case"O":case"v":case"V":case"X":case"x":throw new Error("Not implemented");default:return b}return e&&(f=q(f,i)),f})},s=function(a,b){var c,d;if(a.every)return a.every(b);for(c=0,d=a.length;d>c;c++)if(!b(a[c],c,a))return!1;return!0},t=function(a,b,c){var d,e=[],f=["abbreviated","wide","narrow"];return d=s(b.match(p),function(b){function d(){return 1===k?l=/\d/:void 0}function g(){return 1===k?l=/\d\d?/:void 0}function h(){return 2===k?l=/\d\d/:void 0}function i(b){var d,e,f=c.main(b);for(d in f)if(e=new RegExp("^"+f[d]),e.test(a))return m.value=d,l=new RegExp(f[d]);return null}var j,k,l,m={};switch(m.type=b,j=b.charAt(0),k=b.length,j){case"G":i(["dates/calendars/gregorian/eras",3>=k?"eraAbbr":4===k?"eraNames":"eraNarrow"]);break;case"y":case"Y":l=1===k?/\d+/:2===k?/\d\d/:new RegExp("\\d{"+k+",}");break;case"u":case"U":throw new Error("Not implemented");case"Q":case"q":d()||h()||i(["dates/calendars/gregorian/quarters","Q"===j?"format":"stand-alone",f[k-3]]);break;case"M":case"L":g()||h()||i(["dates/calendars/gregorian/months","M"===j?"format":"stand-alone",f[k-3]]);break;case"D":3>=k&&(l=new RegExp("\\d{"+k+",3}"));break;case"W":case"F":d();break;case"g+":throw new Error("Not implemented");case"e":case"c":if(2>=k){d()||h();break}case"E":6===k?i(["dates/calendars/gregorian/days",["c"===j?"stand-alone":"format"],"short"])||i(["dates/calendars/gregorian/days",["c"===j?"stand-alone":"format"],"abbreviated"]):i(["dates/calendars/gregorian/days",["c"===j?"stand-alone":"format"],f[3>k?0:k-3]]);break;case"a":i(["dates/calendars/gregorian/dayPeriods/format/wide"]);break;case"w":case"d":case"h":case"H":case"K":case"k":case"j":case"m":case"s":g()||h();break;case"S":l=new RegExp("\\d{"+k+"}");break;case"A":l=new RegExp("\\d{"+(k+5)+"}");break;case"z":case"Z":case"O":case"v":case"V":case"X":case"x":throw new Error("Not implemented");case"'":m.type="literal",l="'"===b.charAt(1)?/'/:/'[^']+'/;break;default:m.type="literal",l=/./}return l?(a=a.replace(new RegExp("^"+l.source),function(a){return m.lexeme=a,""}),m.lexeme?(e.push(m),!0):!1):!1}),d?e:[]},u=function(){function a(a,b,c){return b>a||a>c}return function(b,c,d){var e,f,g,h,i=0,j=1,k=2,l=3,n=4,o=5,p=6,q=new Date,r=t(b,c,d),u=[],v=["year","month","day","hour","minute","second","milliseconds"];return r.length?(h=s(r,function(b){var c,h,m,r;if("literal"===b.type)return!0;switch(h=b.type.charAt(0),r=b.type.length,"j"===h&&(h=d.supplemental.timeData.preferred()),h){case"G":u.push(i),f=+b.value;break;case"y":if(m=+b.lexeme,2===r){if(a(m,0,99))return!1;c=100*Math.floor(q.getFullYear()/100),m+=c,m>q.getFullYear()+20&&(m-=100)}q.setFullYear(m),u.push(i);break;case"Y":case"u":case"U":throw new Error("Not implemented");case"Q":case"q":break;case"M":case"L":if(m=2>=r?+b.lexeme:+b.value,a(m,1,12))return!1;q.setMonth(m-1),u.push(j);break;case"w":case"W":break;case"d":if(m=+b.lexeme,a(m,1,31))return!1;q.setDate(m),u.push(k);break;case"D":if(m=+b.lexeme,a(m,1,366))return!1;q.setMonth(0),q.setDate(m),u.push(k);break;case"F":break;case"g+":throw new Error("Not implemented");case"e":case"c":case"E":break;case"a":e=b.value;break;case"K":m=+b.lexeme+1;case"h":if(m=m||+b.lexeme,a(m,1,12))return!1;q.setHours(m),u.push(l);break;case"H":m=+b.lexeme+1;case"k":if(g=!0,m=m||+b.lexeme,a(m,1,24))return!1;q.setHours(m),u.push(l);break;case"m":if(m=+b.lexeme,a(m,0,59))return!1;q.setMinutes(m),u.push(n);break;case"s":if(m=+b.lexeme,a(m,0,59))return!1;q.setSeconds(m),u.push(o);break;case"A":q.setHours(0),q.setMinutes(0),q.setSeconds(0);case"S":m=Math.round(+b.lexeme*Math.pow(10,3-r)),q.setMilliseconds(m),u.push(p);break;case"z":case"Z":case"O":case"v":case"V":case"X":case"x":throw new Error("Not implemented")}return!0}),!h||e&&g?null:(0===f&&q.setFullYear(-1*q.getFullYear()+1),"pm"===e&&12!==q.getHours()&&q.setHours(q.getHours()+12),u=Math.max.apply(null,u),q=m(q,v[u]))):null}}(),v=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)},w=function(a){return v(a)?a:[a]},x=function(a,b){var c,d;if(a.some)return a.some(b);for(c=0,d=a.length;d>c;c++)if(b(a[c],c,a))return!0;return!1};return b.formatDate=function(a,b,d){if(!(a instanceof Date))throw new Error("Value is not date");if(!b)throw new Error("Missing pattern");return d=c(d),b=g(b,d),r(a,b,d)},b.parseDate=function(a,b,d){var e;if(d=c(d),"string"!=typeof a)throw new Error("invalid value ("+a+"), string expected");return b=b?w(b):f(d),x(b,function(b){return b=g(b,d),e=u(a,b,d),!!e}),e||null},b}); |
/*! | ||
* Globalize v1.0.0-alpha.1 | ||
* Globalize v1.0.0-alpha.2 | ||
* | ||
@@ -10,3 +10,3 @@ * http://github.com/jquery/globalize | ||
* | ||
* Date: 2014-04-11T16:26Z | ||
* Date: 2014-04-18T14:47Z | ||
*/ | ||
@@ -147,2 +147,5 @@ (function( root, factory ) { | ||
// Ignore decimal error, eg. `1234 * 0.0001 = 0.12340000000000001`. | ||
number = +number.toFixed( maximumFractionDigits ); | ||
// Minimum fraction digits | ||
@@ -149,0 +152,0 @@ if ( minimumFractionDigits ) { |
/*! | ||
* Globalize v1.0.0-alpha.1 2014-04-11T16:26Z Released under the MIT license | ||
* Globalize v1.0.0-alpha.2 2014-04-18T14:47Z Released under the MIT license | ||
* http://git.io/TrdQbw | ||
*/ | ||
!function(a,b){"function"==typeof define&&define.amd?define(["cldr","../globalize"],b):"object"==typeof exports?module.exports=b(require("cldrjs"),require("globalize")):b(a.Cldr,a.Globalize)}(this,function(a,b){var c=function(c){return c?new a(c):b.locale()},d=function(a,b,c){var d,e=b,f="",g=",",h=c?!0:!1;for(a=String(a).split("."),d=a[0].length;d>e;)f=a[0].slice(d-e,d)+(f.length?g:"")+f,d-=e,h&&(e=c,h=!1);return a[0]=a[0].slice(0,d)+(f.length?g:"")+f,a.join(".")},e=function(a){return isNaN(a)?0/0:Math[0>a?"ceil":"floor"](a)},f=function(a,b,c){var d;for("string"!=typeof a&&(a=String(a)),d=a.length;b>d;d+=1)a=c?a+"0":"0"+a;return a},g=function(a,b,c,d,g,h){return c>d&&(d=c),d?(a=h?g(a,h):g(a,Math.pow(10,-d)),c&&(a=String(a).split("."),a[1]=f(a[1]||"",c,!0),a=a.join("."))):a=e(a),a=String(a),b&&(a=a.split("."),a[0]=f(a[0],b),a=a.join(".")),a},h=/^(('[^']+'|''|[^*#@0,.E])*)(\*.)?((([#,]*[0,]*0+)(\.0*[0-9]*#*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/,i=function(a){var b,c,d,e,f,g,i,j,k,l,m,n,o,p,q,r,s,t;if(a=a.match(h),!a)throw new Error("Invalid pattern: "+a);if(n=a[1],m=a[3],e=a[4],s=a[8],q=a[9],t=a[10],s?s.replace(/(@+)(#*)/,function(a,b,c){l=b.length,i=l+c.length}):(d=a[7],f=a[6],d&&(d.replace(/[0-9]+/,function(a){j=a}),j&&(p=+("0."+j),j=j.length),g=d.length-1),f.replace(/0+$/,function(a){k=a.length})),q)throw new Error("Scientific notation not implemented");if(m)throw new Error("Padding not implemented");return-1!==(b=e.lastIndexOf(","))&&(c=e.split(".")[0],o=c.length-b-1,-1!==(c=e.lastIndexOf(",",b-1))&&(r=b-1-c)),[n,m,k,j,g,l,i,p,o,r,t]},j=function(a,b,c){var d,e;return a=a.toPrecision(b+2),d=Math.ceil(Math.log(Math.abs(a))/Math.log(10)),d-=b,e=Math.pow(10,d),a=c(a,e),0>d&&(a=+a.toFixed(-d)),a},k=function(a,b,c,d){var e,g;if(b>c&&(c=b),e=j(a,b,d),g=j(a,c,d),a=+e===+g?e:g,a=(+a).toString(10),/e/.test(a))throw new Error("Ops! Integers out of (1e21, 1e-7) not supported");return b-a.replace(/^0+|\./g,"").length>0&&(a=a.split("."),a[1]=f(a[1]||"",b-a[0].replace(/^0+/,"").length,!0),a=a.join(".")),a},l=function(a){return a.main("numbers/defaultNumberingSystem")},m={".":"decimal",",":"group","%":"percentSign","+":"plusSign","-":"minusSign",E:"exponential","‰":"perMille"},n=function(a,b){return b.main(["numbers/symbols-numberSystem-"+l(b),m[a]])},o=function(a){return a=a||"round",a="truncate"===a?e:Math[a],function(b,c){return c=c||1,a(b/c)*c}},p=function(a,b,c,e){var f,h,j,l,m,p,q,r,s,t,u,v,w,x;if(isNaN(a))return n("nan",c);if(b=b.split(";"),e=e||{},u=o(e.round),s=i(b[0]),p=s[1],l=e.minimumIntegerDigits||s[2],j=e.minimumFractionDigits||s[3],f=e.maximumFractionDigits||s[4],m=e.minimumSignificantDigits||s[5],h=e.maximumSignificantDigits||s[6],v=s[7],r=s[8],w=s[9],0>a?(b=b[1]||"-"+b[0],s=i(b)):b=b[0],q=s[0],x=s[10],!isFinite(a))return q+n("infinity",c)+x;if(t=q,-1!==b.indexOf("%")?a*=100:-1!==b.indexOf("‰")&&(a*=1e3),m&&h)a=k(a,m,h,u);else{if(m||h)throw new Error("None or both the minimum and maximum significant digits must be present");a=g(a,l,j,f,u,v)}return a=a.replace(/^-/,""),!r||"useGrouping"in e&&!e.useGrouping||(a=d(a,r,w)),t+=a,t+=x,t.replace(/'[^']+'|[.,\-+E%\u2030]/g,function(a){return"'"===a.charAt(0)?a:n(a,c)})},q=function(a,b){if("decimal"!==a&&"percent"!==a)throw new Error("Invalid style");return b.main(["numbers",a+"Formats-numberSystem-"+l(b),"standard"])};return b.formatNumber=function(a,b,d){var e;if("number"!=typeof a)throw new Error("Value is not a number");return b=b||{},d=c(d),b.pattern||(e=q(b.style||"decimal",d)),p(a,e,d,b)},b.parseNumber=function(){return null},b}); | ||
!function(a,b){"function"==typeof define&&define.amd?define(["cldr","../globalize"],b):"object"==typeof exports?module.exports=b(require("cldrjs"),require("globalize")):b(a.Cldr,a.Globalize)}(this,function(a,b){var c=function(c){return c?new a(c):b.locale()},d=function(a,b,c){var d,e=b,f="",g=",",h=c?!0:!1;for(a=String(a).split("."),d=a[0].length;d>e;)f=a[0].slice(d-e,d)+(f.length?g:"")+f,d-=e,h&&(e=c,h=!1);return a[0]=a[0].slice(0,d)+(f.length?g:"")+f,a.join(".")},e=function(a){return isNaN(a)?0/0:Math[0>a?"ceil":"floor"](a)},f=function(a,b,c){var d;for("string"!=typeof a&&(a=String(a)),d=a.length;b>d;d+=1)a=c?a+"0":"0"+a;return a},g=function(a,b,c,d,g,h){return c>d&&(d=c),d?(a=h?g(a,h):g(a,Math.pow(10,-d)),a=+a.toFixed(d),c&&(a=String(a).split("."),a[1]=f(a[1]||"",c,!0),a=a.join("."))):a=e(a),a=String(a),b&&(a=a.split("."),a[0]=f(a[0],b),a=a.join(".")),a},h=/^(('[^']+'|''|[^*#@0,.E])*)(\*.)?((([#,]*[0,]*0+)(\.0*[0-9]*#*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/,i=function(a){var b,c,d,e,f,g,i,j,k,l,m,n,o,p,q,r,s,t;if(a=a.match(h),!a)throw new Error("Invalid pattern: "+a);if(n=a[1],m=a[3],e=a[4],s=a[8],q=a[9],t=a[10],s?s.replace(/(@+)(#*)/,function(a,b,c){l=b.length,i=l+c.length}):(d=a[7],f=a[6],d&&(d.replace(/[0-9]+/,function(a){j=a}),j&&(p=+("0."+j),j=j.length),g=d.length-1),f.replace(/0+$/,function(a){k=a.length})),q)throw new Error("Scientific notation not implemented");if(m)throw new Error("Padding not implemented");return-1!==(b=e.lastIndexOf(","))&&(c=e.split(".")[0],o=c.length-b-1,-1!==(c=e.lastIndexOf(",",b-1))&&(r=b-1-c)),[n,m,k,j,g,l,i,p,o,r,t]},j=function(a,b,c){var d,e;return a=a.toPrecision(b+2),d=Math.ceil(Math.log(Math.abs(a))/Math.log(10)),d-=b,e=Math.pow(10,d),a=c(a,e),0>d&&(a=+a.toFixed(-d)),a},k=function(a,b,c,d){var e,g;if(b>c&&(c=b),e=j(a,b,d),g=j(a,c,d),a=+e===+g?e:g,a=(+a).toString(10),/e/.test(a))throw new Error("Ops! Integers out of (1e21, 1e-7) not supported");return b-a.replace(/^0+|\./g,"").length>0&&(a=a.split("."),a[1]=f(a[1]||"",b-a[0].replace(/^0+/,"").length,!0),a=a.join(".")),a},l=function(a){return a.main("numbers/defaultNumberingSystem")},m={".":"decimal",",":"group","%":"percentSign","+":"plusSign","-":"minusSign",E:"exponential","‰":"perMille"},n=function(a,b){return b.main(["numbers/symbols-numberSystem-"+l(b),m[a]])},o=function(a){return a=a||"round",a="truncate"===a?e:Math[a],function(b,c){return c=c||1,a(b/c)*c}},p=function(a,b,c,e){var f,h,j,l,m,p,q,r,s,t,u,v,w,x;if(isNaN(a))return n("nan",c);if(b=b.split(";"),e=e||{},u=o(e.round),s=i(b[0]),p=s[1],l=e.minimumIntegerDigits||s[2],j=e.minimumFractionDigits||s[3],f=e.maximumFractionDigits||s[4],m=e.minimumSignificantDigits||s[5],h=e.maximumSignificantDigits||s[6],v=s[7],r=s[8],w=s[9],0>a?(b=b[1]||"-"+b[0],s=i(b)):b=b[0],q=s[0],x=s[10],!isFinite(a))return q+n("infinity",c)+x;if(t=q,-1!==b.indexOf("%")?a*=100:-1!==b.indexOf("‰")&&(a*=1e3),m&&h)a=k(a,m,h,u);else{if(m||h)throw new Error("None or both the minimum and maximum significant digits must be present");a=g(a,l,j,f,u,v)}return a=a.replace(/^-/,""),!r||"useGrouping"in e&&!e.useGrouping||(a=d(a,r,w)),t+=a,t+=x,t.replace(/'[^']+'|[.,\-+E%\u2030]/g,function(a){return"'"===a.charAt(0)?a:n(a,c)})},q=function(a,b){if("decimal"!==a&&"percent"!==a)throw new Error("Invalid style");return b.main(["numbers",a+"Formats-numberSystem-"+l(b),"standard"])};return b.formatNumber=function(a,b,d){var e;if("number"!=typeof a)throw new Error("Value is not a number");return b=b||{},d=c(d),b.pattern||(e=q(b.style||"decimal",d)),p(a,e,d,b)},b.parseNumber=function(){return null},b}); |
@@ -166,4 +166,4 @@ module.exports = function( grunt ) { | ||
{ | ||
name: "globalize.translate", | ||
include: [ "translate" ], | ||
name: "globalize.message", | ||
include: [ "message" ], | ||
exclude: [ "cldr", "./core" ], | ||
@@ -173,3 +173,3 @@ create: true, | ||
wrap: { | ||
startFile: "src/build/intro-translate.js", | ||
startFile: "src/build/intro-message.js", | ||
endFile: "src/build/outro.js" | ||
@@ -227,3 +227,3 @@ } | ||
"dist/globalize/number.min.js": [ "dist/globalize/number.js" ], | ||
"dist/globalize/translate.min.js": [ "dist/globalize/translate.js" ] | ||
"dist/globalize/message.min.js": [ "dist/globalize/message.js" ] | ||
} | ||
@@ -230,0 +230,0 @@ } |
{ | ||
"name": "globalize", | ||
"version": "1.0.0-alpha.1", | ||
"version": "1.0.0-alpha.2", | ||
"description": "New age globalization and localization. Formats and parses strings, dates and numbers in over 350 cultures.", | ||
@@ -61,3 +61,3 @@ "keywords": [ | ||
"dependencies": { | ||
"cldrjs": "0.3.3" | ||
"cldrjs": "0.3.4" | ||
}, | ||
@@ -64,0 +64,0 @@ "devDependencies": { |
541
README.md
# Globalize | ||
[![Build Status](https://secure.travis-ci.org/jquery/globalize.png)](http://travis-ci.org/jquery/globalize) | ||
[![devDependency Status](https://david-dm.org/jquery/globalize/status.png)](https://david-dm.org/jquery/globalize#info=dependencies) | ||
[![devDependency Status](https://david-dm.org/jquery/globalize/dev-status.png)](https://david-dm.org/jquery/globalize#info=devDependencies) | ||
@@ -10,35 +11,20 @@ | ||
---- | ||
## Heads up! | ||
We're working on the migration to using the Unicode CLDR. This is an alpha version of Globalize: 1.0.0-pre. | ||
Patches to the previous stable codebase probably can't be used. If you have a | ||
problem, please create an issue first before trying to patch it. | ||
---- | ||
- [Heads up!](#heads_up) | ||
- [This is an alpha 1.x version](#alpha) | ||
- [Not accepting 0.x fixes anymore](#0.x-fixes) | ||
- [About Globalize](#about) | ||
- [Why globalization?](#why) | ||
- [Where to use it?](#where_to_use) | ||
- [Where does the data come from?](#where_does_data_come_from) | ||
- [Only load and use what you need](#modules) | ||
- [Browser support](#browser_support) | ||
- [Getting started](#getting_started) | ||
- [Why globalization?](#why) | ||
- [About Globalize](#about) | ||
- [Where to use it?](#where) | ||
- [Where does the data come from?](#cldr) | ||
- [Only load and use what you need](#modules) | ||
- [Browser support](#where) | ||
- [Usage](#usage) | ||
- [How to get and load CLDR JSON data](#cldr_usage) | ||
- [Requirements](#requirements) | ||
- [Installation](#installation) | ||
- [Usage](#usage) | ||
- [API](#api) | ||
- [Core](#core) | ||
- [Globalize.load](#load) | ||
- [Globalize.locale](#locale) | ||
- [Number module](#number) | ||
- [Globalize.formatNumber](#format_number) | ||
- [Globalize.parseNumber](#parse_number) | ||
- [Date module](#date) | ||
- [Globalize.formatDate](#format_date) | ||
- [Globalize.parseDate](#parse_date) | ||
- [Translate module](#translate_module) | ||
- [Globalize.loadTranslation](#load_translations) | ||
- [Globalize.translate](#translate) | ||
- [Number module](#number_module) | ||
- [Date module](#date_module) | ||
- [Message module](#message_module) | ||
- more to come... | ||
@@ -52,5 +38,23 @@ - [Development](#development) | ||
<a name="getting_started"></a> | ||
## Getting Started | ||
<a name="heads_up"></a> | ||
## Heads up! | ||
<a name="alpha"></a> | ||
### This is an alpha 1.x version | ||
We're working on the migration to using the Unicode CLDR. This is an alpha | ||
version of Globalize. In other words, this is not a software for production | ||
environment (yet). | ||
<a name="0.x-fixes"></a> | ||
### Not accepting 0.x fixes anymore | ||
Patches to the previous 0.x codebase probably can't be used. If you have a | ||
problem, please create an issue first before trying to patch it. | ||
Are you looking for 0.x docs? Find them [here](https://github.com/jquery/globalize/tree/79ae658b842f75f58199d6e9074e01f7ce207468). | ||
<a name="about"></a> | ||
## About Globalize | ||
<a name="why"></a> | ||
@@ -74,14 +78,10 @@ ### Why globalization? | ||
<a name="where_to_use"></a> | ||
### Where to use it? | ||
<a name="about"></a> | ||
### About Globalize | ||
<a name="where"></a> | ||
#### Where to use it? | ||
It's designed to work both in the [browser](#browser_support), or in | ||
[Node.js](#usage). It supports both [AMD](#usage) and [CommonJS](#usage). | ||
<a name="cldr"></a> | ||
#### Where does the data come from? | ||
<a name="where_does_data_come_from"></a> | ||
### Where does the data come from? | ||
@@ -92,421 +92,171 @@ Globalize uses the [Unicode CLDR](http://cldr.unicode.org/), the largest and | ||
We do NOT embed any i18n data within our library. However, we make it really | ||
easy to use. Read the section [How to get and load CLDR JSON data](#cldr_usage) for | ||
more information on its usage. | ||
easy to use. Read [How to get and load CLDR JSON data](#cldr) for more | ||
information on its usage. | ||
<a name="modules"></a> | ||
#### Load and use only what you need | ||
### Pick the modules you need | ||
Globalize is split in modules: core, number (coming soon), date, and translate. | ||
We're evaluating other modules, eg. plural, ordinals, etc. | ||
| File | Minified size | Summary | | ||
|---|--:|---| | ||
| globalize.js | 0.4KB | [Core library](#core) | | ||
| globalize/date.js | +9.2KB | [Date module](#date_module) provides date formatting and parsing | | ||
| globalize/number.js | +3.7KB | [Number module](#number_module) provides number formatting and parsing | | ||
| globalize/translate.js | +0.7KB | [Message module](#message_module) provides message translation | | ||
<!--- By updating this table, also update its clone in #usage --> | ||
The core implements [`Globalize.load( cldrData )`](#load), and | ||
[`Globalize.locale( locale )`](#locale). | ||
The date module extends core Globalize, and adds [`Globalize.formatDate( value, | ||
pattern, locale )`](#format_date), and [`Globalize.parseDate( value, patterns, locale | ||
)`](#parse_date). | ||
The translate module extends core Globalize, and adds | ||
[`Globalize.loadTranslations( locale, json )`](#load_translations), and | ||
[`Globalize.translate( path , locale )`](#translate). | ||
More to come... | ||
<a name="browser_support"></a> | ||
#### Browser Support | ||
### Browser Support | ||
We officially support: | ||
- Firefox (latest - 1)+ | ||
- Chrome (latest - 1)+ | ||
- Safari 5.1+ | ||
- IE 8+ | ||
- Opera (latest - 1)+ | ||
We officially support http://jquery.com/browser-support/. If you find any bugs, | ||
please just [let us know](https://github.com/jquery/globalize/issues). | ||
Dry tests show Globalize also works on the following browsers: | ||
- Firefox 4+ | ||
- Safari 5+ | ||
- Chrome 14+ | ||
- IE 6+ | ||
- Opera 11.1+ | ||
<a name="getting_started"></a> | ||
## Getting Started | ||
If you find any bugs, please just [let us | ||
know](https://github.com/jquery/globalize/issues). We'll be glad to fix them for | ||
the officially supported browsers, or at least to update the documentation for | ||
the unsupported ones. | ||
<a name="requirements"></a> | ||
### Requirements | ||
<a name="usage"></a> | ||
## Usage | ||
<a name="dependencies"></a> | ||
#### 1. Dependencies | ||
All distributables are UMD wrapped. So, it supports AMD, CommonJS, or global | ||
variables (in case neither AMD nor CommonJS have been detected). | ||
You need to satisfy Globalize dependencies prior to using it. The good news | ||
is, there is only one. It's the [cldr.js](https://github.com/rxaviers/cldrjs), | ||
which is a CLDR low level manipulation tool. | ||
Example of usage with script tags: | ||
If you use a package manager like bower or npm, you don't need to worry about | ||
it. If this isn't the case, then you need to manually download cldr.js | ||
yourself. Check the [Hello World examples](#usage) for more information. | ||
```html | ||
<script src="./external/cldrjs/dist/cldr.js"></script> | ||
<script src="./dist/globalize.js"></script> | ||
<script src="./dist/globalize/date.js"></script> | ||
``` | ||
<a name="cldr"></a> | ||
#### 2. CLDR content | ||
Example of usage on AMD: | ||
Globalize is the i18n software (the engine). Unicode CLDR is the i18n content | ||
(the fuel). You need to feed Globalize on the appropriate portions of CLDR prior | ||
to using it. | ||
```bash | ||
bower install cldrjs globalize | ||
``` | ||
```javascript | ||
require.config({ | ||
paths: { | ||
cldr: "bower_components/cldrjs/dist/cldr.runtime", | ||
globalize: "bower_components/globalize/dist/globalize" | ||
} | ||
}); | ||
require( [ "globalize", "globalize/date" ], function( Globalize ) { | ||
... | ||
}); | ||
``` | ||
*(a) How do I figure out which CLDR portions are appropriate for my needs?* | ||
Example of usage with Node.js: | ||
Each Globalize function requires a special set of CLDR portions. Once you know | ||
which Globalize functionalities you need, you can deduce its respective CLDR | ||
requirements. See table below. | ||
```bash | ||
npm install cldrjs globalize | ||
``` | ||
```javascript | ||
var Globalize = require( "globalize" ); | ||
... | ||
``` | ||
| Module | Required CLDR JSON files | | ||
|---|---| | ||
| Core module | cldr/supplemental/likelySubtags.json | | ||
| Number module | cldr/main/`locale`/numbers.json | | ||
| Date module | cldr/main/`locale`/ca-gregorian.json<br>cldr/supplemental/timeData.json<br>cldr/supplemental/weekData.json | | ||
<a name="cldr_usage"></a> | ||
### How to get and load CLDR JSON data | ||
*(b) How am I supposed to get and load CLDR content?* | ||
The Unicode CLDR is available for download as JSON | ||
([`json.zip`](http://www.unicode.org/Public/cldr/latest/json.zip)). This file | ||
contains the complete data of what the Unicode CLDR Project considers the top | ||
20 languages (at the time of this writing). | ||
Learn [how to get and load CLDR content...](doc/cldr.md). | ||
You can generate the JSON representation of the languages not available in the | ||
ZIP file by using the official conversion tool | ||
([`tools.zip`](http://www.unicode.org/Public/cldr/latest/)). This ZIP contains a | ||
README with instructions on how to build the data. | ||
<a name="installation"></a> | ||
### Installation | ||
You can choose to generate unresolved data to save space or bandwidth (`-r false` | ||
option of the conversion tool), and instead have it resolve at runtime. | ||
*By downloading a ZIP or a TAR.GZ...* | ||
For the examples below, first fetch CLDR JSON data: | ||
Click the github [releases tab](https://github.com/jquery/globalize/releases) | ||
and download the latest available Globalize package. | ||
```bash | ||
wget http://www.unicode.org/Public/cldr/latest/json.zip | ||
unzip json.zip -d cldr | ||
``` | ||
*By using a package manager...* | ||
Example of embedding CLDR JSON data: | ||
Use bower `bower install globalize`, or npm `npm install globalize`. | ||
```html | ||
<script> | ||
Globalize.load({ | ||
main: { | ||
en: { | ||
... | ||
} | ||
}, | ||
supplemental: { | ||
likelySubtags: { | ||
... | ||
}, | ||
timeDate: { | ||
... | ||
}, | ||
weekData: { | ||
... | ||
} | ||
} | ||
}); | ||
</script> | ||
``` | ||
*By using source files...* | ||
Example of loading it dynamically: | ||
1. `git clone https://github.com/jquery/globalize.git`. | ||
1. [Build the distribution files](https://github.com/jquery/globalize/#build). | ||
```html | ||
<script src="jquery.js"></script> | ||
<script> | ||
$.get( "cldr/en/ca-gregorian.json", Globalize.load ); | ||
$.get( "cldr/supplemental/likelySubtags.json", Globalize.load ); | ||
$.get( "cldr/supplemental/timeData.json", Globalize.load ); | ||
$.get( "cldr/supplemental/weekData.json", Globalize.load ); | ||
</script> | ||
``` | ||
<a name="usage"></a> | ||
### Usage | ||
Example using AMD (also see our [functional tests](test/functional.js)): | ||
```javascript | ||
define([ | ||
"globalize", | ||
"json!fixtures/cldr/main/en/ca-gregorian.json", | ||
"json!fixtures/cldr/supplemental/likelySubtags.json", | ||
"json!fixtures/cldr/supplemental/timeData.json", | ||
"json!fixtures/cldr/supplemental/weekData.json", | ||
"globalize/date" | ||
], function( Globalize, enCaGregorian, likelySubtags, timeData, weekData ) { | ||
Globalize's consumable-files are located in the `./dist` directory. If you | ||
don't find it, it's because you are using a development branch. You should | ||
either use a tagged version or [build the distribution files yourself](#build). | ||
Read [installation](#installation) above if you need more information on how to | ||
download. | ||
Globalize.load( enCaGregorian ); | ||
Globalize.load( likelySubtags ); | ||
Globalize.load( timeData ); | ||
Globalize.load( weekData ); | ||
Globalize can be used for a variety of different i18n tasks, eg. formatting or | ||
parsing dates, formatting or parsing numbers, formatting messages, etc. You may | ||
NOT need Globalize in its entirety. For that reason, we made it modular. So, you | ||
can cherry-pick the pieces you need, eg. load `dist/globalize.js` to get | ||
Globalize core, load `dist/globalize/date.js` to extend Globalize with Date | ||
functionalities, etc. | ||
}); | ||
``` | ||
An example is worth a thousand words. Check out our Hello World demo (available | ||
to you in different flavors): | ||
- [Hello World (AMD + bower)](doc/hello-world/amd-bower/). | ||
- [Hello World (Node.js + npm)](doc/hello-world/node-npm/). | ||
- [Hello World (plain JavaScript)](doc/hello-world/plain-javascript/). | ||
Example using Node.js: | ||
```javascript | ||
var Globalize = require( "globalize" ); | ||
Globalize.load( require( "./cldr/supplemental/likelySubtags.json" ) ); | ||
Globalize.load( require( "./cldr/supplemental/timeData.json" ) ); | ||
Globalize.load( require( "./cldr/supplemental/weekData.json" ) ); | ||
Globalize.load( require( "./cldr/en/ca-gregorian.json" ) ); | ||
``` | ||
<a name="api"></a> | ||
## API | ||
<a name="core"></a> | ||
### Core module | ||
<a name="load"></a> | ||
#### `Globalize.load( cldrJSONData )` | ||
- **`Globalize.load( cldrJSONData )`** | ||
This method allows you to load CLDR JSON locale data. `Globalize.load()` is a | ||
proxy to `Cldr.load()`. For more information, see | ||
https://github.com/rxaviers/cldrjs#readme. | ||
This method allows you to load CLDR JSON locale data. `Globalize.load()` is a | ||
proxy to `Cldr.load()`. | ||
Parameters: | ||
[Read more...](doc/api/core/load.md) | ||
- **cldrJSONData** A JSON object with CLDR data. See ["How to get and load CLDR | ||
JSON data" above](#cldr_usage) for more information and examples; | ||
- **`Globalize.locale( [locale] )`** | ||
<a name="locale"></a> | ||
#### `Globalize.locale( [locale] )` | ||
Set default locale, or get it if locale argument is omitted. | ||
Set default locale, or get it if locale argument is omitted. | ||
[Read more...](doc/api/core/locale.md) | ||
Parameters: | ||
- **locale** The locale string, eg. "en", "pt_BR", or "zh_Hant_TW". | ||
An application that supports globalization and/or localization will need to | ||
have a way to determine the user's preference. Attempting to automatically | ||
determine the appropriate culture is useful, but it is good practice to always | ||
offer the user a choice, by whatever means. | ||
Whatever your mechanism, it is likely that you will have to correlate the | ||
user's preferences with the list of locale data supported in the app. This | ||
method allows you to select the best match given the locale data that you | ||
have included and to set the Globalize locale to the one which the user | ||
prefers. | ||
```javascript | ||
Globalize.locale( "pt" ); | ||
console.log( Globalize.locale().attributes ); | ||
// { | ||
// "languageId": "pt", | ||
// "maxLanguageId": "pt_Latn_BR", | ||
// "language": "pt", | ||
// "script": "Latn", | ||
// "territory": "BR", | ||
// "region": "BR" | ||
// } | ||
``` | ||
LanguageMatching TBD (CLDR's spec http://www.unicode.org/reports/tr35/#LanguageMatching). | ||
<a name="number"></a> | ||
<a name="number_module"></a> | ||
### Number module | ||
<a name="format_number"></a> | ||
#### `Globalize.formatNumber( value [, attributes] [, locale] )` | ||
- **`Globalize.formatNumber( value [, attributes] [, locale] )`** | ||
Format a number according to the given attributes and the given locale (or the | ||
default locale if not specified). | ||
Format a number according to the given attributes and the given locale (or the | ||
default locale if not specified). | ||
Parameters: | ||
[Read more...](doc/api/number/format.md) | ||
- **value** Number to be formatted, eg. `3.14`; | ||
- **attributes** Optional | ||
- style: Optional String `decimal` (default), or `percent`; | ||
- minimumIntegerDigits: Optional non-negative integer Number value indicating | ||
the minimum integer digits to be used. Numbers will be padded with leading | ||
zeroes if necessary; | ||
- minimumFractionDigits and maximumFractionDigits: Optional non-negative | ||
integer Number values indicating the minimum and maximum fraction digits to | ||
be used. Numbers will be rounded or padded with trailing zeroes if | ||
necessary; | ||
- minimumSignificantDigits and maximumSignificantDigits: Optional positive | ||
integer Number values indicating the minimum and maximum fraction digits to | ||
be shown. Either none or both of these properties are present; if they are, | ||
they override minimum and maximum integer and fraction digits. The formatter | ||
uses however many integer and fraction digits are required to display the | ||
specified number of significant digits; | ||
- round: Optional String with rounding method `ceil`, `floor`, `round` | ||
(default), or `truncate`; | ||
- useGrouping: Optional boolean (default is true) value indicating whether a | ||
grouping separator should be used; | ||
- **locale** Optional locale string that overrides default; | ||
- **`Globalize.parseNumber( value [, formats], [locale] )`** | ||
```javascript | ||
Globalize.locale( "en" ); | ||
Globalize.formatNumber( 3.141592 ); // "3.142" | ||
Globalize.formatNumber( 3.141592, {}, "es" ); // "3,142" | ||
Globalize.formatNumber( 3.141592, {}, "ar" ); // "3٫142" | ||
``` | ||
TBD | ||
Controlling digits by specifying integer and fraction digits counts: | ||
``` | ||
Globalize.formatNumber( 3.141592, { maximumFractionDigits: 2 } ); | ||
// "3.14" | ||
Globalize.formatNumber( 1.5, { minimumFractionDigits: 2 } ); | ||
// "1.50" | ||
``` | ||
Controlling digits by specifying significant digits counts: | ||
``` | ||
Globalize.formatNumber( 3.141592, { | ||
minimumSignificantDigits: 1, | ||
maximumSignificantDigits: 3 | ||
}); | ||
// "3.14" | ||
Globalize.formatNumber( 12345, { | ||
minimumSignificantDigits: 1, | ||
maximumSignificantDigits: 3 | ||
}); | ||
// "12,300" | ||
equal( Globalize.formatNumber( 0.00012345, { | ||
minimumSignificantDigits: 1, | ||
maximumSignificantDigits: 3 | ||
}); | ||
// "0.000123" | ||
``` | ||
Using different rounding functions example: | ||
``` | ||
Globalize.formatNumber( 3.141592, { maximumFractionDigits: 2, round: "ceil" } ); | ||
// "3.15" | ||
``` | ||
<a name="parse_number"></a> | ||
#### `Globalize.parseNumber( value, [formats], [locale] )` | ||
TBD | ||
<a name="date"></a> | ||
<a name="date_module"></a> | ||
### Date module | ||
<a name="format_date"></a> | ||
#### `Globalize.formatDate( value, format [, locale] )` | ||
- **`Globalize.formatDate( value, format [, locale] )`** | ||
Format a date according to the given format and locale (or the current locale if not specified). | ||
Format a date according to the given format and locale (or the current locale | ||
if not specified). | ||
Parameters: | ||
[Read more...](doc/api/date/format.md) | ||
- **value** Date instance to be formatted, eg. `new Date()`; | ||
- **format** | ||
- String, skeleton. Eg "GyMMMd"; | ||
- Object, accepts either one: | ||
- Skeleton, eg. `{ skeleton: "GyMMMd" }`. List of all skeletons [TODO]; | ||
- Date, eg. `{ date: "full" }`. Possible values are full, long, medium, short; | ||
- Time, eg. `{ time: "full" }`. Possible values are full, long, medium, short; | ||
- Datetime, eg. `{ datetime: "full" }`. Possible values are full, long, medium, short; | ||
- Raw pattern, eg. `{ pattern: "dd/mm" }`. [List of all date | ||
patterns](http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table); | ||
- **locale** Optional locale string that overrides default; | ||
- **`Globalize.parseDate( value [, formats] [, locale] )`** | ||
```javascript | ||
Globalize.formatDate( new Date( 2010, 10, 30, 17, 55 ), { datetime: "short" } ); | ||
// "11/30/10, 5:55 PM" | ||
Parse a string representing a date into a JavaScript Date object, taking into | ||
account the given possible formats (or the given locale's set of preset formats | ||
if not provided). As before, the current locale is used if one is not | ||
specified. | ||
Globalize.formatDate( new Date( 2010, 10, 30, 17, 55 ), { datetime: "short" }, "de" ); | ||
// "30.11.10 17:55" | ||
``` | ||
[Read more...](doc/api/date/parse.md) | ||
Comparison between different locales. | ||
<a name="message_module"></a> | ||
### Message module | ||
| locale | `Globalize.formatDate( new Date( 2010, 10, 1, 17, 55 ), { datetime: "short" } )` | | ||
| --- | --- | | ||
| **en** | `"11/1/10, 5:55 PM"` | | ||
| **en_GB** | `"01/11/2010 17:55"` | | ||
| **de** | `"01.11.10 17:55"` | | ||
| **zh** | `"10/11/1 下午5:55"` | | ||
| **ar** | `"1/11/2010 5:55 م"` | | ||
| **pt** | `"01/11/10 17:55"` | | ||
| **es** | `"1/11/10 17:55"` | | ||
- **`Globalize.loadMessages( locale, messageData )`** | ||
<a name="parse_date"></a> | ||
#### `Globalize.parseDate( value [, formats] [, locale] )` | ||
Load message data per locale. | ||
Parse a string representing a date into a JavaScript Date object, taking into | ||
account the given possible formats (or the given locale's set of preset | ||
formats if not provided). As before, the current locale is used if one is not | ||
specified. | ||
[Read more...](doc/api/message/load.md) | ||
Parameters: | ||
- **`Globalize.translate( path [, locale] )`** | ||
- **value** String with date to be parsed, eg. `"11/1/10, 5:55 PM"`; | ||
- **formats** Optional array of formats; | ||
- **locale** Optional locale string that overrides default | ||
Translate item given its path. | ||
```javascript | ||
Globalize.locale( "en" ); | ||
Globalize.parseDate( "1/2/13" ); | ||
// Wed Jan 02 2013 00:00:00 | ||
[Read more...](doc/api/message/translate.md) | ||
Globalize.locale( "es" ); | ||
Globalize.parseDate( "1/2/13" ); | ||
// Fri Feb 01 2013 00:00:00 | ||
``` | ||
<a name="translate_module"></a> | ||
### Translate module | ||
<a name="load_translations"></a> | ||
#### `Globalize.loadTranslation( locale, translationData )` | ||
Load translation data per locale. | ||
Parameters: | ||
- **locale** Locale string; | ||
- **translationData** A JSON object with translation mappings; | ||
```javascript | ||
Globalize.loadTranslation( "pt_BR", { | ||
greetings: { | ||
hello: "Olá", | ||
bye: "Tchau" | ||
} | ||
}); | ||
``` | ||
<a name="translate"></a> | ||
#### `Globalize.translate( path [, locale] )` | ||
Translate item given its path. | ||
Parameters: | ||
- **path** Translation item path; | ||
- **locale** Optional locale string that overrides default | ||
```javascript | ||
Globalize.locale( "pt_BR" ); | ||
Globalize.translate( "greetings/bye" ); | ||
// ➡ "Tchau" | ||
``` | ||
<a name="development"></a> | ||
@@ -520,3 +270,3 @@ ## Development | ||
├── CONTRIBUTING.md (doc file) | ||
├── dist/ (output of built bundles) | ||
├── dist/ (consumable files, the built files) | ||
├── external/ (external dependencies, eg. cldr.js, QUnit, RequireJS) | ||
@@ -594,1 +344,6 @@ ├── Gruntfile.js (Grunt tasks) | ||
The goal of the functional tests is to ensure that everything works as expected when it is combined. | ||
## License | ||
MIT © [jQuery Foundation](http://jquery.com/) and other contributors. |
@@ -19,2 +19,2 @@ /*! | ||
require( "./globalize/number" ); | ||
require( "./globalize/translate" ); | ||
require( "./globalize/message" ); |
@@ -42,2 +42,5 @@ define([ | ||
// Ignore decimal error, eg. `1234 * 0.0001 = 0.12340000000000001`. | ||
number = +number.toFixed( maximumFractionDigits ); | ||
// Minimum fraction digits | ||
@@ -44,0 +47,0 @@ if ( minimumFractionDigits ) { |
@@ -6,7 +6,7 @@ { | ||
"version": { | ||
"_cldrVersion": "24", | ||
"_number": "$Revision: 9287 $" | ||
"_cldrVersion": "25", | ||
"_number": "$Revision: 91 $" | ||
}, | ||
"generation": { | ||
"_date": "$Date: 2013-08-28 21:32:04 -0500 (Wed, 28 Aug 2013) $" | ||
"_date": "$Date: 2014-03-13 22:27:12 -0500 (Thu, 13 Mar 2014) $" | ||
}, | ||
@@ -381,4 +381,4 @@ "language": "ar" | ||
}, | ||
"accounting": "¤#,##0.00;(¤#,##0.00)", | ||
"standard": "¤ #,##0.00", | ||
"accounting": "¤#,##0.00;(¤#,##0.00)", | ||
"unitPattern-count-zero": "{0} {1}", | ||
@@ -404,4 +404,4 @@ "unitPattern-count-one": "{0} {1}", | ||
}, | ||
"accounting": "¤#,##0.00;(¤#,##0.00)", | ||
"standard": "¤ #,##0.00", | ||
"accounting": "¤#,##0.00;(¤#,##0.00)", | ||
"unitPattern-count-zero": "{0} {1}", | ||
@@ -408,0 +408,0 @@ "unitPattern-count-one": "{0} {1}", |
@@ -6,7 +6,7 @@ { | ||
"version": { | ||
"_cldrVersion": "24", | ||
"_number": "$Revision: 9287 $" | ||
"_cldrVersion": "25", | ||
"_number": "$Revision: 91 $" | ||
}, | ||
"generation": { | ||
"_date": "$Date: 2013-08-28 21:32:04 -0500 (Wed, 28 Aug 2013) $" | ||
"_date": "$Date: 2014-03-13 22:27:12 -0500 (Thu, 13 Mar 2014) $" | ||
}, | ||
@@ -232,20 +232,18 @@ "language": "en" | ||
"am": "AM", | ||
"am-alt-variant": "a.m.", | ||
"am-alt-variant": "am", | ||
"noon": "noon", | ||
"pm": "PM", | ||
"pm-alt-variant": "p.m." | ||
"pm-alt-variant": "pm" | ||
}, | ||
"narrow": { | ||
"am": "a", | ||
"am-alt-variant": "a.m.", | ||
"noon": "n", | ||
"pm": "p", | ||
"pm-alt-variant": "p.m." | ||
"pm": "p" | ||
}, | ||
"wide": { | ||
"am": "AM", | ||
"am-alt-variant": "a.m.", | ||
"am-alt-variant": "am", | ||
"noon": "noon", | ||
"pm": "PM", | ||
"pm-alt-variant": "p.m." | ||
"pm-alt-variant": "pm" | ||
} | ||
@@ -256,20 +254,18 @@ }, | ||
"am": "AM", | ||
"am-alt-variant": "a.m.", | ||
"am-alt-variant": "am", | ||
"noon": "noon", | ||
"pm": "PM", | ||
"pm-alt-variant": "p.m." | ||
"pm-alt-variant": "pm" | ||
}, | ||
"narrow": { | ||
"am": "a", | ||
"am-alt-variant": "a.m.", | ||
"noon": "n", | ||
"pm": "p", | ||
"pm-alt-variant": "p.m." | ||
"pm": "p" | ||
}, | ||
"wide": { | ||
"am": "AM", | ||
"am-alt-variant": "a.m.", | ||
"am-alt-variant": "am", | ||
"noon": "noon", | ||
"pm": "PM", | ||
"pm-alt-variant": "p.m." | ||
"pm-alt-variant": "pm" | ||
} | ||
@@ -316,32 +312,32 @@ } | ||
"availableFormats": { | ||
"d": "d", | ||
"EHm": "E HH:mm", | ||
"EHms": "E HH:mm:ss", | ||
"Ed": "d E", | ||
"Ehm": "E h:mm a", | ||
"EHm": "E HH:mm", | ||
"Ehms": "E h:mm:ss a", | ||
"EHms": "E HH:mm:ss", | ||
"Gy": "y G", | ||
"GyMMM": "MMM y G", | ||
"GyMMMEd": "E, MMM d, y G", | ||
"GyMMMd": "MMM d, y G", | ||
"GyMMMEd": "E, MMM d, y G", | ||
"h": "h a", | ||
"H": "HH", | ||
"hm": "h:mm a", | ||
"Hm": "HH:mm", | ||
"hms": "h:mm:ss a", | ||
"Hms": "HH:mm:ss", | ||
"M": "L", | ||
"Md": "M/d", | ||
"MEd": "E, M/d", | ||
"MMM": "LLL", | ||
"MMMEd": "E, MMM d", | ||
"MMMd": "MMM d", | ||
"MMMEd": "E, MMM d", | ||
"Md": "M/d", | ||
"d": "d", | ||
"h": "h a", | ||
"hm": "h:mm a", | ||
"hms": "h:mm:ss a", | ||
"ms": "mm:ss", | ||
"y": "y", | ||
"yM": "M/y", | ||
"yMd": "M/d/y", | ||
"yMEd": "E, M/d/y", | ||
"yMMM": "MMM y", | ||
"yMMMEd": "E, MMM d, y", | ||
"yMMMd": "MMM d, y", | ||
"yMMMEd": "E, MMM d, y", | ||
"yMd": "M/d/y", | ||
"yQQQ": "QQQ y", | ||
@@ -365,17 +361,5 @@ "yQQQQ": "QQQQ y" | ||
"intervalFormatFallback": "{0} – {1}", | ||
"d": { | ||
"d": "d – d" | ||
}, | ||
"h": { | ||
"a": "h a – h a", | ||
"h": "h – h a" | ||
}, | ||
"H": { | ||
"H": "HH – HH" | ||
}, | ||
"hm": { | ||
"a": "h:mm a – h:mm a", | ||
"h": "h:mm – h:mm a", | ||
"m": "h:mm – h:mm a" | ||
}, | ||
"Hm": { | ||
@@ -385,7 +369,2 @@ "H": "HH:mm – HH:mm", | ||
}, | ||
"hmv": { | ||
"a": "h:mm a – h:mm a v", | ||
"h": "h:mm – h:mm a v", | ||
"m": "h:mm – h:mm a v" | ||
}, | ||
"Hmv": { | ||
@@ -395,6 +374,2 @@ "H": "HH:mm – HH:mm v", | ||
}, | ||
"hv": { | ||
"a": "h a – h a v", | ||
"h": "h – h a v" | ||
}, | ||
"Hv": { | ||
@@ -406,9 +381,5 @@ "H": "HH – HH v" | ||
}, | ||
"Md": { | ||
"d": "M/d – M/d", | ||
"M": "M/d – M/d" | ||
}, | ||
"MEd": { | ||
"d": "E, M/d – E, M/d", | ||
"M": "E, M/d – E, M/d" | ||
"M": "E, M/d – E, M/d", | ||
"d": "E, M/d – E, M/d" | ||
}, | ||
@@ -418,10 +389,35 @@ "MMM": { | ||
}, | ||
"MMMEd": { | ||
"M": "E, MMM d – E, MMM d", | ||
"d": "E, MMM d – E, MMM d" | ||
}, | ||
"MMMd": { | ||
"d": "MMM d – d", | ||
"M": "MMM d – MMM d" | ||
"M": "MMM d – MMM d", | ||
"d": "MMM d – d" | ||
}, | ||
"MMMEd": { | ||
"d": "E, MMM d – E, MMM d", | ||
"M": "E, MMM d – E, MMM d" | ||
"Md": { | ||
"M": "M/d – M/d", | ||
"d": "M/d – M/d" | ||
}, | ||
"d": { | ||
"d": "d – d" | ||
}, | ||
"h": { | ||
"a": "h a – h a", | ||
"h": "h – h a" | ||
}, | ||
"hm": { | ||
"a": "h:mm a – h:mm a", | ||
"h": "h:mm – h:mm a", | ||
"m": "h:mm – h:mm a" | ||
}, | ||
"hmv": { | ||
"a": "h:mm a – h:mm a v", | ||
"h": "h:mm – h:mm a v", | ||
"m": "h:mm – h:mm a v" | ||
}, | ||
"hv": { | ||
"a": "h a – h a v", | ||
"h": "h – h a v" | ||
}, | ||
"y": { | ||
@@ -434,10 +430,5 @@ "y": "y – y" | ||
}, | ||
"yMd": { | ||
"d": "M/d/y – M/d/y", | ||
"M": "M/d/y – M/d/y", | ||
"y": "M/d/y – M/d/y" | ||
}, | ||
"yMEd": { | ||
"M": "E, M/d/y – E, M/d/y", | ||
"d": "E, M/d/y – E, M/d/y", | ||
"M": "E, M/d/y – E, M/d/y", | ||
"y": "E, M/d/y – E, M/d/y" | ||
@@ -449,10 +440,5 @@ }, | ||
}, | ||
"yMMMd": { | ||
"d": "MMM d – d, y", | ||
"M": "MMM d – MMM d, y", | ||
"y": "MMM d, y – MMM d, y" | ||
}, | ||
"yMMMEd": { | ||
"M": "E, MMM d – E, MMM d, y", | ||
"d": "E, MMM d – E, MMM d, y", | ||
"M": "E, MMM d – E, MMM d, y", | ||
"y": "E, MMM d, y – E, MMM d, y" | ||
@@ -463,2 +449,12 @@ }, | ||
"y": "MMMM y – MMMM y" | ||
}, | ||
"yMMMd": { | ||
"M": "MMM d – MMM d, y", | ||
"d": "MMM d – d, y", | ||
"y": "MMM d, y – MMM d, y" | ||
}, | ||
"yMd": { | ||
"M": "M/d/y – M/d/y", | ||
"d": "M/d/y – M/d/y", | ||
"y": "M/d/y – M/d/y" | ||
} | ||
@@ -465,0 +461,0 @@ } |
@@ -6,7 +6,7 @@ { | ||
"version": { | ||
"_cldrVersion": "24", | ||
"_number": "$Revision: 9287 $" | ||
"_cldrVersion": "25", | ||
"_number": "$Revision: 91 $" | ||
}, | ||
"generation": { | ||
"_date": "$Date: 2013-08-28 21:32:04 -0500 (Wed, 28 Aug 2013) $" | ||
"_date": "$Date: 2014-03-13 22:27:12 -0500 (Thu, 13 Mar 2014) $" | ||
}, | ||
@@ -111,4 +111,4 @@ "language": "en" | ||
}, | ||
"accounting": "¤#,##0.00;(¤#,##0.00)", | ||
"standard": "¤#,##0.00", | ||
"accounting": "¤#,##0.00;(¤#,##0.00)", | ||
"unitPattern-count-one": "{0} {1}", | ||
@@ -115,0 +115,0 @@ "unitPattern-count-other": "{0} {1}" |
@@ -6,7 +6,7 @@ { | ||
"version": { | ||
"_cldrVersion": "24", | ||
"_number": "$Revision: 9287 $" | ||
"_cldrVersion": "25", | ||
"_number": "$Revision: 91 $" | ||
}, | ||
"generation": { | ||
"_date": "$Date: 2013-08-28 21:32:04 -0500 (Wed, 28 Aug 2013) $" | ||
"_date": "$Date: 2014-03-13 22:27:12 -0500 (Thu, 13 Mar 2014) $" | ||
}, | ||
@@ -22,3 +22,3 @@ "language": "es" | ||
"decimal": ",", | ||
"group": " ", | ||
"group": ".", | ||
"list": ";", | ||
@@ -112,4 +112,4 @@ "percentSign": "%", | ||
}, | ||
"accounting": "#,##0.00 ¤", | ||
"standard": "#,##0.00 ¤", | ||
"accounting": "#,##0.00 ¤", | ||
"unitPattern-count-one": "{0} {1}", | ||
@@ -116,0 +116,0 @@ "unitPattern-count-other": "{0} {1}" |
{ | ||
"supplemental": { | ||
"version": { | ||
"_cldrVersion": "24", | ||
"_number": "$Revision: 9305 $" | ||
"_cldrVersion": "25", | ||
"_number": "$Revision: 91 $" | ||
}, | ||
"generation": { | ||
"_date": "$Date: 2013-09-04 09:50:17 -0500 (Wed, 04 Sep 2013) $" | ||
"_date": "$Date: 2014-03-13 22:27:12 -0500 (Thu, 13 Mar 2014) $" | ||
}, | ||
"likelySubtags": { | ||
"aa": "aa_Latn_ET", | ||
"ab": "ab_Cyrl_GE", | ||
"ace": "ace_Latn_ID", | ||
"ady": "ady_Cyrl_RU", | ||
"af": "af_Latn_ZA", | ||
"agq": "agq_Latn_CM", | ||
"ak": "ak_Latn_GH", | ||
"alt": "alt_Cyrl_RU", | ||
"am": "am_Ethi_ET", | ||
"amo": "amo_Latn_NG", | ||
"ar": "ar_Arab_EG", | ||
"as": "as_Beng_IN", | ||
"asa": "asa_Latn_TZ", | ||
"ast": "ast_Latn_ES", | ||
"av": "av_Cyrl_RU", | ||
"awa": "awa_Deva_IN", | ||
"ay": "ay_Latn_BO", | ||
"az": "az_Latn_AZ", | ||
"az_Arab": "az_Arab_IR", | ||
"az_IR": "az_Arab_IR", | ||
"az_RU": "az_Cyrl_RU", | ||
"ba": "ba_Cyrl_RU", | ||
"bal": "bal_Arab_PK", | ||
"ban": "ban_Latn_ID", | ||
"bas": "bas_Latn_CM", | ||
"bax": "bax_Bamu_CM", | ||
"bbc": "bbc_Latn_ID", | ||
"be": "be_Cyrl_BY", | ||
"bem": "bem_Latn_ZM", | ||
"bez": "bez_Latn_TZ", | ||
"bfq": "bfq_Taml_IN", | ||
"bft": "bft_Arab_PK", | ||
"bfy": "bfy_Deva_IN", | ||
"bg": "bg_Cyrl_BG", | ||
"bhb": "bhb_Deva_IN", | ||
"bho": "bho_Deva_IN", | ||
"bi": "bi_Latn_VU", | ||
"bik": "bik_Latn_PH", | ||
"bin": "bin_Latn_NG", | ||
"bjj": "bjj_Deva_IN", | ||
"bku": "bku_Latn_PH", | ||
"bm": "bm_Latn_ML", | ||
"bn": "bn_Beng_BD", | ||
"bo": "bo_Tibt_CN", | ||
"bqv": "bqv_Latn_CI", | ||
"br": "br_Latn_FR", | ||
"bra": "bra_Deva_IN", | ||
"brx": "brx_Deva_IN", | ||
"bs": "bs_Latn_BA", | ||
"bss": "bss_Latn_CM", | ||
"btv": "btv_Deva_PK", | ||
"bua": "bua_Cyrl_RU", | ||
"buc": "buc_Latn_YT", | ||
"bug": "bug_Latn_ID", | ||
"bya": "bya_Latn_ID", | ||
"byn": "byn_Ethi_ER", | ||
"ca": "ca_Latn_ES", | ||
"cch": "cch_Latn_NG", | ||
"ccp": "ccp_Beng_IN", | ||
"ce": "ce_Cyrl_RU", | ||
"ceb": "ceb_Latn_PH", | ||
"cgg": "cgg_Latn_UG", | ||
"ch": "ch_Latn_GU", | ||
"chk": "chk_Latn_FM", | ||
"chm": "chm_Cyrl_RU", | ||
"chp": "chp_Latn_CA", | ||
"chr": "chr_Cher_US", | ||
"cja": "cja_Arab_KH", | ||
"cjm": "cjm_Cham_VN", | ||
"ckb": "ckb_Arab_IQ", | ||
"co": "co_Latn_FR", | ||
"cr": "cr_Cans_CA", | ||
"crk": "crk_Cans_CA", | ||
"cs": "cs_Latn_CZ", | ||
"csb": "csb_Latn_PL", | ||
"cv": "cv_Cyrl_RU", | ||
"cy": "cy_Latn_GB", | ||
"da": "da_Latn_DK", | ||
"dar": "dar_Cyrl_RU", | ||
"dav": "dav_Latn_KE", | ||
"de": "de_Latn_DE", | ||
"den": "den_Latn_CA", | ||
"dgr": "dgr_Latn_CA", | ||
"dje": "dje_Latn_NE", | ||
"doi": "doi_Arab_IN", | ||
"dsb": "dsb_Latn_DE", | ||
"dua": "dua_Latn_CM", | ||
"dv": "dv_Thaa_MV", | ||
"dyo": "dyo_Latn_SN", | ||
"dyu": "dyu_Latn_BF", | ||
"dz": "dz_Tibt_BT", | ||
"ebu": "ebu_Latn_KE", | ||
"ee": "ee_Latn_GH", | ||
"efi": "efi_Latn_NG", | ||
"el": "el_Grek_GR", | ||
"en": "en_Latn_US", | ||
"eo": "eo_Latn_001", | ||
"es": "es_Latn_ES", | ||
"et": "et_Latn_EE", | ||
"eu": "eu_Latn_ES", | ||
"ewo": "ewo_Latn_CM", | ||
"fa": "fa_Arab_IR", | ||
"fan": "fan_Latn_GQ", | ||
"ff": "ff_Latn_SN", | ||
"fi": "fi_Latn_FI", | ||
"fil": "fil_Latn_PH", | ||
"fj": "fj_Latn_FJ", | ||
"fo": "fo_Latn_FO", | ||
"fon": "fon_Latn_BJ", | ||
"fr": "fr_Latn_FR", | ||
"fur": "fur_Latn_IT", | ||
"fy": "fy_Latn_NL", | ||
"ga": "ga_Latn_IE", | ||
"gaa": "gaa_Latn_GH", | ||
"gag": "gag_Latn_MD", | ||
"gbm": "gbm_Deva_IN", | ||
"gcr": "gcr_Latn_GF", | ||
"gd": "gd_Latn_GB", | ||
"gez": "gez_Ethi_ET", | ||
"gil": "gil_Latn_KI", | ||
"gl": "gl_Latn_ES", | ||
"gn": "gn_Latn_PY", | ||
"gon": "gon_Telu_IN", | ||
"gor": "gor_Latn_ID", | ||
"grt": "grt_Beng_IN", | ||
"gsw": "gsw_Latn_CH", | ||
"gu": "gu_Gujr_IN", | ||
"guz": "guz_Latn_KE", | ||
"gv": "gv_Latn_IM", | ||
"gwi": "gwi_Latn_CA", | ||
"ha": "ha_Latn_NG", | ||
"ha_CM": "ha_Arab_CM", | ||
"ha_SD": "ha_Arab_SD", | ||
"haw": "haw_Latn_US", | ||
"he": "he_Hebr_IL", | ||
"hi": "hi_Deva_IN", | ||
"hil": "hil_Latn_PH", | ||
"hne": "hne_Deva_IN", | ||
"hnn": "hnn_Latn_PH", | ||
"ho": "ho_Latn_PG", | ||
"hoc": "hoc_Deva_IN", | ||
"hoj": "hoj_Deva_IN", | ||
"hr": "hr_Latn_HR", | ||
"ht": "ht_Latn_HT", | ||
"hu": "hu_Latn_HU", | ||
"hy": "hy_Armn_AM", | ||
"ia": "ia_Latn_FR", | ||
"ibb": "ibb_Latn_NG", | ||
"id": "id_Latn_ID", | ||
"ig": "ig_Latn_NG", | ||
"ii": "ii_Yiii_CN", | ||
"ik": "ik_Latn_US", | ||
"ilo": "ilo_Latn_PH", | ||
"in": "in_Latn_ID", | ||
"inh": "inh_Cyrl_RU", | ||
"is": "is_Latn_IS", | ||
"it": "it_Latn_IT", | ||
"iu": "iu_Cans_CA", | ||
"iw": "iw_Hebr_IL", | ||
"ja": "ja_Jpan_JP", | ||
"jgo": "jgo_Latn_CM", | ||
"ji": "ji_Hebr_UA", | ||
"jmc": "jmc_Latn_TZ", | ||
"jv": "jv_Latn_ID", | ||
"jw": "jw_Latn_ID", | ||
"ka": "ka_Geor_GE", | ||
"kaa": "kaa_Cyrl_UZ", | ||
"kab": "kab_Latn_DZ", | ||
"kaj": "kaj_Latn_NG", | ||
"kam": "kam_Latn_KE", | ||
"kbd": "kbd_Cyrl_RU", | ||
"kcg": "kcg_Latn_NG", | ||
"kde": "kde_Latn_TZ", | ||
"kdt": "kdt_Thai_TH", | ||
"kea": "kea_Latn_CV", | ||
"ken": "ken_Latn_CM", | ||
"kfo": "kfo_Latn_CI", | ||
"kfr": "kfr_Deva_IN", | ||
"kg": "kg_Latn_CD", | ||
"kha": "kha_Latn_IN", | ||
"khb": "khb_Talu_CN", | ||
"khq": "khq_Latn_ML", | ||
"kht": "kht_Mymr_IN", | ||
"ki": "ki_Latn_KE", | ||
"kj": "kj_Latn_NA", | ||
"kk": "kk_Cyrl_KZ", | ||
"kk_AF": "kk_Arab_AF", | ||
"kk_Arab": "kk_Arab_CN", | ||
"kk_CN": "kk_Arab_CN", | ||
"kk_IR": "kk_Arab_IR", | ||
"kk_MN": "kk_Arab_MN", | ||
"kkj": "kkj_Latn_CM", | ||
"kl": "kl_Latn_GL", | ||
"kln": "kln_Latn_KE", | ||
"km": "km_Khmr_KH", | ||
"kmb": "kmb_Latn_AO", | ||
"kn": "kn_Knda_IN", | ||
"ko": "ko_Kore_KR", | ||
"koi": "koi_Cyrl_RU", | ||
"kok": "kok_Deva_IN", | ||
"kos": "kos_Latn_FM", | ||
"kpe": "kpe_Latn_LR", | ||
"krc": "krc_Cyrl_RU", | ||
"kri": "kri_Latn_SL", | ||
"krl": "krl_Latn_RU", | ||
"kru": "kru_Deva_IN", | ||
"ks": "ks_Arab_IN", | ||
"ksb": "ksb_Latn_TZ", | ||
"ksf": "ksf_Latn_CM", | ||
"ksh": "ksh_Latn_DE", | ||
"ku": "ku_Latn_TR", | ||
"ku_Arab": "ku_Arab_IQ", | ||
"ku_LB": "ku_Arab_LB", | ||
"kum": "kum_Cyrl_RU", | ||
"kv": "kv_Cyrl_RU", | ||
"kw": "kw_Latn_GB", | ||
"ky": "ky_Cyrl_KG", | ||
"ky_Arab": "ky_Arab_CN", | ||
"ky_CN": "ky_Arab_CN", | ||
"ky_Latn": "ky_Latn_TR", | ||
"ky_TR": "ky_Latn_TR", | ||
"la": "la_Latn_VA", | ||
"lag": "lag_Latn_TZ", | ||
"lah": "lah_Arab_PK", | ||
"lb": "lb_Latn_LU", | ||
"lbe": "lbe_Cyrl_RU", | ||
"lcp": "lcp_Thai_CN", | ||
"lep": "lep_Lepc_IN", | ||
"lez": "lez_Cyrl_RU", | ||
"lg": "lg_Latn_UG", | ||
"li": "li_Latn_NL", | ||
"lif": "lif_Deva_NP", | ||
"lis": "lis_Lisu_CN", | ||
"lki": "lki_Arab_IR", | ||
"lkt": "lkt_Latn_US", | ||
"lmn": "lmn_Telu_IN", | ||
"ln": "ln_Latn_CD", | ||
"lo": "lo_Laoo_LA", | ||
"lol": "lol_Latn_CD", | ||
"lt": "lt_Latn_LT", | ||
"lu": "lu_Latn_CD", | ||
"lua": "lua_Latn_CD", | ||
"luo": "luo_Latn_KE", | ||
"luy": "luy_Latn_KE", | ||
"lv": "lv_Latn_LV", | ||
"lwl": "lwl_Thai_TH", | ||
"mad": "mad_Latn_ID", | ||
"mag": "mag_Deva_IN", | ||
"mai": "mai_Deva_IN", | ||
"mak": "mak_Latn_ID", | ||
"man": "man_Latn_GM", | ||
"man_GN": "man_Nkoo_GN", | ||
"man_Nkoo": "man_Nkoo_GN", | ||
"mas": "mas_Latn_KE", | ||
"mdf": "mdf_Cyrl_RU", | ||
"mdh": "mdh_Latn_PH", | ||
"mdr": "mdr_Latn_ID", | ||
"men": "men_Latn_SL", | ||
"mer": "mer_Latn_KE", | ||
"mfe": "mfe_Latn_MU", | ||
"mg": "mg_Latn_MG", | ||
"mgh": "mgh_Latn_MZ", | ||
"mgo": "mgo_Latn_CM", | ||
"mh": "mh_Latn_MH", | ||
"mi": "mi_Latn_NZ", | ||
"min": "min_Latn_ID", | ||
"mk": "mk_Cyrl_MK", | ||
"ml": "ml_Mlym_IN", | ||
"mn": "mn_Cyrl_MN", | ||
"mn_CN": "mn_Mong_CN", | ||
"mn_Mong": "mn_Mong_CN", | ||
"mni": "mni_Beng_IN", | ||
"mnw": "mnw_Mymr_MM", | ||
"mo": "mo_Latn_RO", | ||
"mos": "mos_Latn_BF", | ||
"mr": "mr_Deva_IN", | ||
"ms": "ms_Latn_MY", | ||
"ms_CC": "ms_Arab_CC", | ||
"ms_ID": "ms_Arab_ID", | ||
"mt": "mt_Latn_MT", | ||
"mua": "mua_Latn_CM", | ||
"mwr": "mwr_Deva_IN", | ||
"my": "my_Mymr_MM", | ||
"myv": "myv_Cyrl_RU", | ||
"na": "na_Latn_NR", | ||
"nap": "nap_Latn_IT", | ||
"naq": "naq_Latn_NA", | ||
"nb": "nb_Latn_NO", | ||
"nd": "nd_Latn_ZW", | ||
"nds": "nds_Latn_DE", | ||
"ne": "ne_Deva_NP", | ||
"new": "new_Deva_NP", | ||
"ng": "ng_Latn_NA", | ||
"niu": "niu_Latn_NU", | ||
"nl": "nl_Latn_NL", | ||
"nmg": "nmg_Latn_CM", | ||
"nn": "nn_Latn_NO", | ||
"nnh": "nnh_Latn_CM", | ||
"no": "no_Latn_NO", | ||
"nod": "nod_Lana_TH", | ||
"nr": "nr_Latn_ZA", | ||
"nso": "nso_Latn_ZA", | ||
"nus": "nus_Latn_SD", | ||
"nv": "nv_Latn_US", | ||
"ny": "ny_Latn_MW", | ||
"nym": "nym_Latn_TZ", | ||
"nyn": "nyn_Latn_UG", | ||
"oc": "oc_Latn_FR", | ||
"om": "om_Latn_ET", | ||
"or": "or_Orya_IN", | ||
"os": "os_Cyrl_GE", | ||
"pa": "pa_Guru_IN", | ||
"pa_Arab": "pa_Arab_PK", | ||
"pa_PK": "pa_Arab_PK", | ||
"pag": "pag_Latn_PH", | ||
"pam": "pam_Latn_PH", | ||
"pap": "pap_Latn_AW", | ||
"pau": "pau_Latn_PW", | ||
"pl": "pl_Latn_PL", | ||
"pon": "pon_Latn_FM", | ||
"prd": "prd_Arab_IR", | ||
"ps": "ps_Arab_AF", | ||
"pt": "pt_Latn_BR", | ||
"qu": "qu_Latn_PE", | ||
"raj": "raj_Latn_IN", | ||
"rcf": "rcf_Latn_RE", | ||
"rej": "rej_Latn_ID", | ||
"rjs": "rjs_Deva_NP", | ||
"rkt": "rkt_Beng_BD", | ||
"rm": "rm_Latn_CH", | ||
"rn": "rn_Latn_BI", | ||
"ro": "ro_Latn_RO", | ||
"rof": "rof_Latn_TZ", | ||
"ru": "ru_Cyrl_RU", | ||
"rw": "rw_Latn_RW", | ||
"rwk": "rwk_Latn_TZ", | ||
"sa": "sa_Deva_IN", | ||
"saf": "saf_Latn_GH", | ||
"sah": "sah_Cyrl_RU", | ||
"saq": "saq_Latn_KE", | ||
"sas": "sas_Latn_ID", | ||
"sat": "sat_Latn_IN", | ||
"saz": "saz_Saur_IN", | ||
"sbp": "sbp_Latn_TZ", | ||
"scn": "scn_Latn_IT", | ||
"sco": "sco_Latn_GB", | ||
"sd": "sd_Arab_PK", | ||
"sd_Deva": "sd_Deva_IN", | ||
"sdh": "sdh_Arab_IR", | ||
"se": "se_Latn_NO", | ||
"seh": "seh_Latn_MZ", | ||
"ses": "ses_Latn_ML", | ||
"sg": "sg_Latn_CF", | ||
"shi": "shi_Tfng_MA", | ||
"shn": "shn_Mymr_MM", | ||
"si": "si_Sinh_LK", | ||
"sid": "sid_Latn_ET", | ||
"sk": "sk_Latn_SK", | ||
"sl": "sl_Latn_SI", | ||
"sm": "sm_Latn_WS", | ||
"sma": "sma_Latn_SE", | ||
"smj": "smj_Latn_SE", | ||
"smn": "smn_Latn_FI", | ||
"sms": "sms_Latn_FI", | ||
"sn": "sn_Latn_ZW", | ||
"snk": "snk_Latn_ML", | ||
"so": "so_Latn_SO", | ||
"sq": "sq_Latn_AL", | ||
"sr": "sr_Cyrl_RS", | ||
"sr_ME": "sr_Latn_ME", | ||
"sr_RO": "sr_Latn_RO", | ||
"sr_RU": "sr_Latn_RU", | ||
"sr_TR": "sr_Latn_TR", | ||
"srn": "srn_Latn_SR", | ||
"srr": "srr_Latn_SN", | ||
"ss": "ss_Latn_ZA", | ||
"ssy": "ssy_Latn_ER", | ||
"st": "st_Latn_ZA", | ||
"su": "su_Latn_ID", | ||
"suk": "suk_Latn_TZ", | ||
"sus": "sus_Latn_GN", | ||
"sv": "sv_Latn_SE", | ||
"sw": "sw_Latn_TZ", | ||
"swb": "swb_Arab_YT", | ||
"swc": "swc_Latn_CD", | ||
"syl": "syl_Beng_BD", | ||
"syr": "syr_Syrc_IQ", | ||
"ta": "ta_Taml_IN", | ||
"tbw": "tbw_Latn_PH", | ||
"tcy": "tcy_Knda_IN", | ||
"tdd": "tdd_Tale_CN", | ||
"te": "te_Telu_IN", | ||
"tem": "tem_Latn_SL", | ||
"teo": "teo_Latn_UG", | ||
"tet": "tet_Latn_TL", | ||
"tg": "tg_Cyrl_TJ", | ||
"tg_Arab": "tg_Arab_PK", | ||
"tg_PK": "tg_Arab_PK", | ||
"th": "th_Thai_TH", | ||
"ti": "ti_Ethi_ET", | ||
"tig": "tig_Ethi_ER", | ||
"tiv": "tiv_Latn_NG", | ||
"tk": "tk_Latn_TM", | ||
"tkl": "tkl_Latn_TK", | ||
"tl": "tl_Latn_PH", | ||
"tmh": "tmh_Latn_NE", | ||
"tn": "tn_Latn_ZA", | ||
"to": "to_Latn_TO", | ||
"tpi": "tpi_Latn_PG", | ||
"tr": "tr_Latn_TR", | ||
"trv": "trv_Latn_TW", | ||
"ts": "ts_Latn_ZA", | ||
"tsg": "tsg_Latn_PH", | ||
"tt": "tt_Cyrl_RU", | ||
"tts": "tts_Thai_TH", | ||
"tum": "tum_Latn_MW", | ||
"tvl": "tvl_Latn_TV", | ||
"twq": "twq_Latn_NE", | ||
"ty": "ty_Latn_PF", | ||
"tyv": "tyv_Cyrl_RU", | ||
"tzm": "tzm_Latn_MA", | ||
"udm": "udm_Cyrl_RU", | ||
"ug": "ug_Arab_CN", | ||
"ug_Cyrl": "ug_Cyrl_KZ", | ||
"ug_KZ": "ug_Cyrl_KZ", | ||
"ug_MN": "ug_Cyrl_MN", | ||
"uk": "uk_Cyrl_UA", | ||
"uli": "uli_Latn_FM", | ||
"umb": "umb_Latn_AO", | ||
"und": "en_Latn_US", | ||
"und_AD": "ca_Latn_AD", | ||
"und_AE": "ar_Arab_AE", | ||
"und_AF": "fa_Arab_AF", | ||
"und_AL": "sq_Latn_AL", | ||
"und_AM": "hy_Armn_AM", | ||
"und_AO": "pt_Latn_AO", | ||
"und_AQ": "und_Latn_AQ", | ||
"und_AR": "es_Latn_AR", | ||
"und_Arab": "ar_Arab_EG", | ||
"und_Arab_CC": "ms_Arab_CC", | ||
"und_Arab_CN": "ug_Arab_CN", | ||
"und_Arab_GB": "ks_Arab_GB", | ||
"und_Arab_ID": "ms_Arab_ID", | ||
"und_Arab_IN": "ur_Arab_IN", | ||
"und_Arab_KH": "cja_Arab_KH", | ||
"und_Arab_MN": "kk_Arab_MN", | ||
"und_Arab_MU": "ur_Arab_MU", | ||
"und_Arab_NG": "ha_Arab_NG", | ||
"und_Arab_PK": "ur_Arab_PK", | ||
"und_Arab_TJ": "fa_Arab_TJ", | ||
"und_Arab_TR": "zza_Arab_TR", | ||
"und_Arab_YT": "swb_Arab_YT", | ||
"und_Armi": "arc_Armi_IR", | ||
"und_Armn": "hy_Armn_AM", | ||
"und_AS": "sm_Latn_AS", | ||
"und_AT": "de_Latn_AT", | ||
"und_Avst": "ae_Avst_IR", | ||
"und_AW": "nl_Latn_AW", | ||
"und_AX": "sv_Latn_AX", | ||
"und_AZ": "az_Latn_AZ", | ||
"und_BA": "bs_Latn_BA", | ||
"und_Bali": "ban_Bali_ID", | ||
"und_Bamu": "bax_Bamu_CM", | ||
"und_Batk": "bbc_Batk_ID", | ||
"und_BD": "bn_Beng_BD", | ||
"und_BE": "nl_Latn_BE", | ||
"und_Beng": "bn_Beng_BD", | ||
"und_BF": "fr_Latn_BF", | ||
"und_BG": "bg_Cyrl_BG", | ||
"und_BH": "ar_Arab_BH", | ||
"und_BI": "rn_Latn_BI", | ||
"und_BJ": "fr_Latn_BJ", | ||
"und_BL": "fr_Latn_BL", | ||
"und_BN": "ms_Latn_BN", | ||
"und_BO": "es_Latn_BO", | ||
"und_Bopo": "zh_Bopo_TW", | ||
"und_BQ": "pap_Latn_BQ", | ||
"und_BR": "pt_Latn_BR", | ||
"und_Brah": "pra_Brah_IN", | ||
"und_Brai": "und_Brai_FR", | ||
"und_BT": "dz_Tibt_BT", | ||
"und_Bugi": "bug_Bugi_ID", | ||
"und_Buhd": "bku_Buhd_PH", | ||
"und_BV": "und_Latn_BV", | ||
"und_BY": "be_Cyrl_BY", | ||
"und_Cakm": "ccp_Cakm_BD", | ||
"und_Cans": "cr_Cans_CA", | ||
"und_Cari": "xcr_Cari_TR", | ||
"und_CD": "sw_Latn_CD", | ||
"und_CF": "fr_Latn_CF", | ||
"und_CG": "fr_Latn_CG", | ||
"und_CH": "de_Latn_CH", | ||
"und_Cham": "cjm_Cham_VN", | ||
"und_Cher": "chr_Cher_US", | ||
"und_CI": "fr_Latn_CI", | ||
"und_CL": "es_Latn_CL", | ||
"und_CM": "fr_Latn_CM", | ||
"und_CN": "zh_Hans_CN", | ||
"und_CO": "es_Latn_CO", | ||
"und_Copt": "cop_Copt_EG", | ||
"und_CP": "und_Latn_CP", | ||
"und_Cprt": "grc_Cprt_CY", | ||
"und_CR": "es_Latn_CR", | ||
"und_CU": "es_Latn_CU", | ||
"und_CV": "pt_Latn_CV", | ||
"und_CW": "pap_Latn_CW", | ||
"und_CY": "el_Grek_CY", | ||
"und_Cyrl": "ru_Cyrl_RU", | ||
"und_Cyrl_AL": "mk_Cyrl_AL", | ||
"und_Cyrl_BA": "sr_Cyrl_BA", | ||
"und_Cyrl_GE": "ab_Cyrl_GE", | ||
"und_Cyrl_GR": "mk_Cyrl_GR", | ||
"und_Cyrl_MD": "uk_Cyrl_MD", | ||
"und_Cyrl_PL": "be_Cyrl_PL", | ||
"und_Cyrl_RO": "bg_Cyrl_RO", | ||
"und_Cyrl_SK": "uk_Cyrl_SK", | ||
"und_Cyrl_TR": "kbd_Cyrl_TR", | ||
"und_Cyrl_XK": "sr_Cyrl_XK", | ||
"und_CZ": "cs_Latn_CZ", | ||
"und_DE": "de_Latn_DE", | ||
"und_Deva": "hi_Deva_IN", | ||
"und_Deva_BT": "ne_Deva_BT", | ||
"und_Deva_MU": "bho_Deva_MU", | ||
"und_Deva_PK": "btv_Deva_PK", | ||
"und_DJ": "aa_Latn_DJ", | ||
"und_DK": "da_Latn_DK", | ||
"und_DO": "es_Latn_DO", | ||
"und_DZ": "ar_Arab_DZ", | ||
"und_EA": "es_Latn_EA", | ||
"und_EC": "es_Latn_EC", | ||
"und_EE": "et_Latn_EE", | ||
"und_EG": "ar_Arab_EG", | ||
"und_Egyp": "egy_Egyp_EG", | ||
"und_EH": "ar_Arab_EH", | ||
"und_ER": "ti_Ethi_ER", | ||
"und_ES": "es_Latn_ES", | ||
"und_ET": "am_Ethi_ET", | ||
"und_Ethi": "am_Ethi_ET", | ||
"und_FI": "fi_Latn_FI", | ||
"und_FM": "chk_Latn_FM", | ||
"und_FO": "fo_Latn_FO", | ||
"und_FR": "fr_Latn_FR", | ||
"und_GA": "fr_Latn_GA", | ||
"und_GE": "ka_Geor_GE", | ||
"und_Geor": "ka_Geor_GE", | ||
"und_GF": "fr_Latn_GF", | ||
"und_GH": "ak_Latn_GH", | ||
"und_GL": "kl_Latn_GL", | ||
"und_Glag": "cu_Glag_BG", | ||
"und_GN": "fr_Latn_GN", | ||
"und_Goth": "got_Goth_UA", | ||
"und_GP": "fr_Latn_GP", | ||
"und_GQ": "es_Latn_GQ", | ||
"und_GR": "el_Grek_GR", | ||
"und_Grek": "el_Grek_GR", | ||
"und_GS": "und_Latn_GS", | ||
"und_GT": "es_Latn_GT", | ||
"und_Gujr": "gu_Gujr_IN", | ||
"und_Guru": "pa_Guru_IN", | ||
"und_GW": "pt_Latn_GW", | ||
"und_Hang": "ko_Hang_KR", | ||
"und_Hani": "zh_Hani_CN", | ||
"und_Hano": "hnn_Hano_PH", | ||
"und_Hans": "zh_Hans_CN", | ||
"und_Hant": "zh_Hant_TW", | ||
"und_Hebr": "he_Hebr_IL", | ||
"und_Hebr_CA": "yi_Hebr_CA", | ||
"und_Hebr_GB": "yi_Hebr_GB", | ||
"und_Hebr_SE": "yi_Hebr_SE", | ||
"und_Hebr_UA": "yi_Hebr_UA", | ||
"und_Hebr_US": "yi_Hebr_US", | ||
"und_Hira": "ja_Hira_JP", | ||
"und_HK": "zh_Hant_HK", | ||
"und_HM": "und_Latn_HM", | ||
"und_HN": "es_Latn_HN", | ||
"und_HR": "hr_Latn_HR", | ||
"und_HT": "ht_Latn_HT", | ||
"und_HU": "hu_Latn_HU", | ||
"und_IC": "es_Latn_IC", | ||
"und_ID": "id_Latn_ID", | ||
"und_IL": "he_Hebr_IL", | ||
"und_IN": "hi_Deva_IN", | ||
"und_IQ": "ar_Arab_IQ", | ||
"und_IR": "fa_Arab_IR", | ||
"und_IS": "is_Latn_IS", | ||
"und_IT": "it_Latn_IT", | ||
"und_Ital": "ett_Ital_IT", | ||
"und_Java": "jv_Java_ID", | ||
"und_JO": "ar_Arab_JO", | ||
"und_JP": "ja_Jpan_JP", | ||
"und_Jpan": "ja_Jpan_JP", | ||
"und_Kali": "eky_Kali_MM", | ||
"und_Kana": "ja_Kana_JP", | ||
"und_KG": "ky_Cyrl_KG", | ||
"und_KH": "km_Khmr_KH", | ||
"und_Khar": "pra_Khar_PK", | ||
"und_Khmr": "km_Khmr_KH", | ||
"und_KM": "ar_Arab_KM", | ||
"und_Knda": "kn_Knda_IN", | ||
"und_Kore": "ko_Kore_KR", | ||
"und_KP": "ko_Kore_KP", | ||
"und_KR": "ko_Kore_KR", | ||
"und_Kthi": "bh_Kthi_IN", | ||
"und_KW": "ar_Arab_KW", | ||
"und_KZ": "ru_Cyrl_KZ", | ||
"und_LA": "lo_Laoo_LA", | ||
"und_Lana": "nod_Lana_TH", | ||
"und_Laoo": "lo_Laoo_LA", | ||
"und_Latn_AF": "tk_Latn_AF", | ||
"und_Latn_AM": "az_Latn_AM", | ||
"und_Latn_BG": "tr_Latn_BG", | ||
"und_Latn_CN": "za_Latn_CN", | ||
"und_Latn_CY": "tr_Latn_CY", | ||
"und_Latn_DZ": "fr_Latn_DZ", | ||
"und_Latn_ET": "en_Latn_ET", | ||
"und_Latn_GE": "ku_Latn_GE", | ||
"und_Latn_GR": "tr_Latn_GR", | ||
"und_Latn_IL": "ro_Latn_IL", | ||
"und_Latn_IR": "tk_Latn_IR", | ||
"und_Latn_KM": "fr_Latn_KM", | ||
"und_Latn_KZ": "de_Latn_KZ", | ||
"und_Latn_LB": "fr_Latn_LB", | ||
"und_Latn_MA": "fr_Latn_MA", | ||
"und_Latn_MK": "sq_Latn_MK", | ||
"und_Latn_MO": "pt_Latn_MO", | ||
"und_Latn_MR": "fr_Latn_MR", | ||
"und_Latn_RU": "krl_Latn_RU", | ||
"und_Latn_SY": "fr_Latn_SY", | ||
"und_Latn_TN": "fr_Latn_TN", | ||
"und_Latn_TW": "trv_Latn_TW", | ||
"und_Latn_UA": "pl_Latn_UA", | ||
"und_LB": "ar_Arab_LB", | ||
"und_Lepc": "lep_Lepc_IN", | ||
"und_LI": "de_Latn_LI", | ||
"und_Limb": "lif_Limb_IN", | ||
"und_Linb": "grc_Linb_GR", | ||
"und_Lisu": "lis_Lisu_CN", | ||
"und_LK": "si_Sinh_LK", | ||
"und_LS": "st_Latn_LS", | ||
"und_LT": "lt_Latn_LT", | ||
"und_LU": "fr_Latn_LU", | ||
"und_LV": "lv_Latn_LV", | ||
"und_LY": "ar_Arab_LY", | ||
"und_Lyci": "xlc_Lyci_TR", | ||
"und_Lydi": "xld_Lydi_TR", | ||
"und_MA": "ar_Arab_MA", | ||
"und_Mand": "myz_Mand_IR", | ||
"und_MC": "fr_Latn_MC", | ||
"und_MD": "ro_Latn_MD", | ||
"und_ME": "sr_Latn_ME", | ||
"und_Merc": "xmr_Merc_SD", | ||
"und_Mero": "xmr_Mero_SD", | ||
"und_MF": "fr_Latn_MF", | ||
"und_MG": "mg_Latn_MG", | ||
"und_MK": "mk_Cyrl_MK", | ||
"und_ML": "bm_Latn_ML", | ||
"und_Mlym": "ml_Mlym_IN", | ||
"und_MM": "my_Mymr_MM", | ||
"und_MN": "mn_Cyrl_MN", | ||
"und_MO": "zh_Hant_MO", | ||
"und_Mong": "mn_Mong_CN", | ||
"und_MQ": "fr_Latn_MQ", | ||
"und_MR": "ar_Arab_MR", | ||
"und_MT": "mt_Latn_MT", | ||
"und_Mtei": "mni_Mtei_IN", | ||
"und_MU": "mfe_Latn_MU", | ||
"und_MV": "dv_Thaa_MV", | ||
"und_MX": "es_Latn_MX", | ||
"und_MY": "ms_Latn_MY", | ||
"und_Mymr": "my_Mymr_MM", | ||
"und_Mymr_IN": "kht_Mymr_IN", | ||
"und_Mymr_TH": "mnw_Mymr_TH", | ||
"und_MZ": "pt_Latn_MZ", | ||
"und_NA": "af_Latn_NA", | ||
"und_NC": "fr_Latn_NC", | ||
"und_NE": "ha_Latn_NE", | ||
"und_NI": "es_Latn_NI", | ||
"und_Nkoo": "man_Nkoo_GN", | ||
"und_NL": "nl_Latn_NL", | ||
"und_NO": "nb_Latn_NO", | ||
"und_NP": "ne_Deva_NP", | ||
"und_Ogam": "sga_Ogam_IE", | ||
"und_Olck": "sat_Olck_IN", | ||
"und_OM": "ar_Arab_OM", | ||
"und_Orkh": "otk_Orkh_MN", | ||
"und_Orya": "or_Orya_IN", | ||
"und_Osma": "so_Osma_SO", | ||
"und_PA": "es_Latn_PA", | ||
"und_PE": "es_Latn_PE", | ||
"und_PF": "fr_Latn_PF", | ||
"und_PG": "tpi_Latn_PG", | ||
"und_PH": "fil_Latn_PH", | ||
"und_Phag": "lzh_Phag_CN", | ||
"und_Phli": "pal_Phli_IR", | ||
"und_Phnx": "phn_Phnx_LB", | ||
"und_PK": "ur_Arab_PK", | ||
"und_PL": "pl_Latn_PL", | ||
"und_Plrd": "hmd_Plrd_CN", | ||
"und_PM": "fr_Latn_PM", | ||
"und_PR": "es_Latn_PR", | ||
"und_Prti": "xpr_Prti_IR", | ||
"und_PS": "ar_Arab_PS", | ||
"und_PT": "pt_Latn_PT", | ||
"und_PW": "pau_Latn_PW", | ||
"und_PY": "gn_Latn_PY", | ||
"und_QA": "ar_Arab_QA", | ||
"und_RE": "fr_Latn_RE", | ||
"und_Rjng": "rej_Rjng_ID", | ||
"und_RO": "ro_Latn_RO", | ||
"und_RS": "sr_Cyrl_RS", | ||
"und_RU": "ru_Cyrl_RU", | ||
"und_Runr": "non_Runr_SE", | ||
"und_RW": "rw_Latn_RW", | ||
"und_SA": "ar_Arab_SA", | ||
"und_Samr": "smp_Samr_IL", | ||
"und_Sarb": "xsa_Sarb_YE", | ||
"und_Saur": "saz_Saur_IN", | ||
"und_SC": "fr_Latn_SC", | ||
"und_SD": "ar_Arab_SD", | ||
"und_SE": "sv_Latn_SE", | ||
"und_Shaw": "en_Shaw_GB", | ||
"und_Shrd": "sa_Shrd_IN", | ||
"und_SI": "sl_Latn_SI", | ||
"und_Sinh": "si_Sinh_LK", | ||
"und_SJ": "nb_Latn_SJ", | ||
"und_SK": "sk_Latn_SK", | ||
"und_SM": "it_Latn_SM", | ||
"und_SN": "fr_Latn_SN", | ||
"und_SO": "so_Latn_SO", | ||
"und_Sora": "srb_Sora_IN", | ||
"und_SR": "nl_Latn_SR", | ||
"und_ST": "pt_Latn_ST", | ||
"und_Sund": "su_Sund_ID", | ||
"und_SV": "es_Latn_SV", | ||
"und_SY": "ar_Arab_SY", | ||
"und_Sylo": "syl_Sylo_BD", | ||
"und_Syrc": "syr_Syrc_IQ", | ||
"und_Tagb": "tbw_Tagb_PH", | ||
"und_Takr": "doi_Takr_IN", | ||
"und_Tale": "tdd_Tale_CN", | ||
"und_Talu": "khb_Talu_CN", | ||
"und_Taml": "ta_Taml_IN", | ||
"und_Tavt": "blt_Tavt_VN", | ||
"und_TD": "fr_Latn_TD", | ||
"und_Telu": "te_Telu_IN", | ||
"und_TF": "fr_Latn_TF", | ||
"und_Tfng": "zgh_Tfng_MA", | ||
"und_TG": "fr_Latn_TG", | ||
"und_Tglg": "fil_Tglg_PH", | ||
"und_TH": "th_Thai_TH", | ||
"und_Thaa": "dv_Thaa_MV", | ||
"und_Thai": "th_Thai_TH", | ||
"und_Thai_CN": "lcp_Thai_CN", | ||
"und_Thai_KH": "kdt_Thai_KH", | ||
"und_Thai_LA": "kdt_Thai_LA", | ||
"und_Tibt": "bo_Tibt_CN", | ||
"und_TJ": "tg_Cyrl_TJ", | ||
"und_TK": "tkl_Latn_TK", | ||
"und_TL": "pt_Latn_TL", | ||
"und_TM": "tk_Latn_TM", | ||
"und_TN": "ar_Arab_TN", | ||
"und_TO": "to_Latn_TO", | ||
"und_TR": "tr_Latn_TR", | ||
"und_TV": "tvl_Latn_TV", | ||
"und_TW": "zh_Hant_TW", | ||
"und_TZ": "sw_Latn_TZ", | ||
"und_UA": "uk_Cyrl_UA", | ||
"und_UG": "sw_Latn_UG", | ||
"und_Ugar": "uga_Ugar_SY", | ||
"und_UY": "es_Latn_UY", | ||
"und_UZ": "uz_Latn_UZ", | ||
"und_VA": "la_Latn_VA", | ||
"und_Vaii": "vai_Vaii_LR", | ||
"und_VE": "es_Latn_VE", | ||
"und_VN": "vi_Latn_VN", | ||
"und_VU": "bi_Latn_VU", | ||
"und_WF": "fr_Latn_WF", | ||
"und_WS": "sm_Latn_WS", | ||
"und_XK": "sq_Latn_XK", | ||
"und_Xpeo": "peo_Xpeo_IR", | ||
"und_Xsux": "akk_Xsux_IQ", | ||
"und_YE": "ar_Arab_YE", | ||
"und_Yiii": "ii_Yiii_CN", | ||
"und_YT": "fr_Latn_YT", | ||
"unr": "unr_Beng_IN", | ||
"unr_Deva": "unr_Deva_NP", | ||
"unr_NP": "unr_Deva_NP", | ||
"unx": "unx_Beng_IN", | ||
"ur": "ur_Arab_PK", | ||
"uz": "uz_Latn_UZ", | ||
"uz_AF": "uz_Arab_AF", | ||
"uz_Arab": "uz_Arab_AF", | ||
"uz_CN": "uz_Cyrl_CN", | ||
"vai": "vai_Vaii_LR", | ||
"ve": "ve_Latn_ZA", | ||
"vi": "vi_Latn_VN", | ||
"vo": "vo_Latn_001", | ||
"vun": "vun_Latn_TZ", | ||
"wa": "wa_Latn_BE", | ||
"wae": "wae_Latn_CH", | ||
"wal": "wal_Ethi_ET", | ||
"war": "war_Latn_PH", | ||
"wo": "wo_Latn_SN", | ||
"xh": "xh_Latn_ZA", | ||
"xog": "xog_Latn_UG", | ||
"xsr": "xsr_Deva_NP", | ||
"yao": "yao_Latn_MZ", | ||
"yap": "yap_Latn_FM", | ||
"yav": "yav_Latn_CM", | ||
"yi": "yi_Hebr_UA", | ||
"yo": "yo_Latn_NG", | ||
"za": "za_Latn_CN", | ||
"zgh": "zgh_Tfng_MA", | ||
"zh": "zh_Hans_CN", | ||
"zh_AU": "zh_Hant_AU", | ||
"zh_BN": "zh_Hant_BN", | ||
"zh_GB": "zh_Hant_GB", | ||
"zh_GF": "zh_Hant_GF", | ||
"zh_Hant": "zh_Hant_TW", | ||
"zh_HK": "zh_Hant_HK", | ||
"zh_ID": "zh_Hant_ID", | ||
"zh_MO": "zh_Hant_MO", | ||
"zh_MY": "zh_Hant_MY", | ||
"zh_PA": "zh_Hant_PA", | ||
"zh_PF": "zh_Hant_PF", | ||
"zh_PH": "zh_Hant_PH", | ||
"zh_SR": "zh_Hant_SR", | ||
"zh_TH": "zh_Hant_TH", | ||
"zh_TW": "zh_Hant_TW", | ||
"zh_US": "zh_Hant_US", | ||
"zh_VN": "zh_Hant_VN", | ||
"zu": "zu_Latn_ZA", | ||
"zza": "zza_Arab_TR" | ||
"aa": "aa-Latn-ET", | ||
"ab": "ab-Cyrl-GE", | ||
"ace": "ace-Latn-ID", | ||
"ach": "ach-Latn-UG", | ||
"ady": "ady-Cyrl-RU", | ||
"af": "af-Latn-ZA", | ||
"agq": "agq-Latn-CM", | ||
"ak": "ak-Latn-GH", | ||
"alt": "alt-Cyrl-RU", | ||
"am": "am-Ethi-ET", | ||
"amo": "amo-Latn-NG", | ||
"aoz": "aoz-Latn-ID", | ||
"ar": "ar-Arab-EG", | ||
"as": "as-Beng-IN", | ||
"asa": "asa-Latn-TZ", | ||
"ast": "ast-Latn-ES", | ||
"atj": "atj-Latn-CA", | ||
"av": "av-Cyrl-RU", | ||
"awa": "awa-Deva-IN", | ||
"ay": "ay-Latn-BO", | ||
"az": "az-Latn-AZ", | ||
"az-Arab": "az-Arab-IR", | ||
"az-IR": "az-Arab-IR", | ||
"az-RU": "az-Cyrl-RU", | ||
"ba": "ba-Cyrl-RU", | ||
"bal": "bal-Arab-PK", | ||
"ban": "ban-Latn-ID", | ||
"bap": "bap-Deva-NP", | ||
"bas": "bas-Latn-CM", | ||
"bax": "bax-Bamu-CM", | ||
"bbc": "bbc-Latn-ID", | ||
"bbj": "bbj-Latn-CM", | ||
"be": "be-Cyrl-BY", | ||
"bem": "bem-Latn-ZM", | ||
"bez": "bez-Latn-TZ", | ||
"bfd": "bfd-Latn-CM", | ||
"bfq": "bfq-Taml-IN", | ||
"bft": "bft-Arab-PK", | ||
"bfy": "bfy-Deva-IN", | ||
"bg": "bg-Cyrl-BG", | ||
"bgx": "bgx-Grek-TR", | ||
"bhb": "bhb-Deva-IN", | ||
"bho": "bho-Deva-IN", | ||
"bi": "bi-Latn-VU", | ||
"bik": "bik-Latn-PH", | ||
"bin": "bin-Latn-NG", | ||
"bjj": "bjj-Deva-IN", | ||
"bkm": "bkm-Latn-CM", | ||
"bku": "bku-Latn-PH", | ||
"bm": "bm-Latn-ML", | ||
"bmq": "bmq-Latn-ML", | ||
"bn": "bn-Beng-BD", | ||
"bo": "bo-Tibt-CN", | ||
"bqv": "bqv-Latn-CI", | ||
"br": "br-Latn-FR", | ||
"bra": "bra-Deva-IN", | ||
"brx": "brx-Deva-IN", | ||
"bs": "bs-Latn-BA", | ||
"bss": "bss-Latn-CM", | ||
"bto": "bto-Latn-PH", | ||
"btv": "btv-Deva-PK", | ||
"bua": "bua-Cyrl-RU", | ||
"buc": "buc-Latn-YT", | ||
"bug": "bug-Latn-ID", | ||
"bum": "bum-Latn-CM", | ||
"bvb": "bvb-Latn-GQ", | ||
"bya": "bya-Latn-ID", | ||
"byn": "byn-Ethi-ER", | ||
"byv": "byv-Latn-CM", | ||
"bze": "bze-Latn-ML", | ||
"ca": "ca-Latn-ES", | ||
"cch": "cch-Latn-NG", | ||
"ccp": "ccp-Beng-IN", | ||
"ce": "ce-Cyrl-RU", | ||
"ceb": "ceb-Latn-PH", | ||
"cgg": "cgg-Latn-UG", | ||
"ch": "ch-Latn-GU", | ||
"chk": "chk-Latn-FM", | ||
"chm": "chm-Cyrl-RU", | ||
"chp": "chp-Latn-CA", | ||
"chr": "chr-Cher-US", | ||
"cja": "cja-Arab-KH", | ||
"cjm": "cjm-Cham-VN", | ||
"ckb": "ckb-Arab-IQ", | ||
"co": "co-Latn-FR", | ||
"cr": "cr-Cans-CA", | ||
"crj": "crj-Cans-CA", | ||
"crk": "crk-Cans-CA", | ||
"crl": "crl-Cans-CA", | ||
"crm": "crm-Cans-CA", | ||
"cs": "cs-Latn-CZ", | ||
"csb": "csb-Latn-PL", | ||
"csw": "csw-Cans-CA", | ||
"cu": "cu-Cyrl-RU", | ||
"cv": "cv-Cyrl-RU", | ||
"cy": "cy-Latn-GB", | ||
"da": "da-Latn-DK", | ||
"dar": "dar-Cyrl-RU", | ||
"dav": "dav-Latn-KE", | ||
"de": "de-Latn-DE", | ||
"den": "den-Latn-CA", | ||
"dgr": "dgr-Latn-CA", | ||
"dje": "dje-Latn-NE", | ||
"dnj": "dnj-Latn-CI", | ||
"doi": "doi-Arab-IN", | ||
"dsb": "dsb-Latn-DE", | ||
"dtm": "dtm-Latn-ML", | ||
"dua": "dua-Latn-CM", | ||
"dv": "dv-Thaa-MV", | ||
"dyo": "dyo-Latn-SN", | ||
"dyu": "dyu-Latn-BF", | ||
"dz": "dz-Tibt-BT", | ||
"ebu": "ebu-Latn-KE", | ||
"ee": "ee-Latn-GH", | ||
"efi": "efi-Latn-NG", | ||
"el": "el-Grek-GR", | ||
"en": "en-Latn-US", | ||
"eo": "eo-Latn-001", | ||
"es": "es-Latn-ES", | ||
"et": "et-Latn-EE", | ||
"eu": "eu-Latn-ES", | ||
"ewo": "ewo-Latn-CM", | ||
"fa": "fa-Arab-IR", | ||
"fan": "fan-Latn-GQ", | ||
"ff": "ff-Latn-SN", | ||
"fi": "fi-Latn-FI", | ||
"fil": "fil-Latn-PH", | ||
"fit": "fit-Latn-SE", | ||
"fj": "fj-Latn-FJ", | ||
"fo": "fo-Latn-FO", | ||
"fon": "fon-Latn-BJ", | ||
"fr": "fr-Latn-FR", | ||
"fur": "fur-Latn-IT", | ||
"fy": "fy-Latn-NL", | ||
"ga": "ga-Latn-IE", | ||
"gaa": "gaa-Latn-GH", | ||
"gag": "gag-Latn-MD", | ||
"gbm": "gbm-Deva-IN", | ||
"gcr": "gcr-Latn-GF", | ||
"gd": "gd-Latn-GB", | ||
"gez": "gez-Ethi-ET", | ||
"ggn": "ggn-Deva-NP", | ||
"gil": "gil-Latn-KI", | ||
"gjk": "gjk-Arab-PK", | ||
"gju": "gju-Arab-PK", | ||
"gl": "gl-Latn-ES", | ||
"gn": "gn-Latn-PY", | ||
"gon": "gon-Telu-IN", | ||
"gor": "gor-Latn-ID", | ||
"gos": "gos-Latn-NL", | ||
"grt": "grt-Beng-IN", | ||
"gsw": "gsw-Latn-CH", | ||
"gu": "gu-Gujr-IN", | ||
"gub": "gub-Latn-BR", | ||
"guz": "guz-Latn-KE", | ||
"gv": "gv-Latn-IM", | ||
"gvr": "gvr-Deva-NP", | ||
"gwi": "gwi-Latn-CA", | ||
"ha": "ha-Latn-NG", | ||
"ha-CM": "ha-Arab-CM", | ||
"ha-SD": "ha-Arab-SD", | ||
"haw": "haw-Latn-US", | ||
"he": "he-Hebr-IL", | ||
"hi": "hi-Deva-IN", | ||
"hil": "hil-Latn-PH", | ||
"hnd": "hnd-Arab-PK", | ||
"hne": "hne-Deva-IN", | ||
"hnn": "hnn-Latn-PH", | ||
"ho": "ho-Latn-PG", | ||
"hoc": "hoc-Deva-IN", | ||
"hoj": "hoj-Deva-IN", | ||
"hr": "hr-Latn-HR", | ||
"hsb": "hsb-Latn-DE", | ||
"ht": "ht-Latn-HT", | ||
"hu": "hu-Latn-HU", | ||
"hy": "hy-Armn-AM", | ||
"ia": "ia-Latn-FR", | ||
"ibb": "ibb-Latn-NG", | ||
"id": "id-Latn-ID", | ||
"ig": "ig-Latn-NG", | ||
"ii": "ii-Yiii-CN", | ||
"ik": "ik-Latn-US", | ||
"ilo": "ilo-Latn-PH", | ||
"in": "in-Latn-ID", | ||
"inh": "inh-Cyrl-RU", | ||
"is": "is-Latn-IS", | ||
"it": "it-Latn-IT", | ||
"iu": "iu-Cans-CA", | ||
"iw": "iw-Hebr-IL", | ||
"ja": "ja-Jpan-JP", | ||
"jgo": "jgo-Latn-CM", | ||
"ji": "ji-Hebr-UA", | ||
"jmc": "jmc-Latn-TZ", | ||
"jml": "jml-Deva-NP", | ||
"jv": "jv-Latn-ID", | ||
"jw": "jw-Latn-ID", | ||
"ka": "ka-Geor-GE", | ||
"kaa": "kaa-Cyrl-UZ", | ||
"kab": "kab-Latn-DZ", | ||
"kaj": "kaj-Latn-NG", | ||
"kam": "kam-Latn-KE", | ||
"kao": "kao-Latn-ML", | ||
"kbd": "kbd-Cyrl-RU", | ||
"kcg": "kcg-Latn-NG", | ||
"kck": "kck-Latn-ZW", | ||
"kde": "kde-Latn-TZ", | ||
"kdt": "kdt-Thai-TH", | ||
"kea": "kea-Latn-CV", | ||
"ken": "ken-Latn-CM", | ||
"kfo": "kfo-Latn-CI", | ||
"kfr": "kfr-Deva-IN", | ||
"kg": "kg-Latn-CD", | ||
"kge": "kge-Latn-ID", | ||
"kgp": "kgp-Latn-BR", | ||
"kha": "kha-Latn-IN", | ||
"khb": "khb-Talu-CN", | ||
"khq": "khq-Latn-ML", | ||
"kht": "kht-Mymr-IN", | ||
"khw": "khw-Arab-PK", | ||
"ki": "ki-Latn-KE", | ||
"kj": "kj-Latn-NA", | ||
"kjg": "kjg-Laoo-LA", | ||
"kk": "kk-Cyrl-KZ", | ||
"kk-AF": "kk-Arab-AF", | ||
"kk-Arab": "kk-Arab-CN", | ||
"kk-CN": "kk-Arab-CN", | ||
"kk-IR": "kk-Arab-IR", | ||
"kk-MN": "kk-Arab-MN", | ||
"kkj": "kkj-Latn-CM", | ||
"kl": "kl-Latn-GL", | ||
"kln": "kln-Latn-KE", | ||
"km": "km-Khmr-KH", | ||
"kmb": "kmb-Latn-AO", | ||
"kn": "kn-Knda-IN", | ||
"ko": "ko-Kore-KR", | ||
"koi": "koi-Cyrl-RU", | ||
"kok": "kok-Deva-IN", | ||
"kos": "kos-Latn-FM", | ||
"kpe": "kpe-Latn-LR", | ||
"krc": "krc-Cyrl-RU", | ||
"kri": "kri-Latn-SL", | ||
"krl": "krl-Latn-RU", | ||
"kru": "kru-Deva-IN", | ||
"ks": "ks-Arab-IN", | ||
"ksb": "ksb-Latn-TZ", | ||
"ksf": "ksf-Latn-CM", | ||
"ksh": "ksh-Latn-DE", | ||
"ku": "ku-Latn-TR", | ||
"ku-Arab": "ku-Arab-IQ", | ||
"ku-LB": "ku-Arab-LB", | ||
"kum": "kum-Cyrl-RU", | ||
"kv": "kv-Cyrl-RU", | ||
"kvr": "kvr-Latn-ID", | ||
"kvx": "kvx-Arab-PK", | ||
"kw": "kw-Latn-GB", | ||
"kxp": "kxp-Arab-PK", | ||
"ky": "ky-Cyrl-KG", | ||
"ky-Arab": "ky-Arab-CN", | ||
"ky-CN": "ky-Arab-CN", | ||
"ky-Latn": "ky-Latn-TR", | ||
"ky-TR": "ky-Latn-TR", | ||
"la": "la-Latn-VA", | ||
"lag": "lag-Latn-TZ", | ||
"lah": "lah-Arab-PK", | ||
"lb": "lb-Latn-LU", | ||
"lbe": "lbe-Cyrl-RU", | ||
"lbw": "lbw-Latn-ID", | ||
"lcp": "lcp-Thai-CN", | ||
"lep": "lep-Lepc-IN", | ||
"lez": "lez-Cyrl-RU", | ||
"lg": "lg-Latn-UG", | ||
"li": "li-Latn-NL", | ||
"lif": "lif-Deva-NP", | ||
"lis": "lis-Lisu-CN", | ||
"lki": "lki-Arab-IR", | ||
"lkt": "lkt-Latn-US", | ||
"lmn": "lmn-Telu-IN", | ||
"lmo": "lmo-Latn-CH", | ||
"ln": "ln-Latn-CD", | ||
"lo": "lo-Laoo-LA", | ||
"lol": "lol-Latn-CD", | ||
"loz": "loz-Latn-ZM", | ||
"lt": "lt-Latn-LT", | ||
"lu": "lu-Latn-CD", | ||
"lua": "lua-Latn-CD", | ||
"luo": "luo-Latn-KE", | ||
"luy": "luy-Latn-KE", | ||
"luz": "luz-Arab-IR", | ||
"lv": "lv-Latn-LV", | ||
"lwl": "lwl-Thai-TH", | ||
"mad": "mad-Latn-ID", | ||
"maf": "maf-Latn-CM", | ||
"mag": "mag-Deva-IN", | ||
"mai": "mai-Deva-IN", | ||
"mak": "mak-Latn-ID", | ||
"man": "man-Latn-GM", | ||
"man-GN": "man-Nkoo-GN", | ||
"man-Nkoo": "man-Nkoo-GN", | ||
"mas": "mas-Latn-KE", | ||
"maz": "maz-Latn-MX", | ||
"mdf": "mdf-Cyrl-RU", | ||
"mdh": "mdh-Latn-PH", | ||
"mdr": "mdr-Latn-ID", | ||
"men": "men-Latn-SL", | ||
"mer": "mer-Latn-KE", | ||
"mfe": "mfe-Latn-MU", | ||
"mg": "mg-Latn-MG", | ||
"mgh": "mgh-Latn-MZ", | ||
"mgo": "mgo-Latn-CM", | ||
"mgp": "mgp-Deva-NP", | ||
"mgy": "mgy-Latn-TZ", | ||
"mh": "mh-Latn-MH", | ||
"mi": "mi-Latn-NZ", | ||
"min": "min-Latn-ID", | ||
"mk": "mk-Cyrl-MK", | ||
"ml": "ml-Mlym-IN", | ||
"mn": "mn-Cyrl-MN", | ||
"mn-CN": "mn-Mong-CN", | ||
"mn-Mong": "mn-Mong-CN", | ||
"mni": "mni-Beng-IN", | ||
"mnw": "mnw-Mymr-MM", | ||
"moe": "moe-Latn-CA", | ||
"mos": "mos-Latn-BF", | ||
"mr": "mr-Deva-IN", | ||
"mrd": "mrd-Deva-NP", | ||
"mrj": "mrj-Cyrl-RU", | ||
"ms": "ms-Latn-MY", | ||
"ms-CC": "ms-Arab-CC", | ||
"ms-ID": "ms-Arab-ID", | ||
"mt": "mt-Latn-MT", | ||
"mua": "mua-Latn-CM", | ||
"mvy": "mvy-Arab-PK", | ||
"mwk": "mwk-Latn-ML", | ||
"mwr": "mwr-Deva-IN", | ||
"mxc": "mxc-Latn-ZW", | ||
"my": "my-Mymr-MM", | ||
"myv": "myv-Cyrl-RU", | ||
"na": "na-Latn-NR", | ||
"nap": "nap-Latn-IT", | ||
"naq": "naq-Latn-NA", | ||
"nb": "nb-Latn-NO", | ||
"nch": "nch-Latn-MX", | ||
"nd": "nd-Latn-ZW", | ||
"nds": "nds-Latn-DE", | ||
"ne": "ne-Deva-NP", | ||
"new": "new-Deva-NP", | ||
"ng": "ng-Latn-NA", | ||
"nhe": "nhe-Latn-MX", | ||
"nhw": "nhw-Latn-MX", | ||
"nij": "nij-Latn-ID", | ||
"niu": "niu-Latn-NU", | ||
"nl": "nl-Latn-NL", | ||
"nmg": "nmg-Latn-CM", | ||
"nn": "nn-Latn-NO", | ||
"nnh": "nnh-Latn-CM", | ||
"no": "no-Latn-NO", | ||
"nod": "nod-Lana-TH", | ||
"nr": "nr-Latn-ZA", | ||
"nsk": "nsk-Cans-CA", | ||
"nso": "nso-Latn-ZA", | ||
"nus": "nus-Latn-SD", | ||
"nv": "nv-Latn-US", | ||
"nxq": "nxq-Latn-CN", | ||
"ny": "ny-Latn-MW", | ||
"nym": "nym-Latn-TZ", | ||
"nyn": "nyn-Latn-UG", | ||
"oc": "oc-Latn-FR", | ||
"om": "om-Latn-ET", | ||
"or": "or-Orya-IN", | ||
"os": "os-Cyrl-GE", | ||
"pa": "pa-Guru-IN", | ||
"pa-Arab": "pa-Arab-PK", | ||
"pa-PK": "pa-Arab-PK", | ||
"pag": "pag-Latn-PH", | ||
"pam": "pam-Latn-PH", | ||
"pap": "pap-Latn-AW", | ||
"pau": "pau-Latn-PW", | ||
"pcm": "pcm-Latn-NG", | ||
"pko": "pko-Latn-KE", | ||
"pl": "pl-Latn-PL", | ||
"pon": "pon-Latn-FM", | ||
"prd": "prd-Arab-IR", | ||
"prg": "prg-Latn-001", | ||
"ps": "ps-Arab-AF", | ||
"pt": "pt-Latn-BR", | ||
"puu": "puu-Latn-GA", | ||
"qu": "qu-Latn-PE", | ||
"raj": "raj-Latn-IN", | ||
"rcf": "rcf-Latn-RE", | ||
"rej": "rej-Latn-ID", | ||
"ria": "ria-Latn-IN", | ||
"rjs": "rjs-Deva-NP", | ||
"rkt": "rkt-Beng-BD", | ||
"rm": "rm-Latn-CH", | ||
"rmf": "rmf-Latn-FI", | ||
"rmo": "rmo-Latn-CH", | ||
"rmt": "rmt-Arab-IR", | ||
"rmu": "rmu-Latn-SE", | ||
"rn": "rn-Latn-BI", | ||
"rng": "rng-Latn-MZ", | ||
"ro": "ro-Latn-RO", | ||
"rob": "rob-Latn-ID", | ||
"rof": "rof-Latn-TZ", | ||
"ru": "ru-Cyrl-RU", | ||
"rue": "rue-Cyrl-UA", | ||
"rw": "rw-Latn-RW", | ||
"rwk": "rwk-Latn-TZ", | ||
"ryu": "ryu-Kana-JP", | ||
"sa": "sa-Deva-IN", | ||
"saf": "saf-Latn-GH", | ||
"sah": "sah-Cyrl-RU", | ||
"saq": "saq-Latn-KE", | ||
"sas": "sas-Latn-ID", | ||
"sat": "sat-Latn-IN", | ||
"saz": "saz-Saur-IN", | ||
"sbp": "sbp-Latn-TZ", | ||
"scn": "scn-Latn-IT", | ||
"sco": "sco-Latn-GB", | ||
"scs": "scs-Latn-CA", | ||
"sd": "sd-Arab-PK", | ||
"sd-Deva": "sd-Deva-IN", | ||
"sdh": "sdh-Arab-IR", | ||
"se": "se-Latn-NO", | ||
"sef": "sef-Latn-CI", | ||
"seh": "seh-Latn-MZ", | ||
"ses": "ses-Latn-ML", | ||
"sg": "sg-Latn-CF", | ||
"shi": "shi-Tfng-MA", | ||
"shn": "shn-Mymr-MM", | ||
"si": "si-Sinh-LK", | ||
"sid": "sid-Latn-ET", | ||
"sk": "sk-Latn-SK", | ||
"sl": "sl-Latn-SI", | ||
"sm": "sm-Latn-WS", | ||
"sma": "sma-Latn-SE", | ||
"smj": "smj-Latn-SE", | ||
"smn": "smn-Latn-FI", | ||
"sms": "sms-Latn-FI", | ||
"sn": "sn-Latn-ZW", | ||
"snk": "snk-Latn-ML", | ||
"so": "so-Latn-SO", | ||
"sq": "sq-Latn-AL", | ||
"sr": "sr-Cyrl-RS", | ||
"sr-ME": "sr-Latn-ME", | ||
"sr-RO": "sr-Latn-RO", | ||
"sr-RU": "sr-Latn-RU", | ||
"sr-TR": "sr-Latn-TR", | ||
"srn": "srn-Latn-SR", | ||
"srr": "srr-Latn-SN", | ||
"srx": "srx-Deva-IN", | ||
"ss": "ss-Latn-ZA", | ||
"ssy": "ssy-Latn-ER", | ||
"st": "st-Latn-ZA", | ||
"su": "su-Latn-ID", | ||
"suk": "suk-Latn-TZ", | ||
"sus": "sus-Latn-GN", | ||
"sv": "sv-Latn-SE", | ||
"sw": "sw-Latn-TZ", | ||
"swb": "swb-Arab-YT", | ||
"swc": "swc-Latn-CD", | ||
"sxn": "sxn-Latn-ID", | ||
"syl": "syl-Beng-BD", | ||
"syr": "syr-Syrc-IQ", | ||
"ta": "ta-Taml-IN", | ||
"taj": "taj-Deva-NP", | ||
"tbw": "tbw-Latn-PH", | ||
"tcy": "tcy-Knda-IN", | ||
"tdd": "tdd-Tale-CN", | ||
"tdg": "tdg-Deva-NP", | ||
"tdh": "tdh-Deva-NP", | ||
"te": "te-Telu-IN", | ||
"tem": "tem-Latn-SL", | ||
"teo": "teo-Latn-UG", | ||
"tet": "tet-Latn-TL", | ||
"tg": "tg-Cyrl-TJ", | ||
"tg-Arab": "tg-Arab-PK", | ||
"tg-PK": "tg-Arab-PK", | ||
"th": "th-Thai-TH", | ||
"thl": "thl-Deva-NP", | ||
"thq": "thq-Deva-NP", | ||
"thr": "thr-Deva-NP", | ||
"ti": "ti-Ethi-ET", | ||
"tig": "tig-Ethi-ER", | ||
"tiv": "tiv-Latn-NG", | ||
"tk": "tk-Latn-TM", | ||
"tkl": "tkl-Latn-TK", | ||
"tkt": "tkt-Deva-NP", | ||
"tl": "tl-Latn-PH", | ||
"tmh": "tmh-Latn-NE", | ||
"tn": "tn-Latn-ZA", | ||
"to": "to-Latn-TO", | ||
"tpi": "tpi-Latn-PG", | ||
"tr": "tr-Latn-TR", | ||
"trv": "trv-Latn-TW", | ||
"ts": "ts-Latn-ZA", | ||
"tsf": "tsf-Deva-NP", | ||
"tsg": "tsg-Latn-PH", | ||
"tsj": "tsj-Tibt-BT", | ||
"tt": "tt-Cyrl-RU", | ||
"ttj": "ttj-Latn-UG", | ||
"tts": "tts-Thai-TH", | ||
"tum": "tum-Latn-MW", | ||
"tvl": "tvl-Latn-TV", | ||
"twq": "twq-Latn-NE", | ||
"ty": "ty-Latn-PF", | ||
"tyv": "tyv-Cyrl-RU", | ||
"tzm": "tzm-Latn-MA", | ||
"udm": "udm-Cyrl-RU", | ||
"ug": "ug-Arab-CN", | ||
"ug-Cyrl": "ug-Cyrl-KZ", | ||
"ug-KZ": "ug-Cyrl-KZ", | ||
"ug-MN": "ug-Cyrl-MN", | ||
"uk": "uk-Cyrl-UA", | ||
"uli": "uli-Latn-FM", | ||
"umb": "umb-Latn-AO", | ||
"und": "en-Latn-US", | ||
"und-002": "en-Latn-NG", | ||
"und-003": "en-Latn-US", | ||
"und-005": "pt-Latn-BR", | ||
"und-009": "en-Latn-AU", | ||
"und-011": "en-Latn-NG", | ||
"und-013": "es-Latn-MX", | ||
"und-014": "en-Latn-KE", | ||
"und-015": "ar-Arab-EG", | ||
"und-017": "sw-Latn-CD", | ||
"und-018": "en-Latn-ZA", | ||
"und-019": "en-Latn-US", | ||
"und-021": "en-Latn-US", | ||
"und-029": "es-Latn-CU", | ||
"und-030": "zh-Hans-CN", | ||
"und-034": "hi-Deva-IN", | ||
"und-035": "id-Latn-ID", | ||
"und-039": "it-Latn-IT", | ||
"und-053": "en-Latn-AU", | ||
"und-054": "en-Latn-PG", | ||
"und-057": "en-Latn-KI", | ||
"und-061": "sm-Latn-WS", | ||
"und-142": "zh-Hans-CN", | ||
"und-143": "uz-Latn-UZ", | ||
"und-145": "ar-Arab-SA", | ||
"und-150": "ru-Cyrl-RU", | ||
"und-151": "ru-Cyrl-RU", | ||
"und-154": "en-Latn-GB", | ||
"und-155": "de-Latn-DE", | ||
"und-419": "es-Latn-419", | ||
"und-AD": "ca-Latn-AD", | ||
"und-AE": "ar-Arab-AE", | ||
"und-AF": "fa-Arab-AF", | ||
"und-AL": "sq-Latn-AL", | ||
"und-AM": "hy-Armn-AM", | ||
"und-AO": "pt-Latn-AO", | ||
"und-AQ": "und-Latn-AQ", | ||
"und-AR": "es-Latn-AR", | ||
"und-AS": "sm-Latn-AS", | ||
"und-AT": "de-Latn-AT", | ||
"und-AW": "nl-Latn-AW", | ||
"und-AX": "sv-Latn-AX", | ||
"und-AZ": "az-Latn-AZ", | ||
"und-Arab": "ar-Arab-EG", | ||
"und-Arab-CC": "ms-Arab-CC", | ||
"und-Arab-CN": "ug-Arab-CN", | ||
"und-Arab-GB": "ks-Arab-GB", | ||
"und-Arab-ID": "ms-Arab-ID", | ||
"und-Arab-IN": "ur-Arab-IN", | ||
"und-Arab-KH": "cja-Arab-KH", | ||
"und-Arab-MN": "kk-Arab-MN", | ||
"und-Arab-MU": "ur-Arab-MU", | ||
"und-Arab-NG": "ha-Arab-NG", | ||
"und-Arab-PK": "ur-Arab-PK", | ||
"und-Arab-TJ": "fa-Arab-TJ", | ||
"und-Arab-TR": "zza-Arab-TR", | ||
"und-Arab-YT": "swb-Arab-YT", | ||
"und-Armi": "arc-Armi-IR", | ||
"und-Armn": "hy-Armn-AM", | ||
"und-Avst": "ae-Avst-IR", | ||
"und-BA": "bs-Latn-BA", | ||
"und-BD": "bn-Beng-BD", | ||
"und-BE": "nl-Latn-BE", | ||
"und-BF": "fr-Latn-BF", | ||
"und-BG": "bg-Cyrl-BG", | ||
"und-BH": "ar-Arab-BH", | ||
"und-BI": "rn-Latn-BI", | ||
"und-BJ": "fr-Latn-BJ", | ||
"und-BL": "fr-Latn-BL", | ||
"und-BN": "ms-Latn-BN", | ||
"und-BO": "es-Latn-BO", | ||
"und-BQ": "pap-Latn-BQ", | ||
"und-BR": "pt-Latn-BR", | ||
"und-BT": "dz-Tibt-BT", | ||
"und-BV": "und-Latn-BV", | ||
"und-BY": "be-Cyrl-BY", | ||
"und-Bali": "ban-Bali-ID", | ||
"und-Bamu": "bax-Bamu-CM", | ||
"und-Batk": "bbc-Batk-ID", | ||
"und-Beng": "bn-Beng-BD", | ||
"und-Bopo": "zh-Bopo-TW", | ||
"und-Brah": "pra-Brah-IN", | ||
"und-Brai": "und-Brai-FR", | ||
"und-Bugi": "bug-Bugi-ID", | ||
"und-Buhd": "bku-Buhd-PH", | ||
"und-CD": "sw-Latn-CD", | ||
"und-CF": "fr-Latn-CF", | ||
"und-CG": "fr-Latn-CG", | ||
"und-CH": "de-Latn-CH", | ||
"und-CI": "fr-Latn-CI", | ||
"und-CL": "es-Latn-CL", | ||
"und-CM": "fr-Latn-CM", | ||
"und-CN": "zh-Hans-CN", | ||
"und-CO": "es-Latn-CO", | ||
"und-CP": "und-Latn-CP", | ||
"und-CR": "es-Latn-CR", | ||
"und-CU": "es-Latn-CU", | ||
"und-CV": "pt-Latn-CV", | ||
"und-CW": "pap-Latn-CW", | ||
"und-CY": "el-Grek-CY", | ||
"und-CZ": "cs-Latn-CZ", | ||
"und-Cakm": "ccp-Cakm-BD", | ||
"und-Cans": "cr-Cans-CA", | ||
"und-Cari": "xcr-Cari-TR", | ||
"und-Cham": "cjm-Cham-VN", | ||
"und-Cher": "chr-Cher-US", | ||
"und-Copt": "cop-Copt-EG", | ||
"und-Cprt": "grc-Cprt-CY", | ||
"und-Cyrl": "ru-Cyrl-RU", | ||
"und-Cyrl-AL": "mk-Cyrl-AL", | ||
"und-Cyrl-BA": "sr-Cyrl-BA", | ||
"und-Cyrl-GE": "ab-Cyrl-GE", | ||
"und-Cyrl-GR": "mk-Cyrl-GR", | ||
"und-Cyrl-MD": "uk-Cyrl-MD", | ||
"und-Cyrl-PL": "be-Cyrl-PL", | ||
"und-Cyrl-RO": "bg-Cyrl-RO", | ||
"und-Cyrl-SK": "uk-Cyrl-SK", | ||
"und-Cyrl-TR": "kbd-Cyrl-TR", | ||
"und-Cyrl-XK": "sr-Cyrl-XK", | ||
"und-DE": "de-Latn-DE", | ||
"und-DJ": "aa-Latn-DJ", | ||
"und-DK": "da-Latn-DK", | ||
"und-DO": "es-Latn-DO", | ||
"und-DZ": "ar-Arab-DZ", | ||
"und-Deva": "hi-Deva-IN", | ||
"und-Deva-BT": "ne-Deva-BT", | ||
"und-Deva-MU": "bho-Deva-MU", | ||
"und-Deva-PK": "btv-Deva-PK", | ||
"und-EA": "es-Latn-EA", | ||
"und-EC": "es-Latn-EC", | ||
"und-EE": "et-Latn-EE", | ||
"und-EG": "ar-Arab-EG", | ||
"und-EH": "ar-Arab-EH", | ||
"und-ER": "ti-Ethi-ER", | ||
"und-ES": "es-Latn-ES", | ||
"und-ET": "am-Ethi-ET", | ||
"und-EU": "en-Latn-GB", | ||
"und-Egyp": "egy-Egyp-EG", | ||
"und-Ethi": "am-Ethi-ET", | ||
"und-FI": "fi-Latn-FI", | ||
"und-FM": "chk-Latn-FM", | ||
"und-FO": "fo-Latn-FO", | ||
"und-FR": "fr-Latn-FR", | ||
"und-GA": "fr-Latn-GA", | ||
"und-GE": "ka-Geor-GE", | ||
"und-GF": "fr-Latn-GF", | ||
"und-GH": "ak-Latn-GH", | ||
"und-GL": "kl-Latn-GL", | ||
"und-GN": "fr-Latn-GN", | ||
"und-GP": "fr-Latn-GP", | ||
"und-GQ": "es-Latn-GQ", | ||
"und-GR": "el-Grek-GR", | ||
"und-GS": "und-Latn-GS", | ||
"und-GT": "es-Latn-GT", | ||
"und-GW": "pt-Latn-GW", | ||
"und-Geor": "ka-Geor-GE", | ||
"und-Glag": "cu-Glag-BG", | ||
"und-Goth": "got-Goth-UA", | ||
"und-Grek": "el-Grek-GR", | ||
"und-Grek-TR": "bgx-Grek-TR", | ||
"und-Gujr": "gu-Gujr-IN", | ||
"und-Guru": "pa-Guru-IN", | ||
"und-HK": "zh-Hant-HK", | ||
"und-HM": "und-Latn-HM", | ||
"und-HN": "es-Latn-HN", | ||
"und-HR": "hr-Latn-HR", | ||
"und-HT": "ht-Latn-HT", | ||
"und-HU": "hu-Latn-HU", | ||
"und-Hang": "ko-Hang-KR", | ||
"und-Hani": "zh-Hani-CN", | ||
"und-Hano": "hnn-Hano-PH", | ||
"und-Hans": "zh-Hans-CN", | ||
"und-Hant": "zh-Hant-TW", | ||
"und-Hebr": "he-Hebr-IL", | ||
"und-Hebr-CA": "yi-Hebr-CA", | ||
"und-Hebr-GB": "yi-Hebr-GB", | ||
"und-Hebr-SE": "yi-Hebr-SE", | ||
"und-Hebr-UA": "yi-Hebr-UA", | ||
"und-Hebr-US": "yi-Hebr-US", | ||
"und-Hira": "ja-Hira-JP", | ||
"und-IC": "es-Latn-IC", | ||
"und-ID": "id-Latn-ID", | ||
"und-IL": "he-Hebr-IL", | ||
"und-IN": "hi-Deva-IN", | ||
"und-IQ": "ar-Arab-IQ", | ||
"und-IR": "fa-Arab-IR", | ||
"und-IS": "is-Latn-IS", | ||
"und-IT": "it-Latn-IT", | ||
"und-Ital": "ett-Ital-IT", | ||
"und-JO": "ar-Arab-JO", | ||
"und-JP": "ja-Jpan-JP", | ||
"und-Java": "jv-Java-ID", | ||
"und-Jpan": "ja-Jpan-JP", | ||
"und-KG": "ky-Cyrl-KG", | ||
"und-KH": "km-Khmr-KH", | ||
"und-KM": "ar-Arab-KM", | ||
"und-KP": "ko-Kore-KP", | ||
"und-KR": "ko-Kore-KR", | ||
"und-KW": "ar-Arab-KW", | ||
"und-KZ": "ru-Cyrl-KZ", | ||
"und-Kali": "eky-Kali-MM", | ||
"und-Kana": "ja-Kana-JP", | ||
"und-Khar": "pra-Khar-PK", | ||
"und-Khmr": "km-Khmr-KH", | ||
"und-Knda": "kn-Knda-IN", | ||
"und-Kore": "ko-Kore-KR", | ||
"und-Kthi": "bh-Kthi-IN", | ||
"und-LA": "lo-Laoo-LA", | ||
"und-LB": "ar-Arab-LB", | ||
"und-LI": "de-Latn-LI", | ||
"und-LK": "si-Sinh-LK", | ||
"und-LS": "st-Latn-LS", | ||
"und-LT": "lt-Latn-LT", | ||
"und-LU": "fr-Latn-LU", | ||
"und-LV": "lv-Latn-LV", | ||
"und-LY": "ar-Arab-LY", | ||
"und-Lana": "nod-Lana-TH", | ||
"und-Laoo": "lo-Laoo-LA", | ||
"und-Latn-AF": "tk-Latn-AF", | ||
"und-Latn-AM": "az-Latn-AM", | ||
"und-Latn-BG": "tr-Latn-BG", | ||
"und-Latn-CN": "za-Latn-CN", | ||
"und-Latn-CY": "tr-Latn-CY", | ||
"und-Latn-DZ": "fr-Latn-DZ", | ||
"und-Latn-ET": "en-Latn-ET", | ||
"und-Latn-GE": "ku-Latn-GE", | ||
"und-Latn-GR": "tr-Latn-GR", | ||
"und-Latn-IL": "ro-Latn-IL", | ||
"und-Latn-IR": "tk-Latn-IR", | ||
"und-Latn-KM": "fr-Latn-KM", | ||
"und-Latn-KZ": "de-Latn-KZ", | ||
"und-Latn-LB": "fr-Latn-LB", | ||
"und-Latn-MA": "fr-Latn-MA", | ||
"und-Latn-MK": "sq-Latn-MK", | ||
"und-Latn-MO": "pt-Latn-MO", | ||
"und-Latn-MR": "fr-Latn-MR", | ||
"und-Latn-RU": "krl-Latn-RU", | ||
"und-Latn-SY": "fr-Latn-SY", | ||
"und-Latn-TN": "fr-Latn-TN", | ||
"und-Latn-TW": "trv-Latn-TW", | ||
"und-Latn-UA": "pl-Latn-UA", | ||
"und-Lepc": "lep-Lepc-IN", | ||
"und-Limb": "lif-Limb-IN", | ||
"und-Linb": "grc-Linb-GR", | ||
"und-Lisu": "lis-Lisu-CN", | ||
"und-Lyci": "xlc-Lyci-TR", | ||
"und-Lydi": "xld-Lydi-TR", | ||
"und-MA": "ar-Arab-MA", | ||
"und-MC": "fr-Latn-MC", | ||
"und-MD": "ro-Latn-MD", | ||
"und-ME": "sr-Latn-ME", | ||
"und-MF": "fr-Latn-MF", | ||
"und-MG": "mg-Latn-MG", | ||
"und-MK": "mk-Cyrl-MK", | ||
"und-ML": "bm-Latn-ML", | ||
"und-MM": "my-Mymr-MM", | ||
"und-MN": "mn-Cyrl-MN", | ||
"und-MO": "zh-Hant-MO", | ||
"und-MQ": "fr-Latn-MQ", | ||
"und-MR": "ar-Arab-MR", | ||
"und-MT": "mt-Latn-MT", | ||
"und-MU": "mfe-Latn-MU", | ||
"und-MV": "dv-Thaa-MV", | ||
"und-MX": "es-Latn-MX", | ||
"und-MY": "ms-Latn-MY", | ||
"und-MZ": "pt-Latn-MZ", | ||
"und-Mand": "myz-Mand-IR", | ||
"und-Merc": "xmr-Merc-SD", | ||
"und-Mero": "xmr-Mero-SD", | ||
"und-Mlym": "ml-Mlym-IN", | ||
"und-Mong": "mn-Mong-CN", | ||
"und-Mtei": "mni-Mtei-IN", | ||
"und-Mymr": "my-Mymr-MM", | ||
"und-Mymr-IN": "kht-Mymr-IN", | ||
"und-Mymr-TH": "mnw-Mymr-TH", | ||
"und-NA": "af-Latn-NA", | ||
"und-NC": "fr-Latn-NC", | ||
"und-NE": "ha-Latn-NE", | ||
"und-NI": "es-Latn-NI", | ||
"und-NL": "nl-Latn-NL", | ||
"und-NO": "nb-Latn-NO", | ||
"und-NP": "ne-Deva-NP", | ||
"und-Nkoo": "man-Nkoo-GN", | ||
"und-OM": "ar-Arab-OM", | ||
"und-Ogam": "sga-Ogam-IE", | ||
"und-Olck": "sat-Olck-IN", | ||
"und-Orkh": "otk-Orkh-MN", | ||
"und-Orya": "or-Orya-IN", | ||
"und-Osma": "so-Osma-SO", | ||
"und-PA": "es-Latn-PA", | ||
"und-PE": "es-Latn-PE", | ||
"und-PF": "fr-Latn-PF", | ||
"und-PG": "tpi-Latn-PG", | ||
"und-PH": "fil-Latn-PH", | ||
"und-PK": "ur-Arab-PK", | ||
"und-PL": "pl-Latn-PL", | ||
"und-PM": "fr-Latn-PM", | ||
"und-PR": "es-Latn-PR", | ||
"und-PS": "ar-Arab-PS", | ||
"und-PT": "pt-Latn-PT", | ||
"und-PW": "pau-Latn-PW", | ||
"und-PY": "gn-Latn-PY", | ||
"und-Phag": "lzh-Phag-CN", | ||
"und-Phli": "pal-Phli-IR", | ||
"und-Phnx": "phn-Phnx-LB", | ||
"und-Plrd": "hmd-Plrd-CN", | ||
"und-Prti": "xpr-Prti-IR", | ||
"und-QA": "ar-Arab-QA", | ||
"und-QO": "en-Latn-IO", | ||
"und-RE": "fr-Latn-RE", | ||
"und-RO": "ro-Latn-RO", | ||
"und-RS": "sr-Cyrl-RS", | ||
"und-RU": "ru-Cyrl-RU", | ||
"und-RW": "rw-Latn-RW", | ||
"und-Rjng": "rej-Rjng-ID", | ||
"und-Runr": "non-Runr-SE", | ||
"und-SA": "ar-Arab-SA", | ||
"und-SC": "fr-Latn-SC", | ||
"und-SD": "ar-Arab-SD", | ||
"und-SE": "sv-Latn-SE", | ||
"und-SI": "sl-Latn-SI", | ||
"und-SJ": "nb-Latn-SJ", | ||
"und-SK": "sk-Latn-SK", | ||
"und-SM": "it-Latn-SM", | ||
"und-SN": "fr-Latn-SN", | ||
"und-SO": "so-Latn-SO", | ||
"und-SR": "nl-Latn-SR", | ||
"und-ST": "pt-Latn-ST", | ||
"und-SV": "es-Latn-SV", | ||
"und-SY": "ar-Arab-SY", | ||
"und-Samr": "smp-Samr-IL", | ||
"und-Sarb": "xsa-Sarb-YE", | ||
"und-Saur": "saz-Saur-IN", | ||
"und-Shaw": "en-Shaw-GB", | ||
"und-Shrd": "sa-Shrd-IN", | ||
"und-Sinh": "si-Sinh-LK", | ||
"und-Sora": "srb-Sora-IN", | ||
"und-Sund": "su-Sund-ID", | ||
"und-Sylo": "syl-Sylo-BD", | ||
"und-Syrc": "syr-Syrc-IQ", | ||
"und-TD": "fr-Latn-TD", | ||
"und-TF": "fr-Latn-TF", | ||
"und-TG": "fr-Latn-TG", | ||
"und-TH": "th-Thai-TH", | ||
"und-TJ": "tg-Cyrl-TJ", | ||
"und-TK": "tkl-Latn-TK", | ||
"und-TL": "pt-Latn-TL", | ||
"und-TM": "tk-Latn-TM", | ||
"und-TN": "ar-Arab-TN", | ||
"und-TO": "to-Latn-TO", | ||
"und-TR": "tr-Latn-TR", | ||
"und-TV": "tvl-Latn-TV", | ||
"und-TW": "zh-Hant-TW", | ||
"und-TZ": "sw-Latn-TZ", | ||
"und-Tagb": "tbw-Tagb-PH", | ||
"und-Takr": "doi-Takr-IN", | ||
"und-Tale": "tdd-Tale-CN", | ||
"und-Talu": "khb-Talu-CN", | ||
"und-Taml": "ta-Taml-IN", | ||
"und-Tavt": "blt-Tavt-VN", | ||
"und-Telu": "te-Telu-IN", | ||
"und-Tfng": "zgh-Tfng-MA", | ||
"und-Tglg": "fil-Tglg-PH", | ||
"und-Thaa": "dv-Thaa-MV", | ||
"und-Thai": "th-Thai-TH", | ||
"und-Thai-CN": "lcp-Thai-CN", | ||
"und-Thai-KH": "kdt-Thai-KH", | ||
"und-Thai-LA": "kdt-Thai-LA", | ||
"und-Tibt": "bo-Tibt-CN", | ||
"und-UA": "uk-Cyrl-UA", | ||
"und-UG": "sw-Latn-UG", | ||
"und-UY": "es-Latn-UY", | ||
"und-UZ": "uz-Latn-UZ", | ||
"und-Ugar": "uga-Ugar-SY", | ||
"und-VA": "la-Latn-VA", | ||
"und-VE": "es-Latn-VE", | ||
"und-VN": "vi-Latn-VN", | ||
"und-VU": "bi-Latn-VU", | ||
"und-Vaii": "vai-Vaii-LR", | ||
"und-WF": "fr-Latn-WF", | ||
"und-WS": "sm-Latn-WS", | ||
"und-XK": "sq-Latn-XK", | ||
"und-Xpeo": "peo-Xpeo-IR", | ||
"und-Xsux": "akk-Xsux-IQ", | ||
"und-YE": "ar-Arab-YE", | ||
"und-YT": "fr-Latn-YT", | ||
"und-Yiii": "ii-Yiii-CN", | ||
"unr": "unr-Beng-IN", | ||
"unr-Deva": "unr-Deva-NP", | ||
"unr-NP": "unr-Deva-NP", | ||
"unx": "unx-Beng-IN", | ||
"ur": "ur-Arab-PK", | ||
"uz": "uz-Latn-UZ", | ||
"uz-AF": "uz-Arab-AF", | ||
"uz-Arab": "uz-Arab-AF", | ||
"uz-CN": "uz-Cyrl-CN", | ||
"vai": "vai-Vaii-LR", | ||
"ve": "ve-Latn-ZA", | ||
"vi": "vi-Latn-VN", | ||
"vic": "vic-Latn-SX", | ||
"vo": "vo-Latn-001", | ||
"vun": "vun-Latn-TZ", | ||
"wa": "wa-Latn-BE", | ||
"wae": "wae-Latn-CH", | ||
"wal": "wal-Ethi-ET", | ||
"war": "war-Latn-PH", | ||
"wo": "wo-Latn-SN", | ||
"xav": "xav-Latn-BR", | ||
"xh": "xh-Latn-ZA", | ||
"xog": "xog-Latn-UG", | ||
"xsr": "xsr-Deva-NP", | ||
"yao": "yao-Latn-MZ", | ||
"yap": "yap-Latn-FM", | ||
"yav": "yav-Latn-CM", | ||
"ybb": "ybb-Latn-CM", | ||
"yi": "yi-Hebr-UA", | ||
"yo": "yo-Latn-NG", | ||
"yua": "yua-Latn-MX", | ||
"za": "za-Latn-CN", | ||
"zea": "zea-Latn-NL", | ||
"zgh": "zgh-Tfng-MA", | ||
"zh": "zh-Hans-CN", | ||
"zh-AU": "zh-Hant-AU", | ||
"zh-BN": "zh-Hant-BN", | ||
"zh-GB": "zh-Hant-GB", | ||
"zh-GF": "zh-Hant-GF", | ||
"zh-HK": "zh-Hant-HK", | ||
"zh-Hant": "zh-Hant-TW", | ||
"zh-ID": "zh-Hant-ID", | ||
"zh-MO": "zh-Hant-MO", | ||
"zh-MY": "zh-Hant-MY", | ||
"zh-PA": "zh-Hant-PA", | ||
"zh-PF": "zh-Hant-PF", | ||
"zh-PH": "zh-Hant-PH", | ||
"zh-SR": "zh-Hant-SR", | ||
"zh-TH": "zh-Hant-TH", | ||
"zh-TW": "zh-Hant-TW", | ||
"zh-US": "zh-Hant-US", | ||
"zh-VN": "zh-Hant-VN", | ||
"zmi": "zmi-Latn-MY", | ||
"zu": "zu-Latn-ZA", | ||
"zza": "zza-Arab-TR" | ||
} | ||
} | ||
} |
{ | ||
"supplemental": { | ||
"version": { | ||
"_cldrVersion": "24", | ||
"_number": "$Revision: 9270 $" | ||
"_cldrVersion": "25", | ||
"_number": "$Revision: 91 $" | ||
}, | ||
"generation": { | ||
"_date": "$Date: 2013-08-25 16:44:03 -0500 (Sun, 25 Aug 2013) $" | ||
"_date": "$Date: 2014-03-13 22:27:12 -0500 (Thu, 13 Mar 2014) $" | ||
}, | ||
@@ -259,2 +259,6 @@ "timeData": { | ||
}, | ||
"ID": { | ||
"_allowed": "H", | ||
"_preferred": "H" | ||
}, | ||
"IL": { | ||
@@ -261,0 +265,0 @@ "_allowed": "H", |
{ | ||
"supplemental": { | ||
"version": { | ||
"_cldrVersion": "24", | ||
"_number": "$Revision: 9270 $" | ||
"_cldrVersion": "25", | ||
"_number": "$Revision: 91 $" | ||
}, | ||
"generation": { | ||
"_date": "$Date: 2013-08-25 16:44:03 -0500 (Sun, 25 Aug 2013) $" | ||
"_date": "$Date: 2014-03-13 22:27:12 -0500 (Thu, 13 Mar 2014) $" | ||
}, | ||
@@ -13,2 +13,6 @@ "weekData": { | ||
"001": "1", | ||
"GU": "1", | ||
"UM": "1", | ||
"US": "1", | ||
"VI": "1", | ||
"AD": "4", | ||
@@ -36,3 +40,2 @@ "AN": "4", | ||
"GR": "4", | ||
"GU": "1", | ||
"HU": "4", | ||
@@ -58,6 +61,3 @@ "IE": "4", | ||
"SM": "4", | ||
"UM": "1", | ||
"US": "1", | ||
"VA": "4", | ||
"VI": "1" | ||
"VA": "4" | ||
}, | ||
@@ -67,5 +67,2 @@ "firstDay": { | ||
"AD": "mon", | ||
"AE": "sat", | ||
"AF": "sat", | ||
"AG": "sun", | ||
"AI": "mon", | ||
@@ -75,27 +72,14 @@ "AL": "mon", | ||
"AN": "mon", | ||
"AR": "sun", | ||
"AS": "sun", | ||
"AT": "mon", | ||
"AU": "sun", | ||
"AX": "mon", | ||
"AZ": "mon", | ||
"BA": "mon", | ||
"BD": "fri", | ||
"BE": "mon", | ||
"BG": "mon", | ||
"BH": "sat", | ||
"BM": "mon", | ||
"BN": "mon", | ||
"BR": "sun", | ||
"BS": "sun", | ||
"BT": "sun", | ||
"BW": "sun", | ||
"BY": "sun", | ||
"BZ": "sun", | ||
"CA": "sun", | ||
"BY": "mon", | ||
"CH": "mon", | ||
"CL": "mon", | ||
"CM": "mon", | ||
"CN": "sun", | ||
"CO": "sun", | ||
"CR": "mon", | ||
@@ -105,12 +89,6 @@ "CY": "mon", | ||
"DE": "mon", | ||
"DJ": "sat", | ||
"DK": "mon", | ||
"DM": "sun", | ||
"DO": "sun", | ||
"DZ": "sat", | ||
"EC": "mon", | ||
"EE": "mon", | ||
"EG": "sat", | ||
"ES": "mon", | ||
"ET": "sun", | ||
"FI": "mon", | ||
@@ -125,26 +103,8 @@ "FJ": "mon", | ||
"GR": "mon", | ||
"GT": "sun", | ||
"GU": "sun", | ||
"HK": "sun", | ||
"HN": "sun", | ||
"HR": "mon", | ||
"HU": "mon", | ||
"ID": "sun", | ||
"IE": "sun", | ||
"IL": "sun", | ||
"IN": "sun", | ||
"IQ": "sat", | ||
"IR": "sat", | ||
"IS": "mon", | ||
"IT": "mon", | ||
"JM": "sun", | ||
"JO": "sat", | ||
"JP": "sun", | ||
"KE": "sun", | ||
"KG": "mon", | ||
"KH": "sun", | ||
"KR": "sun", | ||
"KW": "sat", | ||
"KZ": "mon", | ||
"LA": "sun", | ||
"LB": "mon", | ||
@@ -156,24 +116,84 @@ "LI": "mon", | ||
"LV": "mon", | ||
"LY": "sat", | ||
"MA": "sat", | ||
"MC": "mon", | ||
"MD": "mon", | ||
"ME": "mon", | ||
"MK": "mon", | ||
"MN": "mon", | ||
"MQ": "mon", | ||
"MY": "mon", | ||
"NL": "mon", | ||
"NO": "mon", | ||
"PL": "mon", | ||
"PT": "mon", | ||
"RE": "mon", | ||
"RO": "mon", | ||
"RS": "mon", | ||
"RU": "mon", | ||
"SE": "mon", | ||
"SI": "mon", | ||
"SK": "mon", | ||
"SM": "mon", | ||
"TJ": "mon", | ||
"TM": "mon", | ||
"TR": "mon", | ||
"UA": "mon", | ||
"UY": "mon", | ||
"UZ": "mon", | ||
"VA": "mon", | ||
"VN": "mon", | ||
"XK": "mon", | ||
"AE": "sat", | ||
"AF": "sat", | ||
"BH": "sat", | ||
"DJ": "sat", | ||
"DZ": "sat", | ||
"EG": "sat", | ||
"IQ": "sat", | ||
"IR": "sat", | ||
"JO": "sat", | ||
"KW": "sat", | ||
"LY": "sat", | ||
"MA": "sat", | ||
"OM": "sat", | ||
"QA": "sat", | ||
"SD": "sat", | ||
"SY": "sat", | ||
"AG": "sun", | ||
"AR": "sun", | ||
"AS": "sun", | ||
"AU": "sun", | ||
"BR": "sun", | ||
"BS": "sun", | ||
"BT": "sun", | ||
"BW": "sun", | ||
"BZ": "sun", | ||
"CA": "sun", | ||
"CN": "sun", | ||
"CO": "sun", | ||
"DM": "sun", | ||
"DO": "sun", | ||
"ET": "sun", | ||
"GT": "sun", | ||
"GU": "sun", | ||
"HK": "sun", | ||
"HN": "sun", | ||
"ID": "sun", | ||
"IE": "sun", | ||
"IL": "sun", | ||
"IN": "sun", | ||
"JM": "sun", | ||
"JP": "sun", | ||
"KE": "sun", | ||
"KH": "sun", | ||
"KR": "sun", | ||
"LA": "sun", | ||
"MH": "sun", | ||
"MK": "mon", | ||
"MM": "sun", | ||
"MN": "mon", | ||
"MO": "sun", | ||
"MQ": "mon", | ||
"MT": "sun", | ||
"MV": "fri", | ||
"MX": "sun", | ||
"MY": "mon", | ||
"MZ": "sun", | ||
"NI": "sun", | ||
"NL": "mon", | ||
"NO": "mon", | ||
"NP": "sun", | ||
"NZ": "sun", | ||
"OM": "sat", | ||
"PA": "sun", | ||
@@ -183,41 +203,21 @@ "PE": "sun", | ||
"PK": "sun", | ||
"PL": "mon", | ||
"PR": "sun", | ||
"PT": "mon", | ||
"PY": "sun", | ||
"QA": "sat", | ||
"RE": "mon", | ||
"RO": "mon", | ||
"RS": "mon", | ||
"RU": "mon", | ||
"SA": "sun", | ||
"SD": "sat", | ||
"SE": "mon", | ||
"SG": "sun", | ||
"SI": "mon", | ||
"SK": "mon", | ||
"SM": "mon", | ||
"SV": "sun", | ||
"SY": "sat", | ||
"TH": "sun", | ||
"TJ": "mon", | ||
"TM": "mon", | ||
"TN": "sun", | ||
"TR": "mon", | ||
"TT": "sun", | ||
"TW": "sun", | ||
"UA": "mon", | ||
"UM": "sun", | ||
"US": "sun", | ||
"UY": "mon", | ||
"UZ": "mon", | ||
"VA": "mon", | ||
"VE": "sun", | ||
"VI": "sun", | ||
"VN": "mon", | ||
"WS": "sun", | ||
"XK": "mon", | ||
"YE": "sun", | ||
"ZA": "sun", | ||
"ZW": "sun" | ||
"ZW": "sun", | ||
"BD": "fri", | ||
"MV": "fri" | ||
}, | ||
@@ -230,10 +230,6 @@ "firstDay-alt-variant": { | ||
"AE": "fri", | ||
"AF": "thu", | ||
"BH": "fri", | ||
"DZ": "thu", | ||
"EG": "fri", | ||
"IL": "fri", | ||
"IN": "sun", | ||
"IQ": "fri", | ||
"IR": "thu", | ||
"JO": "fri", | ||
@@ -243,3 +239,2 @@ "KW": "fri", | ||
"MA": "fri", | ||
"OM": "thu", | ||
"QA": "fri", | ||
@@ -250,3 +245,8 @@ "SA": "fri", | ||
"TN": "fri", | ||
"YE": "fri" | ||
"YE": "fri", | ||
"AF": "thu", | ||
"DZ": "thu", | ||
"IR": "thu", | ||
"OM": "thu", | ||
"IN": "sun" | ||
}, | ||
@@ -256,9 +256,6 @@ "weekendEnd": { | ||
"AE": "sat", | ||
"AF": "fri", | ||
"BH": "sat", | ||
"DZ": "fri", | ||
"EG": "sat", | ||
"IL": "sat", | ||
"IQ": "sat", | ||
"IR": "fri", | ||
"JO": "sat", | ||
@@ -268,3 +265,2 @@ "KW": "sat", | ||
"MA": "sat", | ||
"OM": "fri", | ||
"QA": "sat", | ||
@@ -275,3 +271,7 @@ "SA": "sat", | ||
"TN": "sat", | ||
"YE": "sat" | ||
"YE": "sat", | ||
"AF": "fri", | ||
"DZ": "fri", | ||
"IR": "fri", | ||
"OM": "fri" | ||
} | ||
@@ -278,0 +278,0 @@ } |
@@ -67,2 +67,8 @@ define([ | ||
// Fix #227 | ||
test( "should ignore decimal error", function() { | ||
equal( formatIntegerFractionDigits( 12341234.233, 1, 1, 3, round, null ), "12341234.233", "" ); | ||
equal( formatIntegerFractionDigits( 1234 * 0.0001, 1, 1, 4, round, null ), "0.1234", "" ); | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
305742
109
8431
0
344
6
+ Addedcldrjs@0.3.4(transitive)
- Removedcldrjs@0.3.3(transitive)
Updatedcldrjs@0.3.4