[wp-hackers] Re: no-code-duplication i18n for WordPress

Lionel Elie Mamane lionel at mamane.lu
Mon Mar 3 10:01:34 GMT 2008

On Mon, Mar 03, 2008 at 09:00:36AM +0100, Lionel Elie Mamane wrote:

> I implemented a script to do this build stage; the patch (against
> trunk as of yesterday) is at
> http://people.debian.org/~lmamane/wordpress/no-code-dup-i18n-poc.patch

> It adds a "i18n-tools" directory to the wordpress source tree, but
> we can also put it elsewhere (the code is location-independent), no
> problem.

By "elsewhere" I meant it can also be out of the WP source tree
altogether, e.g. in http://svn.automattic.com/wordpress-i18n/tools/

> The patch also tags two strings in the code (those that are in the
> fr.po), for tests and such. For now, they are only tagged as-is,
> (..._ they should be converted to sprintf (as the README says, like
> for gettext-translated strings); I'll do it soon,

That is now done; results in


More information about the wp-hackers mailing list