[Po4a-devel] Markup text alignment interoperability problem between versions 0.42 and 0.45 (debian)

D. Barbier bouzim at gmail.com
Sat May 17 19:38:00 UTC 2014


On 2014-05-17 17:28 GMT+02:00 chals wrote:
> Hi,
>
> First of all, can you please CC me as I'm not subscribed to your mailing list?
>
> My name is Carlos Zuferri and I contribute to the debian project
> translating documentation. I mainly translate the contents of
> live-manual, so the information below refers to it. live-manual uses a
> markup language that is very similar to markdown. For example for
> monospace #{text}#, for bold *{text}* and other similar features.
>
> I do not know if I have stated the title of this message correctly.
> With "alignment" I mean "text justification". Let's see if I can
> explain the situation correctly. (The operating system is debian.)
>
> Debian wheezy includes po4a version 0.42-1
> Debian jessie/sid include po4a version 0.45-1
>
> Version 0.45 aligns marked up text like this:
>
> I copy and paste an original string from a .po file (taken from the
> Polish translation):
>
> "_* Zmienne dotyczące parametrów startowych live-config zaczynają się od #"
> "{LIVE_}#."
>
> Now I copy and paste the same string after processing it with po4a 0.45:
>
> "_* Zmienne dotyczące parametrów startowych live-config zaczynają się od "
> "#{LIVE_}#."
>
> This "alignment" thing changes hundreds and hundreds of strings in
> dozens of .po files.
[...]

Hello Carlos,

You are right, this is very annoying.  But this change comes from
gettext (more precisely msgmerge), not po4a, and I do not know how to
avoid it.

Denis



More information about the Po4a-devel mailing list