Searched refs:languageSubtag (Results 1 – 6 of 6) sorted by relevance
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | Iso639Data.java | 149 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 …]
|
D | StandardCodes.java | 1455 public static String fixLanguageTag(String languageSubtag) { 1456 if (languageSubtag.equals("mo")) { // fix special cases 1458 } else if (languageSubtag.equals("no")) { 1461 return languageSubtag;
|
D | SupplementalDataInfo.java | 362 public String toString(String languageSubtag) { in toString() argument 366 + languageSubtag in toString()
|
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
D | SupplementalData.java | 190 private String languageSubtag; field in SupplementalData.LocaleId 196 return languageSubtag; in getLanguage() 211 LocaleId setLanguage(String languageSubtag) { in setLanguage() argument 212 checkNotNull(languageSubtag, "language subtag must not be null"); in setLanguage() 213 checkArgument(!languageSubtag.isEmpty(), "language subtag must not be empty"); in setLanguage() 214 this.languageSubtag = languageSubtag; in setLanguage() 234 StringBuilder id = new StringBuilder(languageSubtag); in toString() 252 return Objects.equals(languageSubtag, other.languageSubtag) in equals() 259 return Objects.hash(languageSubtag, scriptSubtag, regionSubtag, variantSubtag); in hashCode()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | ConvertLanguageData.java | 314 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 …]
|
D | ShowData.java | 172 String languageSubtag = localeIDParser.getLanguage(); in main() local 193 boolean showEnglish = !languageSubtag.equals("en"); in main()
|