[wp-hackers] Using constants for text domain
Ryan McCue
lists at rotorised.com
Wed Nov 27 14:07:16 UTC 2013
Justas Butkus wrote:
> What is the reasoning behind this, are there any exceptions to this rule?
The reason it's a bad idea is because the static analysis tools used to
generate the POT files won't recognise it automatically.
It's OK if you're writing your own generation scripts, but some people
will parse the code themselves (using POEdit/etc), so you may want to
mention it in your documentation.
--
Ryan McCue
<http://ryanmccue.info/>
More information about the wp-hackers
mailing list