[wp-polyglots] no-code-duplication i18n for WordPress

Nikolay Bachiyski nbachiyski at developer.bg
Thu Mar 6 16:44:28 GMT 2008


2008/3/6, Lionel Elie Mamane <lionel at mamane.lu>:
> On Thu, Mar 06, 2008 at 02:07:47PM +0100, Lionel Elie Mamane wrote:
>  > On Thu, Mar 06, 2008 at 02:35:14PM +0200, Nikolay Bachiyski wrote:
>  >> 2008/3/6, Milan Dinić <liste at srpski.biz>:
>  >>> Will this be available for WordPress 2.5 or will wait for future release?
>
>  >> For 2.6. No more new features for 2.5.
>
>  > Well, it is hardly a "new feature". On the WordPress code side, it
>  > is literally only adding a few comments, so it doesn't seem
>  > completely unreasonable to me that it get an exception to the
>  > "feature-freeze".
>
>
> I just re-realised that some strings get replaced by sprintf() calls,
>  which is a change in code, and which would, indeed, make me more
>  nervous about the change late in the release cycle were it my call to
>  make.

Working on this will leave us less time for looking for any other
possible i18n (and not only) issues in the coming release. IMHO, we'd
better focus on  making 2.5 better.

Apart from not spending time on this issue, here is some
proof-of-concept tokenizer code, which will make the extracting and
replacing work very easy and clean:

http://nb.niichavo.org/files/code/token_comments.phps

Happy hackslating,
Nikolay.


More information about the wp-polyglots mailing list