How to Skip Translation of “Site Title” (not) “Page Title”
-
Good Day!
We’re using the JS code provided below to skip the translation of the text that appears in the browser tab (i.e., sometimes referred to as the “site title”)
<script> document.getElementsByTagName("title")[0].setAttribute('class', 'notranslate'); </script>
Our “site title” has two components:
Page Title | Site Title
(for example “About | My Company Name
“Question: Is there a way we can skip the translation of our
Site Title
and not thePage Title
?For example, we’d like to end up with “
Acerca | My Company Name
” (Spanish)We viewed several of our page sources and noticed that the only tag we can play around with is the “title” tag as shown here.
Thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to Skip Translation of “Site Title” (not) “Page Title”’ is closed to new replies.