Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1290 Lượt xem

Hello,


When I try translating a word that is written in embedded code I get an error message: "This translation is not editable". Is there any way to translate it while still keeping the embedded code?


I am on odoo 17 and need it for the web module.


Thanks

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I'm using Odoo 18 and have the same issue.


As a workaround, we can add a translated copy of the embedded code for each language and then do the following:


Click Edit and select an element of your website;

  1. Go to the Text - Image section and Visibility;
  2. Click No condition and select Conditionally instead;
  3. Go to Languages to configure the condition(s) to apply by selecting Visible for or Hidden for, and click Choose a record to decide which languages are impacted.

This way only one version of the embedded code will be visible, conditional to the language.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 12 24
1530
1
thg 3 15
9475
1
thg 3 15
8382
2
thg 7 25
1873
2
thg 12 19
7406