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 to translate rml sentence when there is a code in a middle of it?

By
Tomas Parnarauskas
on 9/17/13, 10:08 AM 745 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.

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

0 follower(s)

Stats

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