Odoo Help

0

How to translate rml sentence when there is a code in a middle of it?

By
Tomas Parnarauskas
on 9/17/13, 10:08 AM 861 views

Let say I have this kind of sentence:

<parap>Some text [[ some code ]] [[some code]], some text 2</para>

How should I enter it in .po file to translate it? Because if I try something like:

#. module: my_module
#: report:my_report_name:0
msgid "Some text  , some text 2"
msgstr "Some text (another language)  , some text 2 (another language)"

or

#. module: my_module
#: report:my_report_name:0
msgid "Some text "
msgstr "Some text (another language) "

Nothing happens. If I delete text inside sentence, then it translated fine. If I have sentence, where code is at the end of sentence, then there is no problem, but when it is in a middle, I cant figure it out how to translate it.

About This Community

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

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 9/17/13, 10:08 AM
Seen: 861 times
Last updated: 3/16/15, 8:10 AM