Archived topic
Two default languages for an English language site?
5 replies · Started by dgainesj on February 18, 2020
Hi,
1) Is there a way to set two different languages as default?
For example, when a header is in English, then Open Sans, and when the header is in Hebrew, then Tinos. Not for a Hebrew version of the site. Just for the Hebrew sprinkled in her and there on an otherwise English site.
2) Is there a way to include two languages in a single paragraph, even a single line of text?
Thank you so much!
Dina
Hi there,
Just to confirm, you want to use two different fonts depending on language?
You would likely need to wrap the different languages in a class so you could target them.
For example:
<span class="english-language">This is in English</span>
<span class="hebrew-language">This is in Hebrew</span>
Then you can target the classes:
.english-language {
font-family: Open Sans;
}
.hebrew-language {
font-family: Tinos;
}
Let me know if you need more info :)
Thank you Tom! I will test it out and let you know how it goes.
No problem! :)
Hi Tom,
Thank you so much with the setting-up-the-font issue!
Now I have a different Hebrew question. When I justify the text, I have Hebrew paragraphs and English paragraphs (in separate sections).
The bottom line alignment for both of them is left-to-right.
Is there a way to specify alignment of the bottom line to be right-to-left for Hebrew paragraphs that are justified?
Thanks!
Dina
Any chance you can open a separate topic for the new question?
Thanks :)