Home
last modified time | relevance | path

Searched refs:languageSubtag (Results 1 – 5 of 5) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DIso639Data.java149 public static Source getSource(String languageSubtag) { in getSource() argument
153 if (!isValid(languageSubtag)) { in getSource()
156 Source result = toSource.get(languageSubtag); in getSource()
162 public static String toAlpha3(String languageSubtag) { in toAlpha3() argument
166 if (!isValid(languageSubtag)) { in toAlpha3()
169 return toAlpha3.get(languageSubtag); in toAlpha3()
217 public static Set<String> getNames(String languageSubtag) { in getNames() argument
221 return toNames.getAll(languageSubtag); in getNames()
224 public static Scope getScope(String languageSubtag) { in getScope() argument
228 if (!isValid(languageSubtag)) in getScope()
[all …]
DStandardCodes.java1412 public static String fixLanguageTag(String languageSubtag) {
1413 if (languageSubtag.equals("mo")) { // fix special cases
1415 } else if (languageSubtag.equals("no")) {
1418 return languageSubtag;
DSupplementalDataInfo.java354 public String toString(String languageSubtag) { in toString() argument
358 + languageSubtag in toString()
/external/cldr/tools/java/org/unicode/cldr/tool/
DConvertLanguageData.java314 for (String languageSubtag : allLanguages) { in writeNewBasicData2()
315 …ation<BasicLanguageData.Type, String> status_scripts = language_status_scripts.get(languageSubtag); in writeNewBasicData2()
317 .get(languageSubtag); in writeNewBasicData2()
321 .getBasicLanguageDataMap(languageSubtag); in writeNewBasicData2()
343 warnings.add(BadItem.DETAIL.toString("changing <languageData>", languageSubtag in writeNewBasicData2()
344 + "\t" + english.getName(languageSubtag), problem)); in writeNewBasicData2()
352 Log.println("\t\t<language type=\"" + languageSubtag + "\"" in writeNewBasicData2()
419 for (String languageSubtag : language2BasicLanguageData.keySet()) { in checkBasicData()
420 for (BasicLanguageData item : language2BasicLanguageData.getAll(languageSubtag)) { in checkBasicData()
421 … languageToScripts.putAll(StandardCodes.fixLanguageTag(languageSubtag), item.getScripts()); in checkBasicData()
[all …]
DShowData.java170 String languageSubtag = localeIDParser.getLanguage(); in main() local
191 boolean showEnglish = !languageSubtag.equals("en"); in main()