0

I'm trying to change the wordpress default language from english to swedish. I uploaded the language directory to wp-content with the swedish .mo file.

Ive defined language in the config.php file but it won't update, when I'm logged in and under updates I can see an option that says restore core files with swedish so I know its working only when I update it is still is english.

Any help is much appreciated.

Abel
  • 594
  • 2
  • 5
  • 21

3 Answers3

1

Check the following links, they deal exactly with the situation you describe (and propose same kind of easy workaround):

http://devblog.fishol.pl/php/wordpress/how-to-restore-default-wordpress-language/

http://wordpress.org/support/topic/change-language-to-english-after-dutch-installation

Hope it helps.

Redoman
  • 3,059
  • 3
  • 34
  • 62
0
In order to change the language in wordpress blog you need to perform these steps:

1) Login into WordPress Blog Administrator Control Panel.
2) Click on Settings.
3) Click on General Settings.
4) Select the desired Language from the drop down menu at Language section.
5) Click on save changes.

read more

thecodedeveloper.com
  • 3,220
  • 5
  • 36
  • 67
  • I don't that option, no drop downmenu or anything about language in my general settings – Abel Nov 08 '13 at 10:57
  • Here is drop down option Timezone, read it for more information http://en.support.wordpress.com/language-settings/ – thecodedeveloper.com Nov 08 '13 at 11:02
  • Same situation here. Can't see the language drop downs. It might be useful to note that I've installed WordPress with my language installed as default, in contrast to downloading and adding it later. For a workaround to this situation (which seems quite common) check the solution I provided in my answer. – Redoman Nov 11 '13 at 08:06
0

To change language use

add_filter('locale', 'setLocale22323');

function setLocale22323($locale) {
  if ( is_admin() ) {
    return 'en_US';
  }
  return $locale; 
}
Paul Roub
  • 36,322
  • 27
  • 84
  • 93
Naeem Shah
  • 15
  • 5