gettext handling of LRO and RLO

Yaron Shahrabani sh.yaron at
Thu Dec 23 20:10:36 GMT 2010

Let me get this straight: You want to add LRO outside the quotes... why
would you do that for?
Think about it, lets say you wanted to do the same thing with an app written
in C, you would type something like: printf(<LRO>"");, this command won't
allow compilation since you typed LRO as part of the syntax, same for
gettext, you can't add any symbols outside the quotes because of the exact
same reason...

Please, I may have misunderstood so please feel free to correct me if it is

Kind regards,
Yaron Shahrabani

<Hebrew translator>

On Thu, Dec 23, 2010 at 9:07 PM, Chris Scaife <scaife.chris at>wrote:

 I do understand that this list is intended for bug reporting.
So I've come across a few issues with the gettext tools and I assume many
here do use these for internationalization and localization.

Attached is image of part of my ar_SA.po file in which I had to place
standard Unicode LRO (or optionally RLO) overrides... just before the " of
the translation. That way I can insert what is technically considered an
Arabic "part number" containing a mixture of Arabic digits and letters. I
don't want the LRO code to be part of my part number* inside* the quotes, or
it won't be recognized and processed correctly by the software.

All is well up to the point where I try to run "msgfmt" it gives me:

base.ar_SA.utf-8.po:49:8: syntax error

base.ar_SA.utf-8.po:52:8: syntax error

msgfmt: found 2 fatal errors

Is there any specific bug list this would be more appropriate for?

Ubuntu-RTL mailing list
Ubuntu-RTL at
Modify settings or unsubscribe at:
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Ubuntu-RTL mailing list