Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3426 มุมมอง

I know that I can update a filed's translation if field is translate=True with following method.

d1 = 'Actual Content'

d2= 'Translated content'

self.model.write({translateable_field': d1})

self.model.with_context(lang=ar_001).write({'translatable_field': d2})


But my problem is, how can I update a filed having translate=html_translate. I used above method but it is not working. Urgent help will be greatly appreciated.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
How to get selection value translated แก้ไขแล้ว
1
ก.ค. 19
13994
2
มี.ค. 23
5007
2
มี.ค. 22
2450
3
ธ.ค. 19
5140
0
มี.ค. 15
4399