How do I troubleshoot translation issues?

To get 'Archives' translated in your text domain you have to load a theme translation .mo file. The file in /wp-content/languages/sv_SE.po will not be used for that.

  • Create a directory languages in your theme.
  • Add the translations for the theme to that directory. I recommend the Codestyling Localization plugin for that.
  • Load the theme translations with:

    load_theme_textdomain( 'cpotheme', get_template_directory() . '/languages' );
    

See also: List of Default Translated Phrases for a way to inspect the phrases for a given text domain.