locale:ReadonlySet<Locale> = new Set<Locale>([af,afNA,afZA,ak,akGH,sq,sqAL,sqMK,am,amET,ar,arDZ,arBH,arTD,arKM,arDJ,arEG,arER,arIQ,arIL,arJO,arKW,arLB,arLY,arMR,arMA,arOM,arPS,arQA,arSA,arSO,arSS,arSD,arSY,arTN,arAE,arEH,arYE,hy,hyAM,as,asIN,az,azAZ,azCyrlAZ,azCyrl,azLatnAZ,azLatn,bm,bmLatnML,bmLatn,eu,euES,be,beBY,bn,bnBD,bnIN,bs,bsBA,bsCyrlBA,bsCyrl,bsLatnBA,bsLatn,br,brFR,bg,bgBG,my,myMM,ca,caAD,caFR,caIT,caES,zh,zhCN,zhHK,zhMO,zhHansCN,zhHansHK,zhHansMO,zhHansSG,zhHans,zhSG,zhTW,zhHantHK,zhHantMO,zhHantTW,zhHant,kw,kwGB,hr,hrBA,hrHR,cs,csCZ,da,daDK,daGL,nl,nlAW,nlBE,nlBQ,nlCW,nlNL,nlSX,nlSR,dz,dzBT,en,enAS,enAI,enAG,enAU,enBS,enBB,enBE,enBZ,enBM,enBW,enIO,enVG,enCM,enCA,enKY,enCX,enCC,enCK,enDM,enER,enFK,enFJ,enGM,enGH,enGI,enGD,enGU,enGG,enGY,enHK,enIN,enIE,enIM,enJM,enJE,enKE,enKI,enLS,enLR,enMO,enMG,enMW,enMY,enMT,enMH,enMU,enFM,enMS,enNA,enNR,enNZ,enNG,enNU,enNF,enMP,enPK,enPW,enPG,enPH,enPN,enPR,enRW,enWS,enSC,enSL,enSG,enSX,enSB,enZA,enSS,enSH,enKN,enLC,enVC,enSD,enSZ,enTZ,enTK,enTO,enTT,enTC,enTV,enUM,enVI,enUG,enGB,enUS,enVU,enZM,enZW,eo,et,etEE,ee,eeGH,eeTG,fo,foFO,fi,fiFI,fr,frDZ,frBE,frBJ,frBF,frBI,frCM,frCA,frCF,frTD,frKM,frCG,frCD,frCI,frDJ,frGQ,frFR,frGF,frPF,frGA,frGP,frGN,frHT,frLU,frMG,frML,frMQ,frMR,frMU,frYT,frMC,frMA,frNC,frNE,frRE,frRW,frSN,frSC,frBL,frMF,frPM,frCH,frSY,frTG,frTN,frVU,frWF,ff,ffCM,ffGN,ffMR,ffSN,gl,glES,lg,lgUG,ka,kaGE,de,deAT,deBE,deDE,deLI,deLU,deCH,el,elCY,elGR,gu,guIN,ha,haGH,haLatnGH,haLatnNE,haLatnNG,haLatn,haNE,haNG,he,heIL,hi,hiIN,hu,huHU,is,isIS,ig,igNG,id,idID,ga,gaIE,it,itIT,itSM,itCH,ja,jaJP,kl,klGL,kn,knIN,ks,ksArabIN,ksArab,ksIN,kk,kkCyrlKZ,kkCyrl,kkKZ,km,kmKH,ki,kiKE,rw,rwRW,ko,koKP,koKR,ky,kyCyrlKG,kyCyrl,kyKG,lo,loLA,lv,lvLV,ln,lnAO,lnCF,lnCG,lnCD,lt,ltLT,lu,luCD,lb,lbLU,mk,mkMK,mg,mgMG,ms,msBN,msLatnBN,msLatnMY,msLatnSG,msLatn,msMY,msSG,ml,mlIN,mt,mtMT,gv,gvIM,mr,mrIN,mn,mnCyrlMN,mnCyrl,mnMN,ne,neIN,neNP,nd,ndZW,se,seFI,seNO,seSE,no,noNO,nb,nbNO,nbSJ,nn,nnNO,or,orIN,om,omET,omKE,os,osGE,osRU,ps,psAF,fa,faAF,faIR,pl,plPL,pt,ptAO,ptBR,ptCV,ptGW,ptMO,ptMZ,ptPT,ptST,ptTL,pa,paArabPK,paArab,paGuruIN,paGuru,paIN,paPK,qu,quBO,quEC,quPE,ro,roMD,roRO,rm,rmCH,rn,rnBI,ru,ruBY,ruKZ,ruKG,ruMD,ruRU,ruUA,sg,sgCF,gd,gdGB,sr,srBA,srCyrlBA,srCyrlME,srCyrlRS,srCyrl,srLatnBA,srLatnME,srLatnRS,srLatn,srME,srRS,sn,snZW,ii,iiCN,si,siLK,sk,skSK,sl,slSI,so,soDJ,soET,soKE,soSO,es,esAR,esBO,esCL,esCO,esCR,esCU,esDO,esEC,esSV,esGQ,esGT,esHN,esMX,esNI,esPA,esPY,esPE,esPH,esPR,esES,esUS,esUY,esVE,sw,swKE,swTZ,swUG,sv,svAX,svFI,svSE,tl,tlPH,ta,taIN,taMY,taSG,taLK,te,teIN,th,thTH,bo,boCN,boIN,ti,tiER,tiET,to,toTO,tr,trCY,trTR,uk,ukUA,ur,urIN,urPK,ug,ugArabCN,ugArab,ugCN,uz,uzAF,uzArabAF,uzArab,uzCyrlUZ,uzCyrl,uzLatnUZ,uzLatn,uzUZ,vi,viVN,cy,cyGB,fy,fyNL,yi,yo,yoBJ,yoNG,zu,zuZA,])
A set of the supported locale values.
example
Validation
import { locale } from 'Locale';
if (!locale.has(someLocaleObject)) {
throw new TypeError('Unsupported locale');
}
The supported locales