Page History: Language support in Wordpress
Compare Page Revisions
Compare revision
to revision
List of revisions
Page Revision: 2011/09/13 17:06
Plugins
- Adding a language file for a plugin uses the function
load_plugin_textdomain( $domain, $abs_rel_path = false, $plugin_rel_path = false )
where $domain
is the domain name used in gettext functions like __()
or _e()
. The language file (.mo file) has to use the domain name followed by the language code and file extension, i.e. my-domain-sv_SE.mo
.