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

It is possible?

For example, how to translate "Guidelines" in a forum? I want to Polish and English version available at the same time after switching language.

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

I found solutions for my problem.

fields.Html is translatable if in definitions, exist parameter: translate = True

name = fields.Html( string="Name",  translate=True  )

Unfortunately, in many cases, for example:

  • "Guidelines" in a forum
  • "Note" memo
  • "Invite mail"
  • etc.

in the definitions,  missing Translate = True.

I report Issue.

อวตาร
ละทิ้ง

Hi @zbik , I tried your solutions, but its not working...

ผู้เขียน

Updated, mistake, in new api fields.Html should be uppercase. Maybe this issue?

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ต.ค. 22
3554
0
มี.ค. 16
6238
1
ม.ค. 25
14034
0
ก.พ. 25
1671
0
ม.ค. 25
1424