Plugin translation – do not use variable names for the text domain
-
Hi guys,
I just read ‘Warning: Do not use variable names for the text domain portion of a gettext function. Do not do this as a shortcut: __( ‘Translate me.’ , $text_domain );’
and that is fine with me, I don’t use variable names.
However, I use constant.
So… is it ok to use constant? It works… what can possibly go wrong?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Plugin translation – do not use variable names for the text domain’ is closed to new replies.