Skip to Content
Menu
This question has been flagged
2 Replies
8068 Views

Hi,

I'm struggling to translate my invoice... For example I see that I already have in the database the translation for "Invoice Date" under "Translated Terms": http://imageshack.com/a/img17/5375/2ojy.jpg image description

Then I add this string to my account.invoice RML via Open Office http://imageshack.com/a/img17/5375/2ojy.jpgimage description

But still, when I print the document the string is not being translated and I see "Invoice Date". While for example the string "Invoice", "Taxes:", "Quantity" and other are being exchanged properly to my language. What am I doing wrong?

Regards,
Pavel Pavlov

Avatar
Discard
Author Best Answer

Hi,

I've found another way to go around this issue thanks to the information in https://accounts.openerp.com/forum/Help-1/question/20329/ . I just created in my custom module i18n\bg.po and <module>.pot and added for simple test in both files following content, which after updating the module translated properly in the invoice

#: report:account.invoice:0
msgid "ORIGINAL"
msgstr "ОРИГИНАЛ"

Still the question is open - why the change I did to the database was not working?

Regards, Pavel

Avatar
Discard
Best Answer

May you have a problem with the object linking, name or id problem. Check the postgres db with pgadmin, or phpPgAdmin, you can see the diffs. You can compare the name and id in your transaction.

I think your translation is in the system, just you miss the id, or your system is not exists this items...

Avatar
Discard
Author

Hello, looks like I have to do Settings -> Translations -> Application Terms -> Synchronize Terms, before I can see the changed translations in my report... after I restart openerp, update my module, Synch Terms, then it works as I expect. Maybe this is how it should work - don't know... couldn't find doucmentation on that.

Related Posts Replies Views Activity
0
Dec 24
30
2
Feb 24
1525
4
Nov 23
1102
1
Aug 22
2417
1
Mar 21
16845