gettext problem
6 posts • Page 1 of 1
gettext problemHello:
i problem with gettext("menssage"), when put in the title of table not work, but if put out the table is working. what is the problem, thanks and regards Luis
Re: gettext problemI can not confirm this. I have tried to reproduce the problem, but it just works fine. If it still does not work, please try to provide test template.
Kaspars
Re: gettext problemhello sraps:
attach the template i use, in the second column the title is <_("Description")> and the report in not working, if you change <_("Description")> for Description is working OK, in the template put the <_("Description")> after y before the table and working. ubuntu 8.04 openerp 5.07 openoffice 3.1 regards Luis
Re: gettext problemHi,
I can confirm that there is some problem with the template you attached, but I can not tell what exactly it is, at least for now. Will have to give it another look. Now it looks like some problem with styling, but that is just a guess. Still, what I discovered from the template, it seems, that you are using templates created by Report Designer software by Tiny. If you would look closer, you would notice that the layout of tables are pretty crappy due to limitations of Report Designer and RML as such. There is absolutely no need to use such quirks as nested tables in most cases. I am sure, that, if you would redesign the template from scratch and put those fields inside your fresh template, it would not create any problems... Best regards Kaspars
Re: gettext problemI discovered where is the problem... Please see the LP bug report for reference:
https://bugs.launchpad.net/report-openoffice/+bug/555751 For temporary workaround you can place another setLang function just before the directive which is not working as it is supposed to. Kaspars
Re: gettext problemHi,
Have done dissection and throughout examination of your template... What we have discovered, only internal table (invoice lines) are in the body all the rest are inside header and footer elements, including data that is related to invoice itself. Which is not good, by itself, because then it is not possible to use headers and footers defined in a global stylesheet. Headers and footers are defined as styles and are applied to all (ALL) pages with the same style. So if you place data from the object to header thy will appear on all the subsequent pages as well. Other not so good things about template, the tables inside one another, and frames above them. Although this directly does not affect this case, it may render problems with processing sequence of our data. Conclusion - there are two options, first one is to move all the data from header and footer to the body of document. If it is absolutely unaceptable, you have to place another setLang directive just before contents of the document (invoice lines). B.R. Kaspars
6 posts • Page 1 of 1
|
Copyright © 2001 Alistek Ltd., ALL RIGHTS RESERVED

