[wp-hackers] Question about translation extensions during WP 2.8

Heiko Rabe heiko.rabe at code-styling.de
Sun Jun 21 17:45:50 GMT 2009


Hi,

i would be happy if somebody can explain the advantage of the new one 
similar translation capabilities:

    _x('Published', 'page')

in opposite to

    _c('Published|page')

Normally a GNU gettext processor would not allow to have the same phrase 
twice in file.
So if the new _x method writes the phrase to *.mo file the same way as 
__ or _e would do, this may lead on some systems to bad behavoir because 
of double occurance and damaged hash map table inside *.mo file.

btw: same asked on polyglot but the mails seems not arrive there.

thanks and in advance

Heiko Rabe
(www.code-styling.de)   


More information about the wp-hackers mailing list