What is the difference between 'de' and 'de-DE' language ...
文章推薦指數: 80 %
de - German - Deutsch; de-DE - Deutsch(Deutschland) - German(Germany). *Android initial device setup, chromium browser in language settings. if ... Home Public Questions Tags Users Collectives ExploreCollectives FindaJob Jobs Companies Teams StackOverflowforTeams –Collaborateandshareknowledgewithaprivategroup. CreateafreeTeam WhatisTeams? Teams CreatefreeTeam CollectivesonStackOverflow Findcentralized,trustedcontentandcollaboratearoundthetechnologiesyouusemost. Learnmore Teams Q&Aforwork Connectandshareknowledgewithinasinglelocationthatisstructuredandeasytosearch. Learnmore Whatisthedifferencebetween'de'and'de-DE'languagecodes? AskQuestion Asked 4years,11monthsago Active 4years,11monthsago Viewed 19ktimes 4 1 Inoticethaticanchooseinsomeplaces*betweenthoselanguages: de-German-Deutsch de-DE-Deutsch(Deutschland)-German(Germany) *Androidinitialdevicesetup,chromiumbrowserinlanguagesettings.ifoneselectsde-DEinchromium,itautomaticallyaddsdetoo. iknowthatde-DEmeans'GermanasspokeninGermany'. butidontknowaothercountrywheregermanisspokenthatdoesnothaveitsownlanguagevariant(likede-CHforswitzerlandorde-ATforaustria). sowhatisthereasonforhavingbothvariantstochosefrom?dotheyhaveanyactualdifference?icouldimaginethatpeoplefromswitzerlandusede-CHasprimarylanguageanddeasfallback,buttheycouldalsousede-DEforthatpurpose,right? iknowthatthereises-ESforspainand'es'forothercountrieswhereespanolisspoken,butthatdonothavetheirownvariantcode. Background:iwanttotrackhowmanyusersusewhichprimarylanguage(browserheader)andimnotsureifdeandde-deshouldbecountedtogetherorseperate,andwhatsthedifferencesis. iusethelanguagedatabasefromhttp://peric.github.io/GetCountries/whichhas'de'butno'de-DE'language.isthedatabasecorrectwithhavingonly'de'? browserinternationalizationisocountry-codes Share Improvethisquestion Follow askedJan16'17at16:43 bhelmbhelm 63511goldbadge77silverbadges1313bronzebadges Addacomment | 2Answers 2 Active Oldest Votes 2 Alotofenvironments(browsers,Android)useonesinglelocalesettingbothforselectingthelanguageoftheUI,andtoformatnumbers,dates,times,etc. Ifyouselectde-CH(forinstanceinAndroidN)youwillget"German"strings(theAndroidtranslationis"genericGerman"),butSwissdates/times/etc. Forinstancethenumbersuseapostropheasthousandseparator(like1'234'567,89),thecurrencyformatterwilluseCHF,andsoon. OnAndroidbeforeNyouselected"German"fromthelanguagelist,butthedefaultlocalesetwasde-DE("German"withoutregionwasjustaUIthing) Totrackusersettings:unfortunately,just"de"or"de-DE"isnotareliablesignal,asnotallsystemsallowforaregionselection. Butifyouseesomethingelse(forinstanceen-CH),thenitismorereliable. YoucanalsotrytocorrelatewithinfofromtheIPaddress.Ifmysettingsays"de"andmyIPaddressisinAustria,youmightinferthatinfactIpreferde-AT(not100%reliable,butbetterthan"de"). Share Improvethisanswer Follow answeredJan18'17at2:53 MihaiNitaMihaiNita 5,3082424silverbadges2525bronzebadges Addacomment | 0 Itdependswhatyouwanttocount.I'mfromSwitzerlandmybrowsercodeisde-CHanddeasafallback. So,ifyoujustwanttocountallGermanspeakingcountries,usingdeshouldbeenough.Justmakesureyoualsoaddallde-CHentriestode.Noteverybodywillhavethefallbackintheirbrowsers. Share Improvethisanswer Follow answeredJan17'17at7:43 RemyRemy 12.1k1414goldbadges6161silverbadges9999bronzebadges 0 Addacomment | YourAnswer ThanksforcontributingananswertoStackOverflow!Pleasebesuretoanswerthequestion.Providedetailsandshareyourresearch!Butavoid…Askingforhelp,clarification,orrespondingtootheranswers.Makingstatementsbasedonopinion;backthemupwithreferencesorpersonalexperience.Tolearnmore,seeourtipsonwritinggreatanswers. Draftsaved Draftdiscarded Signuporlogin SignupusingGoogle SignupusingFacebook SignupusingEmailandPassword Submit Postasaguest Name Email Required,butnevershown PostYourAnswer Discard Byclicking“PostYourAnswer”,youagreetoourtermsofservice,privacypolicyandcookiepolicy Nottheansweryou'relookingfor?Browseotherquestionstaggedbrowserinternationalizationisocountry-codesoraskyourownquestion. TheOverflowBlog Bestpracticescanslowyourapplicationdown Bestpracticesforwritingcodecomments FeaturedonMeta ProvidingaJavaScriptAPIforuserscripts Congratulationstothe59sitesthatjustleftBeta A/BtestingontheAskpage Related 5306 WhatisthemaximumlengthofaURLindifferentbrowsers? 212 Localizationandinternationalization,what'sthedifference? 616 Whatisthemaximumpossiblelengthofaquerystring? 309 DifferencebetweenDOMContentLoadedandloadevents 308 ListofAllLocalesandTheirShortCodes? 510 Whatisthesignificanceof1/1/1753inSQLServer? 142 InC#whatisthedifferencebetweenToUpper()andToUpperInvariant()? 23 Whatstandarddolanguagecodesoftheform"zh-Hans"belongto? 0 ReadusercountryonWindowsPhone8.1 HotNetworkQuestions HowtomanagediskspaceforGromacsXTC(trajectory)fileoutput Twins'complements Co-signertakingoverasprimarywhenborrowercannolongerdrive Whydoesthelightpassingthroughaprismgetsbentinthesamedirectiontwice? WhatisthefateofthesecharactersinSpider-Man:NoWayHome(2021)? AreEnchantmentPointsofferedforAncientHuntslostforever? Quotientofsolidtorusbyswappingcoordinatesonboundary Howdoballbearingsnotcrackfromaloadconcentratedonaninfinitesimallysmallpoint? Whycanwecalculatemomentofinertia,butnotinertia? Howcouldpearsbeusedasammunition? InFIDEtournaments,doIhavetherighttoresignonmyfirstmoveorwithin10moves? Howtoseparatetheregionsenclosedbycurves DoIalwaysneedtogothroughimmigrationifIhaveaself-transfer? Whywouldacurrentmeasurementshuntdesignuse4sensepins? Howtonotatelackofpedalforameasure? Whatarethe"hot"topicsinmathematicalQFTatthetime? DoesanArcaneArcherfighter'sPiercingorSeekingArrowpassthroughaWindWallspell? Whyischurrodoughcreatedwithboilingwater? PurposeofZenerdiodeinbutton Gettingonlyrealsolutions Willmyexperienceintheindustryworkagainstmeatthispoint? Accidentallylefttheovenonovernight,doIneedtodoanything? Scifinoveltakingplaceinmultipletimeperiods:Atlantisdestroyedinnuclearexchange,moderndaynavyreplacedbyUSAFRockets ArethereanyweightmatricesofresidualconnectionsinResNet? morehotquestions Questionfeed SubscribetoRSS Questionfeed TosubscribetothisRSSfeed,copyandpastethisURLintoyourRSSreader. Yourprivacy Byclicking“Acceptallcookies”,youagreeStackExchangecanstorecookiesonyourdeviceanddiscloseinformationinaccordancewithourCookiePolicy. Acceptallcookies Customizesettings
延伸文章資訊
- 1Language Code Table - Lingoes
ISO Language Code Table ; de-DE, German (Germany) ; de-LI, German (Liechtenstein) ; de-LU, German...
- 2Language Codes - Sortable by code - Israel Science and ...
- 3ISO language codes
Andiamo's list of ISO language codes. Find the two-letter language code for each country by scrol...
- 4What is the difference between 'de' and 'de-DE' language ...
de - German - Deutsch; de-DE - Deutsch(Deutschland) - German(Germany). *Android initial device se...
- 5Supported language codes - IBM
You use language codes to set the locale that is associated with the language and regional settin...