Lines Matching refs:language
53 private String language = ""; // language subtag
91 // / "no-bok" ; are not extended language
139 * Language-Tag = langtag ; normal language tags
144 * langtag = language
151 * language = 2*3ALPHA ; shortest ISO 639 code
153 * ; extended language subtags
155 * / 5*8ALPHA ; or registered language subtag
201 // langtag must start with either language or privateuse
238 language = s;
419 String language = baseLocale.getLanguage();
428 if (isLanguage(language)) {
429 // Convert a deprecated language code to its new code
430 if (language.equals("iw")) {
431 language = "he";
432 } else if (language.equals("ji")) {
433 language = "yi";
434 } else if (language.equals("in")) {
435 language = "id";
437 tag.language = language;
450 // Special handling for no_NO_NY - use nn_NO for language tag
451 if (tag.language.equals("no") && tag.region.equals("NO") && variant.equals("NY")) {
452 tag.language = "nn";
532 if (tag.language.length() == 0 && (hasSubtag || privateuse == null)) {
533 // use lang "und" when 1) no language is available AND
536 tag.language = UNDETERMINED;
543 // Getter methods for language subtag fields
547 return language;
588 // language = 2*3ALPHA ; shortest ISO 639 code
590 // ; extended language subtags
592 // / 5*8ALPHA ; or registered language subtag
717 if (language.length() > 0) {
718 sb.append(language);