php - WordPress translate functionality -
i know __() function double underscore function, people call translate string.what's actual name of __(),_e functions in wordpress ?
all of series of functions translating strings said -- don't have specific "name" per-say, operation perform. there quite few different ones:
- __() - retrieve translation of
$text
. - _e() - display translated text.
- _x() - retrieve translated string gettext context.
- _ex() - display translated string gettext context.
- _n() - translates , retrieves singular or plural form based on supplied number.
- _nx() - translates , retrieves singular or plural form based on supplied number, gettext context.
Comments
Post a Comment