Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
3 Besvarelser
1886 Visninger

Odoo website editor allows us to specify the font family which will be common for all languages. How to have a different font for each language in the website?

Avatar
Kassér
Bedste svar

Hi,

If you are using the version Odoo 15 or older, you can use the following steps:
Activate the developer mode and go to 'Settings > Translations > Translated Terms' in the backend. Then look after the term to modify.

Hope it helps

Avatar
Kassér
Bedste svar

-        To add a custom font for each language, just do this:

1- Go to the Website tab, then from the menu:

-        Click “site”, then HTML / CSS editor, click “edit anyway” and then choose (SCSS / CSS) from the dropdown menu.

-        In the menu inside SCSS, choose (use_custom_rules) then add the customization for each language:

-        Click “save”

-        In order for this to work, you have to load the font at least once from the “edit” website button, by clicking any website section and selecting the “add font” button from the font menu, and then saving.

Avatar
Kassér