Re: Plone's gettext approach and its impact on translation

Hanno Schlichting <[email protected]>
Newsgroups gmane.comp.web.zope.plone.internationalization
Message-ID <[email protected]>
On Mon, Oct 25, 2010 at 11:54 AM, Roché Compaan
<[email protected]> wrote:
> -------- Forwarded Message --------
> From: Dwayne Bailey <[email protected]>

[...] snip, we are aware of all these concerns

> So maybe I can pose some questions to the i18n developers.
>
> 1) Is there a plan to move to a more standard Gettext approach?

Plans, sure, for years. Somebody stepping up and actually doing it, not so far.

We track this under the topic of supporting the "new" msgctxt that was
added to gettext to solve the use-cases that lead us to use our own
msgid as key approach. Adding support for this requires some API
changes to various parts of our i18n stack, so it's not trivial and
needs to deal with backwards compatibility concerns. I have started
some code for this with zope.i18nmessage and zope.babel, but these are
early prototypes.

> 2) Are there plans to eliminate the confusing mix of key and source?

Yes. We have started to introduce new messages generally without the
explicit id and use the standard text as the msgid. We haven't done
this for all existing messages as this would be a major undertaking.
There are places where we do need to differentiate words on the
context (and not just the domain), so we cannot go all the way without
msgctxt support.

> 3) Has anyone written a fixplone script that converts Plone monolingual
> PO files to a proper bilingual PO file?

I believe such scripts where contributed and are part of plone.app.locales.

Hanno

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Plone-i18n mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-i18n
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.