« Return to Thread: New profiles on WordPress.org

Question about translation extensions during WP 2.8

by Heiko Rabe :: Rate this Message:

Reply to Author | View in Thread

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)  
_______________________________________________
wp-hackers mailing list
wp-hackers@...
http://lists.automattic.com/mailman/listinfo/wp-hackers

 « Return to Thread: New profiles on WordPress.org