Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(function() {
var language_info = {
languages_top: [
{ code: "de", name: "Deutsch" },
{ code: "en", name: "English", checked: true },
{ code: "es", name: "español" },
{ code: "es-419", name: "español (Latinoamérica)" },
{ code: "fr", name: "français" },
{ code: "hr", name: "hrvatski" },
{ code: "it", name: "italiano" },
{ code: "nl", name: "Nederlands" },
{ code: "pl", name: "polski" },
{ code: "pt-BR", name: "português (Brasil)" },
{ code: "pt-PT", name: "português (Portugal)" },
{ code: "vi", name: "Tiếng Việt" },
{ code: "tr", name: "Türkçe" },
{ code: "ru", name: "русский" },
{ code: "ar", name: "العربية" },
{ code: "th", name: "ไทย" },
{ code: "ko", name: "한국어" },
{ code: "zh-CN", name: "中文 (简体)" },
{ code: "zh-TW", name: "中文 (繁體)" },
{ code: "ja", name: "日本語" }
],
languages_other: [
{ code: "ach", name: "Acoli" },
{ code: "af", name: "Afrikaans" },
{ code: "ak", name: "Akan" },
{ code: "az", name: "azərbaycan" },
{ code: "ban", name: "Balinese" },
{ code: "xx-bork", name: "Bork, bork, bork!" },
{ code: "bs", name: "bosanski" },
{ code: "br", name: "brezhoneg" },
{ code: "ca", name: "català" },
{ code: "ceb", name: "Cebuano" },
{ code: "cs", name: "čeština" },
{ code: "sn", name: "chiShona" },
{ code: "co", name: "Corsican" },
{ code: "cy", name: "Cymraeg" },
{ code: "da", name: "dansk" },
{ code: "yo", name: "Èdè Yorùbá" },
{ code: "et", name: "eesti" },
{ code: "xx-elmer", name: "Elmer Fudd" },
{ code: "eo", name: "esperanto" },
{ code: "eu", name: "euskara" },
{ code: "ee", name: "Eʋegbe" },
{ code: "fil", name: "Filipino" },
{ code: "tl", name: "Filipino" },
{ code: "fo", name: "føroyskt" },
{ code: "fy", name: "Frysk" },
{ code: "gaa", name: "Ga" },
{ code: "ga", name: "Gaeilge" },
{ code: "gd", name: "Gàidhlig" },
{ code: "gl", name: "galego" },
{ code: "gn", name: "Guarani" },
{ code: "xx-hacker", name: "Hacker" },
{ code: "ht", name: "Haitian Creole" },
{ code: "ha", name: "Hausa" },
{ code: "haw", name: "ʻŌlelo Hawaiʻi" },
{ code: "bem", name: "Ichibemba" },
{ code: "ig", name: "Igbo" },
{ code: "rn", name: "Ikirundi" },
{ code: "id", name: "Indonesia" },
{ code: "ia", name: "interlingua" },
{ code: "xh", name: "isiXhosa" },
{ code: "zu", name: "isiZulu" },
{ code: "is", name: "íslenska" },
{ code: "jw", name: "Jawa" },
{ code: "rw", name: "Kinyarwanda" },
{ code: "sw", name: "Kiswahili" },
{ code: "tlh", name: "Klingon" },
{ code: "kg", name: "Kongo" },
{ code: "mfe", name: "kreol morisien" },
{ code: "kri", name: "Krio (Sierra Leone)" },
{ code: "la", name: "Latin" },
{ code: "lv", name: "latviešu" },
{ code: "to", name: "lea fakatonga" },
{ code: "lt", name: "lietuvių" },
{ code: "ln", name: "lingála" },
{ code: "loz", name: "Lozi" },
{ code: "lua", name: "Luba-Lulua" },
{ code: "lg", name: "Luganda" },
{ code: "hu", name: "magyar" },
{ code: "mg", name: "Malagasy" },
{ code: "mt", name: "Malti" },
{ code: "mi", name: "Māori" },
{ code: "ms", name: "Melayu" },
{ code: "pcm", name: "Nigerian Pidgin" },
{ code: "no", name: "norsk" },
{ code: "nso", name: "Northern Sotho" },
{ code: "ny", name: "Nyanja" },
{ code: "nn", name: "nynorsk" },
{ code: "uz", name: "o‘zbek" },
{ code: "oc", name: "Occitan" },
{ code: "om", name: "Oromoo" },
{ code: "xx-pirate", name: "Pirate" },
{ code: "ro", name: "română" },
{ code: "rm", name: "rumantsch" },
{ code: "qu", name: "Runasimi" },
{ code: "nyn", name: "Runyankore" },
{ code: "crs", name: "Seychellois Creole" },
{ code: "sq", name: "shqip" },
{ code: "sk", name: "slovenčina" },
{ code: "sl", name: "slovenščina" },
{ code: "so", name: "Soomaali" },
{ code: "st", name: "Southern Sotho" },
{ code: "sr-ME", name: "srpski (Crna Gora)" },
{ code: "sr-Latn", name: "srpski (latinica)" },
{ code: "su", name: "Sundanese" },
{ code: "fi", name: "suomi" },
{ code: "sv", name: "svenska" },
{ code: "tn", name: "Tswana" },
{ code: "tum", name: "Tumbuka" },
{ code: "tk", name: "türkmen dili" },
{ code: "tw", name: "Twi" },
{ code: "wo", name: "Wolof" },
{ code: "el", name: "Ελληνικά" },
{ code: "be", name: "беларуская" },
{ code: "bg", name: "български" },
{ code: "ky", name: "кыргызча" },
{ code: "kk", name: "қазақ тілі" },
{ code: "mk", name: "македонски" },
{ code: "mn", name: "монгол" },
{ code: "sr", name: "српски" },
{ code: "tt", name: "татар" },
{ code: "tg", name: "тоҷикӣ" },
{ code: "uk", name: "українська" },
{ code: "ka", name: "ქართული" },
{ code: "hy", name: "հայերեն" },
{ code: "yi", name: "ייִדיש" },
{ code: "iw", name: "עברית" },
{ code: "ug", name: "ئۇيغۇرچە" },
{ code: "ur", name: "اردو" },
{ code: "ps", name: "پښتو" },
{ code: "sd", name: "سنڌي" },
{ code: "fa", name: "فارسی" },
{ code: "ckb", name: "کوردیی ناوەندی" },
{ code: "ti", name: "ትግርኛ" },
{ code: "am", name: "አማርኛ" },
{ code: "ne", name: "नेपाली" },
{ code: "mr", name: "मराठी" },
{ code: "hi", name: "हिन्दी" },
{ code: "bn", name: "বাংলা" },
{ code: "pa", name: "ਪੰਜਾਬੀ" },
{ code: "gu", name: "ગુજરાતી" },
{ code: "or", name: "ଓଡ଼ିଆ" },
{ code: "ta", name: "தமிழ்" },
{ code: "te", name: "తెలుగు" },
{ code: "kn", name: "ಕನ್ನಡ" },
{ code: "ml", name: "മലയാളം" },
{ code: "si", name: "සිංහල" },
{ code: "lo", name: "ລາວ" },
{ code: "my", name: "မြန်မာ" },
{ code: "km", name: "ខ្មែរ" },
{ code: "chr", name: "ᏣᎳᎩ" }
],
search_languages: [
{ code: "af", name: "Afrikaans", lang_restrict: "lang_af" },
{ code: "ca", name: "català", lang_restrict: "lang_ca" },
{ code: "cs", name: "čeština", lang_restrict: "lang_cs" },
{ code: "da", name: "dansk", lang_restrict: "lang_da" },
{ code: "de", name: "Deutsch", lang_restrict: "lang_de" },
{ code: "et", name: "eesti", lang_restrict: "lang_et" },
{ code: "en", name: "English", checked: true, lang_restrict: "lang_en" },
{ code: "es", name: "español", lang_restrict: "lang_es" },
{ code: "eo", name: "esperanto", lang_restrict: "lang_eo" },
{ code: "tl", name: "Filipino", lang_restrict: "lang_tl" },
{ code: "fr", name: "français", lang_restrict: "lang_fr" },
{ code: "hr", name: "hrvatski", lang_restrict: "lang_hr" },
{ code: "id", name: "Indonesia", lang_restrict: "lang_id" },
{ code: "is", name: "íslenska", lang_restrict: "lang_is" },
{ code: "it", name: "italiano", lang_restrict: "lang_it" },
{ code: "sw", name: "Kiswahili", lang_restrict: "lang_sw" },
{ code: "lv", name: "latviešu", lang_restrict: "lang_lv" },
{ code: "lt", name: "lietuvių", lang_restrict: "lang_lt" },
{ code: "hu", name: "magyar", lang_restrict: "lang_hu" },
{ code: "nl", name: "Nederlands", lang_restrict: "lang_nl" },
{ code: "no", name: "norsk", lang_restrict: "lang_no" },
{ code: "pl", name: "polski", lang_restrict: "lang_pl" },
{ code: "pt", name: "português", lang_restrict: "lang_pt" },
{ code: "ro", name: "română", lang_restrict: "lang_ro" },
{ code: "sk", name: "slovenčina", lang_restrict: "lang_sk" },
{ code: "sl", name: "slovenščina", lang_restrict: "lang_sl" },
{ code: "fi", name: "suomi", lang_restrict: "lang_fi" },
{ code: "sv", name: "svenska", lang_restrict: "lang_sv" },
{ code: "vi", name: "Tiếng Việt", lang_restrict: "lang_vi" },
{ code: "tr", name: "Türkçe", lang_restrict: "lang_tr" },
{ code: "el", name: "Ελληνικά", lang_restrict: "lang_el" },
{ code: "be", name: "беларуская", lang_restrict: "lang_be" },
{ code: "bg", name: "български", lang_restrict: "lang_bg" },
{ code: "ru", name: "русский", lang_restrict: "lang_ru" },
{ code: "sr", name: "српски", lang_restrict: "lang_sr" },
{ code: "uk", name: "українська", lang_restrict: "lang_uk" },
{ code: "hy", name: "հայերեն", lang_restrict: "lang_hy" },
{ code: "iw", name: "עברית", lang_restrict: "lang_iw" },
{ code: "ar", name: "العربية", lang_restrict: "lang_ar" },
{ code: "fa", name: "فارسی", lang_restrict: "lang_fa" },
{ code: "hi", name: "हिन्दी", lang_restrict: "lang_hi" },
{ code: "th", name: "ไทย", lang_restrict: "lang_th" },
{ code: "ko", name: "한국어", lang_restrict: "lang_ko" },
{ code: "zh-CN", name: "中文 (简体)", lang_restrict: "lang_zh-CN" },
{ code: "zh-TW", name: "中文 (繁體)", lang_restrict: "lang_zh-TW" },
{ code: "ja", name: "日本語", lang_restrict: "lang_ja" }
],
currently_selected_hl_initial: "en",
max_restrict: 8,
selected_language_index: 19,
prefs_selected_langs: "English"
};
google.preferences = google.preferences || {};
google.preferences.lrLimit = language_info.max_restrict;
google.preferences.iLangSelIdx = language_info.selected_language_index;
google.preferences.selectedHlCheckedByUser =
language_info.selected_hl_checked_initial;
google.preferences.currentlySelectedHl =
language_info.currently_selected_hl_initial;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.