跳至内容
菜单
此问题已终结
3 回复
1883 查看

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?

形象
丢弃
最佳答案

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

形象
丢弃
最佳答案

-        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.

形象
丢弃