Блогчетање

Данилово блогче

Tue, 01 Dec 2009

php-gettext 1.0.9 is out: it integrates a number of fixes from different sources:

  • E_STRICT fixes: these were most commonly reported.
  • Improved plural forms handling: thanks to a patch by moeffju.net on the old tracker, plural form expressions should be now parsed in the similar way the regular C-based gettext parses them
  • Allow live switching of languages for an already initialised translation domain, using a patch from eventum
  • Provide fallback locale handling supporting standard GNU gettext locale names (eg. sr_RS.UTF-8@latin will try sr_RS@latin and sr@latin), inspired by another patch from eventum

With the endianness detection fix from 1.0.8, this should be a big step forward for everyone: 1.0.8 is simply a lower risk release with far fewer changes (just a fix for the most commonly reported bug). As far as I am aware, with 1.0.9, all of the users could switch back to using upstream php-gettext instead of their patched copy.

If not, I'd love to hear about it: ask a question or file a bug!

[02:06] | [/ihatephp] | # | G | | TB

The common replacement for internal PHP gettext implementation which has flexibility of not depending on system-installed locales or gettext support being compiled in into PHP, has moved to Launchpad:

php-gettext

I've fixed the most annoying bug that's coming back depending on the architecture and every little change in PHP's handling of integers, and it should be now gone for good. That's available in the 1.0.8 release.

I also evaluated most of the patches/bug fixes from the old project page and a debian package, and integrated what still made sense.

I'll probably roll out another release soon which will include all the latest changes.

[01:24] | [/ihatephp] | # | G | | TB
Contact
Danilo Segan

This is blog (web log) of Danilo Šegan (or Данило Шеган).

Archives
2017-Jan
2013-Dec
2011-Nov
2011-Oct
2011-Aug
2011-Jul
2011-Jun
2011-May
2010-Oct
2010-Aug
2010-Jul
2010-Apr
2010-Mar
2010-Feb
2010-Jan
2009-Dec
2009-Oct
2009-Aug
2009-Jun
2008-Oct
2008-Aug
2008-Jul
2008-Jun
2008-May
2008-Apr
2008-Mar
2008-Feb
2007-Dec
2007-Oct
2007-Aug
2007-Jul
2007-May
2007-Apr
2007-Feb
2007-Jan
2006-Nov
2006-Oct
2006-Aug
2006-Jul
2006-Apr
2006-Mar
2006-Feb
2006-Jan
2005-Sep
2005-Jun
2005-May
2005-Apr
2005-Mar
2005-Feb
2004-Dec
2004-Nov
2004-Oct
2004-Sep
2004-Aug
2004-Jul
2004-May
2004-Apr
2004-Mar
2004-Feb
2004-Jan
2003-Dec
2003-Nov
2003-Oct
2003-Sep
1983-Mar

< December 2009 >
MoTuWeThFrSaSu
  1 2 3 4 5 6
7 8 910111213
14151617181920
21222324252627
28293031   
Categories

Links
Kvota.net
Prevod.org
My study page
Srpski.org
GNOME
Friends' Blogs
alex (en)
bc (en)
Bojan Živanović (sr)
Carlos (en)
Goran (sr)
imp (sr)
lilit (sr)
Oskuro (en)
Zombie (sr/en)
Feeds
RSS