Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How translate fields.html?

By
zbik
on 8/6/14, 5:20 AM 4,040 views

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.

1

zbik

--zbik--
5976
| 6 4 7
Lodz, Poland
--zbik--


zbik
On 12/1/14, 2:13 PM

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

manuthalasseril
on 8/28/15, 3:44 PM

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

zbik
on 8/29/15, 4:12 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 8/6/14, 5:20 AM
Seen: 4040 times
Last updated: 8/29/15, 4:10 AM