WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

With <?php _e('Save Changes') ?>, I know the phrase, "Save Changes" can be translated automatically if the user's locale is set to a different language. I'd like to know if there is a list of those already translated WordPress default messages.

What else can I use?

share|improve this question
up vote 4 down vote accepted

The list is available in $GLOBALS['l10n'][ $text_domain ].

To get the looong list of translatable WordPress strings just use:

print '<pre>' . htmlspecialchars( print_r( $GLOBALS['l10n']['default'], TRUE ) ) . '</pre>';

Do not use these strings in your theme or plugin.

They are internal, de facto private. They can change any time, even in minor updates. Always use your own strings only, even when you think: this was stable for years!

Recently the HTML tab in the post editor has been renamed to Text. I wonder how many plugins will break now … :)

share|improve this answer

Default wordpress translation files are available here: http://i18n.svn.wordpress.org/

Here is an example with the french file: http://i18n.svn.wordpress.org/fr_FR/trunk/glotpress/fr_FR.po

Use msgid like this: <?php _e('msgid') ?>

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.