Home | History | Annotate | Download | only in google

Lines Matching defs:language

13  * See the License for the specific language governing permissions and
73 * Construct the language code (hl= paramater) for the given locale.
76 String language = locale.getLanguage();
77 StringBuilder hl = new StringBuilder(language);
80 if (!TextUtils.isEmpty(country) && useLangCountryHl(language, country)) {
85 if (DBG) Log.d(TAG, "language " + language + ", country " + country + " -> hl=" + hl);
90 private static boolean useLangCountryHl(String language, String country) {
92 if ("en".equals(language)) {
94 } else if ("zh".equals(language)) {
96 } else if ("pt".equals(language)) {