wrong ' makes translations not work

Bug #723403 reported by Leigh Willard
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Incomplete
Low
OpenERP's Framework R&D

Bug Description

OpenERP v 6.0 trunk

addons/account/wizard/account_vat_view.xml

The wrong character for ' is used. It's hard to see, but instead of ' another character is used that is not an ascii character. This makes giving a translation fail.

The wrong text is:

That’s very useful

And should be

That's very useful.

You need to look in the code - it's hard to explain because the non-ascii character looks like the ascii character.

Revision history for this message
xrg (xrg) wrote : Re: [Bug 723403] [NEW] wrong ' makes translations not work

On Tuesday 22 February 2011, you wrote:
> Public bug reported:
>
> OpenERP v 6.0 trunk
>
> addons/account/wizard/account_vat_view.xml
>
> The wrong character for ' is used. It's hard to see, but instead of '
> another character is used that is not an ascii character. This makes
> giving a translation fail.
>

You must be talking about the Unicode apostrophe. Yes, some french keyboards
or people writting code with Windoze have been inserting it in the code.

Still, it shouldn't matter. The translation system is designed to allow full
Unicode at the translation /source/, not only the localized strings.

Can you tell us in what sense do the translations break in your case? What
tool are you using to manipulate them?

Amit Parik (amit-parik)
affects: openobject-addons → openobject-server
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

I have checked this issue. There is some problem in " ' " translation because the .po file's translation is prefect but in wizard dispaly partially wrong translation.

Thanks.

Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello Leigh Willard,

I agree with Xrg's comment. the translation system is designed in the said way. also I have tested the translated value in stable and trunk version too. It's smoothly translated. for more info I attach 2 screen shots.

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :
Changed in openobject-server:
status: Confirmed → Incomplete
Revision history for this message
xrg (xrg) wrote : Re: [Bug 723403] Re: wrong ' makes translations not work

On Wednesday 04 May 2011, Naresh wrote:

> I agree with Xrg's comment. the translation system is designed in the
> said way. also I have tested the translated value in stable and trunk
> version too. It's smoothly translated. for more info I attach 2 screen
> shots.
>
>
> ** Attachment added: "stable.png"
>
> https://bugs.launchpad.net/openobject-server/+bug/723403/+attachment/21117
> 38/+files/stable.png

Well, I have found the test we used to run:

http://git.hellug.gr/?p=xrg/openobject-
addons;a=blob;f=test_orm/test2.py;h=4ca6e99614b31e46f;hb=refs/heads/extra-xrg

AFAIR we had run the test both against my series and trunk. What it does, is
to stress translations to those extreme cases (unicode in source, newlines,
wrong syntax in .po files etc), in order to validate the framework.

Naresh, Amit, perhaps you could try that once again using the web client or
so.

--
Say NO to spam and viruses. Stop using Microsoft Windows!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.