uses the gettext libraries and tools for i18n. Gettext is an old and respectable piece of software, widely used in the open-source world. *gettext is currently being maintained by Daiki Ueno.
Portable Object Template ) This is the file that you get when you extract texts from the application. Normally, you send this file to your translators.
Functions _x:1,2c _ex:1,2c esc_attr_x:1,2c esc_html_x:1,2c _x( ‘Text to translate’, ‘context’, ‘textdomain’ ) _ex( ‘Text, ‘context’, ‘textdomain’ ) esc_attr_x( ‘Text’, ‘context’, ‘textdomain’ ) esc_html_x( ‘Text’, ‘context’, ‘textdomain’ ) 1,2c says that the first string is the string to translate, the second string is the comment, context.
Functions _n:1,2 _nx:4c,1,2 _n_noop:1,2 _n_noop:4c,1,2 _n( ‘singular’, ‘plural’, ‘number’, ‘textdomain’ ) _nx( ‘singular’, ‘plural’, ‘number’, ‘context’, ‘textdomain’ ) _n_noop( ‘singular’, ‘plural’, ‘textdomain’ ) _nx_noop( ‘singular’, ‘plural’, ‘context’, ‘textdomain’ ) 4c,1,2 = says that the first and second arguments of the function are the plural forms, and the fourth is the disambiguation text.