PageSourceSearch

https://www.transvalor.com/hubfs/hub_generated/module_assets/1/274…/module_Blog_Language_Switcher.min.js

js transvalor.com collected 2026-10-03 20:18:13 UTC 12,787 bytes, 1 lines download raw bytes

1var module_27411202981=function(){var __hs_messages={en:{"blog_languages.default":{message:"https://www.transvalor.com/fr/blog|fr:Français,https://www.transvalor.com/en/blog|en:English,https://www.transvalor.com/de/blog|de:Deutsch,https://www.transvalor.com/it/blog|it:Italiano",description:null,placeholders:null},"blog_languages.help_text":{message:"",description:null,placeholders:null},"blog_languages.inline_help_text":{message:"",description:null,placeholders:null},"blog_languages.label":{message:"",description:null,placeholders:null},"blog_languages.placeholder":{message:"",description:null,placeholders:null},"blog_languages.validation_regex":{message:"",description:null,placeholders:null},"blog_languages_ok.default":{message:"https://www.transvalor.com/fr/blog|fr:Français,https://www.transvalor.com/en/blog|en:English,https://www.transvalor.com/de/blog|de:Deutsch,https://www.transvalor.com/it/blog|it:Italiano",description:null,placeholders:null},"blog_languages_ok.help_text":{message:"Enter the languages as a comma-separated list of blogRootURL|LanguagePrefix:LanguageName. This field is the module's reference for which translations will show in the language switcher menu on the live page. Links in the language switcher menu will show in the order they’re set within this field.  ",description:null,placeholders:null},"blog_languages_ok.inline_help_text":{message:"",description:null,placeholders:null},"blog_languages_ok.label":{message:"Blog languages copy",description:null,placeholders:null},"blog_languages_ok.placeholder":{message:"",description:null,placeholders:null},"blog_languages_ok.validation_regex":{message:"",description:null,placeholders:null},name:{message:"Blog Language Switcher",description:"",placeholders:null},"post_translations.default.override_default_language_name":{message:"",description:null,placeholders:null},"post_translations.default.translated_post_url_path":{message:"/name_of_post",description:null,placeholders:null},"post_translations.default.translation_link.content_id":{message:"",description:null,placeholders:null},"post_translations.default.translation_link.href":{message:"",description:null,placeholders:null},"post_translations.default.translation_link.type":{message:"CONTENT",description:null,placeholders:null},"post_translations.help_text":{message:"",description:"",placeholders:null},"post_translations.label":{message:"",description:"",placeholders:null},"post_translations.language_name.default":{message:"",description:"",placeholders:null},"post_translations.language_name.help_text":{message:"This field can be used as the language name to display (only applies to this blog post).",description:"",placeholders:null},"post_translations.language_name.label":{message:"Language Name",description:"",placeholders:null},"post_translations.language_name.placeholder":{message:"",description:"",placeholders:null},"post_translations.language_name.validation_regex":{message:"",description:"",placeholders:null},"post_translations.link_field.default.no_follow":{message:"",description:null,placeholders:null},"post_translations.link_field.default.open_in_new_tab":{message:"",description:null,placeholders:null},"post_translations.link_field.default.url.content_id":{message:"",description:null,placeholders:null},"post_translations.link_field.default.url.href":{message:"",description:null,placeholders:null},"post_translations.link_field.default.url.type":{message:"CONTENT",description:null,placeholders:null},"post_translations.name":{message:"Blog Language Switcher",description:"",placeholders:null},"post_translations.override_default_language_name.default":{message:"",description:null,placeholders:null},"post_translations.override_default_language_name.help_text":{message:"Check this if you want to set a custom language name on the live post.",description:"",placeholders:null},"post_translations.override_default_language_name.label":{message:"",description:"",placeholders:null},"post_translations.translated_post_language.choices.en":{message:"English",description:"",placeholders:null},"post_translations.translated_post_language.choices.fr":{message:"French",description:"",placeholders:null},"post_translations.translated_post_language.default":{message:"fr",description:null,placeholders:null},"post_translations.translated_post_language.help_text":{message:"",description:"",placeholders:null},"post_translations.translated_post_language.inline_help_text":{message:"",description:null,placeholders:null},"post_translations.translated_post_language.label":{message:"",description:"",placeholders:null},"post_translations.translated_post_language.placeholder":{message:"",description:"",placeholders:null},"post_translations.translated_post_url_path.default":{message:"/name_of_post",description:"",placeholders:null},"post_translations.translated_post_url_path.help_text":{message:"Enter the URL path of the translated blog post. For example, if the post you’re linking to is published at www.yourdomain.com/es/blog/name-of-post, you should enter ‘/name-of-post’ in this field.",description:"",placeholders:null},"post_translations.translated_post_url_path.label":{message:"Translated Post URL Path",description:"",placeholders:null},"post_translations.translated_post_url_path.placeholder":{message:"",description:"",placeholders:null},"post_translations.translated_post_url_path.validation_regex":{message:"",description:"",placeholders:null},"post_translations.translation_link.default.content_id":{message:"",description:null,placeholders:null},"post_translations.translation_link.default.href":{message:"",description:null,placeholders:null},"post_translations.translation_link.default.type":{message:"CONTENT",description:null,placeholders:null},"primary_language.default":{message:"",description:"",placeholders:null}
1,"primary_language.help_text":{message:"For the blog in your website's primary language, enter the blog root URL and the language abbreviation, separated by a comma. Example: www.englishdomain.com/blog , en",description:"",placeholders:null},"primary_language.label":{message:"Primary Language",description:"",placeholders:null},"primary_language.placeholder":{message:"",description:"",placeholders:null},"primary_language.validation_regex":{message:"",description:"",placeholders:null},"translate_posts.default":{message:"",description:null,placeholders:null},"translate_posts.help_text":{message:"",description:"",placeholders:null},"translate_posts.label":{message:"",description:"",placeholders:null}},fr:{"blog_languages.default":{message:"",description:null,placeholders:null},"blog_languages.help_text":{message:"",description:null,placeholders:null},"blog_languages.label":{message:"Texte",description:null,placeholders:null},"blog_languages.placeholder":{message:"",description:null,placeholders:null},"blog_languages.validation_regex":{message:"",description:null,placeholders:null},"blog_languages_ok.default":{message:"https://www.transvalor.com/fr/blog|fr:Français,https://www.transvalor.com/en/blog|en:English,https://www.transvalor.com/de/blog|de:Deutsch,https://www.transvalor.com/it/blog|it:Italiano",description:null,placeholders:null},"blog_languages_ok.help_text":{message:"Enter the languages as a comma-separated list of blogRootURL|LanguagePrefix:LanguageName. This field is the module's reference for which translations will show in the language switcher menu on the live page. Links in the language switcher menu will show in the order they’re set within this field.  ",description:null,placeholders:null},"blog_languages_ok.inline_help_text":{message:"",description:null,placeholders:null},"blog_languages_ok.label":{message:"Blog languages copy",description:null,placeholders:null},"blog_languages_ok.placeholder":{message:"",description:null,placeholders:null},"blog_languages_ok.validation_regex":{message:"",description:null,placeholders:null},name:{message:"Blog Language Switcher",description:null,placeholders:null},"post_translations.help_text":{message:"Assurez-vous que le lien vers l'article traduit existe. Si ce n'est pas le cas, le lien mènera a une page d'erreur ; ajouter une traduction ici ne créera pas automatiquement l'article traduit. ",description:null,placeholders:null},"post_translations.label":{message:"Traduction de l'article",description:null,placeholders:null},"post_translations.language_name.default":{message:"",description:null,placeholders:null},"post_translations.language_name.help_text":{message:"This field can be used as the language name to display (only applies to this blog post).",description:null,placeholders:null},"post_translations.language_name.label":{message:"Language Name",description:null,placeholders:null},"post_translations.language_name.placeholder":{message:"",description:null,placeholders:null},"post_translations.language_name.validation_regex":{message:"",description:null,placeholders:null},"post_translations.override_default_language_name.help_text":{message:"Cochez la case pour utiliser un nom spécifique pour la langue.",description:null,placeholders:null},"post_translations.override_default_language_name.label":{message:"Surcharger le nom de la langue",description:null,placeholders:null},"post_translations.translated_post_language.choices.en":{message:"Anglais",description:null,placeholders:null},"post_translations.translated_post_language.choices.fr":{message:"Français",description:null,placeholders:null},"post_translations.translated_post_language.help_text":{message:"",description:null,placeholders:null},"post_translations.translated_post_language.label":{message:"Langue concernée",description:null,placeholders:null},"post_translations.translated_post_language.placeholder":{message:"",description:null,placeholders:null},"post_translations.translated_post_url_path.default":{message:"/name_of_post",description:null,placeholders:null},"post_translations.translated_post_url_path.help_text":{message:"Enter the URL path of the translated blog post. For example, if the post you’re linking to is published at www.yourdomain.com/es/blog/name-of-post, you should enter ‘/name-of-post’ in this field.",description:null,placeholders:null},"post_translations.translated_post_url_path.label":{message:"Translated Post URL Path",description:null,placeholders:null},"post_translations.translated_post_url_path.placeholder":{message:"",description:null,placeholders:null},"post_translations.translated_post_url_path.validation_regex":{message:"",description:null,placeholders:null},"primary_language.default":{message:"",description:null,placeholders:null},"primary_language.help_text":{message:"Pour le blog dans votre langue principale, saisissez l'URL racine du blog et le code de la langue, séparés par une virgule. Par exemple : www.englishdomain.com/blog , en",description:null,placeholders:null},"primary_language.label":{message:"Langue principale",description:null,placeholders:null},"primary_language.placeholder":{message:"",description:null,placeholders:null},"primary_language.validation_regex":{message:"",description:null,placeholders:null},"translate_posts.help_text":{message:"Permet de lier un article avec ses traductions. Décochez cette case si vous voulez rediriger vers la liste des articles pour chaque langue.",description:null,placeholders:null},"translate_posts.label":{message:"Traductions de l'article",description:null,placeholders:null}}};i18n_getmessage=function(){return hs_i18n_getMessage(__hs_messages,hsVars.language,arguments)},i18n_getlanguage=function(){return hsVars.language},function(){if(document.getElementById("custom_lang_switcher")){var current_lang=document.getElementById("current_lang").getAttribute("data-language");document.getElementById("current_lang").getAttribute("data-url");function setAttributes(el,attrs){for(var key in attrs)el.setAttribute(key,attrs[key])}var rel_links=Array.from(document.querySelectorAll(".lang_switcher_link.rel_lang"));for(l=0;l<rel_links.length;l++){var this_rel_link=document.createElement("link");setAttributes(this_rel_link,{rel:"alternate",hreflang:rel_links[l].dataset.language,href:rel_links[l].dataset.url}),document.head.append(this_rel_link)}document.getElementsByTagName("html")[0].setAttribute("lang",current_lang),document.querySelector('meta[http-equiv="content-language"]').setAttribute("content",current_lang),setTimeout((function(){var lang_switchers=Array.from(document.querySelectorAll("span.hs_cos_wrapper_type_language_switcher"));for(b=0;b<lang_switchers.length;b++){var blog_links=document.querySelector(".blog_lang_switcher_class").cloneNode(!0);lang_switchers[b].setAttribute("id","blogLangSwitcher"+(b+1).toString()),lang_switchers[b].appendChild(blog_links)}document.getElementById("lang_switcher_container").remove()}),100)}}()}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.