Plain text in open document files should be translated
Bug #1209286 reported by
Holger Brunn (Therp)
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Aeroo Reports |
Opinion
|
Wishlist
|
Unassigned |
Bug Description
Having to resort to gettext() in reports is very cumbersome and is quite an obstacle for using Open/LibreOffice as report designer.
It would be great to have all text in the office file translated by default.
Related branches
lp://staging/~therp-nl/aeroo/7.0_translate_plain_text_oo
Ready for review
for merging
into
lp://staging/aeroo
- Alistek developers - http://www.alistek.com: Pending requested
-
Diff: 74 lines (+44/-1)2 files modifiedreport_aeroo/report_aeroo.py (+19/-1)
report_aeroo/translate.py (+25/-0)
Changed in aeroo: | |
importance: | Undecided → Wishlist |
Changed in aeroo: | |
status: | New → Opinion |
To post a comment you must log in.
This is obviously a wishlist, which in addition would bring some negative "byproducts":
* this would degrade performance to query each and every string in OpenERP translation database
* any wysiwyg ODT editors like OpenOffice tend to break even flow of text inside the document upon formatting. Sometimes even breaking standards, so it is quite impossible to consistently get continuous text (that is visible on page as continuous text).
* There are normal workaround for using translatable text with Aeroo - use input fields and in code use:
<_()> and then place YOUR TRANSLATABLE TEXT as a label of input field. This brings advantage that you can copy those fields wherever you need then leftclick on the field and enter particular text to be translated. So you can have see the formatting and correct size, etc.