Locale
文章推薦指數: 80 %
Each locale code consists of the language code and country arguments. The language argument is a valid ISO Language Code . These codes are the lower-case, ... Home | TableofContentsLocalePrev LocaleandLocaleSensitivity NextLocaleLocalerepresentsaspecificgeographical, political,orculturalregion.Anoperationthatrequiresa localetoperformitstaskiscalled locale-sensitiveandusesthelocaletotailor informationfortheuser.Forexample,displayinganumberisa locale-sensitiveoperationasthenumbershouldbeformattedaccording tothecustoms/conventionsofthenativecountry,region,orculture oftheuser.Eachlocalecodeconsistsofthelanguagecodeandcountry arguments.ThelanguageargumentisavalidISOLanguage Code.Thesecodesarethelower-case,two-lettercodesas definedbyISO-639.ThecountryargumentisavalidISOCountry Code.Thesecodesaretheupper-case,two-lettercodesas definedbyISO-3166.Insteadofspecifyingtheformatparameter(ortogetherwithit),youcanspecify thelocaleparameter.Instrings,insteadofsettingaformatforthewholedatefield, specifye.g.theGermanlocale.CloudConnectwillthenautomaticallychoose theproperdateformatusedinGermany.Ifthelocaleisnotspecifiedatall,CloudConnectwillchoose thedefaultonewhichisgivenbyyoursystem.Inordertolearnhowtochangethe defaultlocale,refertoChangingDefaultCloudConnectSettingsInnumbers,ontheotherhand,therearecaseswhenboth theformatandlocaleparametersaremeaningful.Incaseofspecifyingtheformatofdecimal numbers,youdefinetheformat/patternwithadecimalseparatorandthelocale determineswhethertheseparatorisacommaoradot.Ifneitherthelocaleorformatisspecified,thenumber isconvertedtostringusingauniversaltechnique(withoutcheckingdefaultProperties).Ifonlytheformatparameterisgiven,thedefaultlocale isused.Example 28.2. ExamplesofLocaleen.USoren.GBTogetmoreexamplesofotherformattingthatisaffectedwhenthelocaleischanged seeLocale-SensitiveFormatting.Dates,too,canhavedifferentformatsindifferentlocales(even withdifferentcountriesofthesamelanguage).Forinstance, March2,2009(intheUSA)vs.2March 2009(intheUK).ListofallLocale AcompletelistofthelocalesupportedbyCloudConnectcanbefoundinaseparate tablebelow.Thelocaleformatasdescribedaboveisalways"language.COUNTRY". Table 28.14. ListofallLocaleLocalecodeMeaning[systemdefault]LocaledeterminedbyyourOSarArabiclanguagear.AEArabic-UnitedArabEmiratesar.BHArabic-Bahrainar.DZArabic-Algeriaar.EGArabic-Egyptar.IQArabic-Iraqar.JOArabic-Jordanar.KWArabic-Kuwaitar.LBArabic-Lebanonar.LYArabic-Lybiaar.MAArabic-Moroccoar.OMArabic-Omanar.QAArabic-Qatarar.SAArabic-SaudiArabiaar.SDArabic-Sudanar.SYArabic-SyrianArabRepublicar.TNArabic-Tunisiaar.YEArabic-YemenbeByelorussianlanguagebe.BYByelorussian-BelarusbgBulgarianlanguagebg.BGBulgarian-BulgariacaCatalanlanguageca.ESCatalan-SpaincsCzechlanguagecs.CZCzech-CzechRepublicdaDanishlanguageda.DKDanish-DenmarkdeGermanlanguagede.ATGerman-Austriade.CHGerman-Switzerlandde.DEGerman-Germanyde.LUGerman-LuxembourgelGreeklanguageel.CYGreek-Cyprusel.GRGreek-GreeceenEnglishlanguageen.AUEnglish-Australiaen.CAEnglish-Canadaen.GBEnglish-GreatBritainen.IEEnglish-Irelanden.INEnglish-Indiaen.MTEnglish-Maltaen.NZEnglish-NewZealanden.PHEnglish-Philippinesen.SG English-Singaporeen.USEnglish-UnitedStatesen.ZAEnglish-SouthAfricaesSpanishlanguagees.ARSpanish-Argentinaes.BOSpanish-Boliviaes.CLSpanish-Chilees.COSpanish-Colombiaes.CRSpanish-CostaRicaes.DOSpanish-DominicanRepublices.ECSpanish-Ecuadores.ESSpanish-Spaines.GTSpanish-Guatemalaes.HNSpanish-Hondurases.MXSpanish-Mexicoes.NISpanish-Nicaraguaes.PASpanish-Panamaes.PRSpanish-PuertoRicoes.PYSpanish-Paraguayes.USSpanish-UnitedStateses.UYSpanish-Uruguayes.VESpanish-VenezuelaetEstonianlanguageet.EEEstonian-EstoniafiFinnishlanguagefi.FIFinnish-FinlandfrFrenchlanguagefr.BEFrench-Belgiumfr.CAFrench-Canadafr.CHFrench-Switzerlandfr.FRFrench-Francefr.LUFrench-LuxembourggaIrishlanguagega.IEIrish-IrelandheHebrewlanguagehe.ILHebrew-Israelhi.INHindi-IndiahrCroatianlanguagehr.HRCroatian-CroatiaidIndonesianlanguageid.IDIndonesian-IndonesiaisIcelandiclanguageis.ISIcelandic-IcelanditItalianlanguageit.CHItalian-Switzerlandit.ITItalian-ItalyiwHebrewlanguageiw.ILHebrew-IsraeljaJapaneselanguageja.JPJapanese-JapankoKoreanlanguateko.KRKorean-RepublicofKorealtLithuanianlanguagelt.LTLithuanianlanguage-LithuanialvLatvianlanguagelv.LVLatvianlanguage-LatviamkMacedonianlanguagemk.MKMacedonian-TheFormerYugoslavRepublicofMacedoniamsMalaylanguagems.MYMalay-BurmesemtMalteselanguagemt.MTMaltese-MaltanlDutchlanguagenl.BEDutch-Belgiumnl.NLDutch-NetherlandsnoNorwegianlanguageno.NONorwegian-NorwayplPolishlanguagepl.PLPolish-PolandptPortugueselanguagept.BRPortuguese-Brazilpt.PTPortuguese-PortugalroRomanianlanguagero.RORomanian-RomanyruRussianlanguageru.RURussian-RussianFederationskSlovaklanguagesk.SKSlovak-SlovakiaslSlovenianlanguagesl.SISlovenian-SloveniasqAlbanianlanguagesq.ALAlbanian-AlbaniasrSerbianlanguagesr.BASerbian-BosniaandHerzegowinasr.CSSerbian-SerbiaandMontenegrosr.MESerbian-Serbia(Cyrillic,Montenegro)sr.RSSerbian-Serbia(Latin,Serbia)svSwedishlanguagesv.SESwedish-SwedenthThailanguageth.THThai-ThailandtrTurkishlanguagetr.TRTurkish-TurkeyukUkrainianlanguageuk.UAUkrainian-Ukrainevi.VNVietnamese-VietnamzhChineselanguagezh.CNChinese-Chinazh.HKChinese-HongKongzh.SGChinese-Singaporezh.TWChinese-TaiwanPrev Up NextLocaleandLocaleSensitivity Home | TableofContents LocaleSensitivity
延伸文章資訊
- 1Language Codes - Israel Science and Technology Directory
- 2locale-codes - npm
Language codes & country codes. ... locale-codes. TypeScript icon, indicating that this package h...
- 32.1.1906 Part 4 Section 7.6.2.39, LCID (Locale ID) - Microsoft ...
- 4地區設定- 維基百科,自由的百科全書
- 5Appendix. Locale Codes | Plesk 12.5 documentation