Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have two domains set up in a Wordpress 3 Multisite blog. One of them is supposed to be in Swedish and the other in English. The template contains some texts that I want to translate for the different sites.

How do I set up different languages for the sites' frontend (using the language files in my template)?

share|improve this question

migrated from stackoverflow.com Oct 24 '11 at 18:38

This question came from our site for professional and enthusiast programmers.

add comment

3 Answers

You need the Swedish language pack, and then you need to pick Swedish from that user's profile on that blog.

http://wpmututorials.com/how-to/localization/ The latter half of this post.

share|improve this answer
add comment

Try to use some default plugins like "Global Translator" or "Google translator" for your wordpress.

Hope this help...

share|improve this answer
    
Sorry, it was not what I was looking for. The content will be completely different between the two sites. But they will use the same template. And that template contains <?php _e("A text") ?> and language files for Swedish and English. For mydomain1.com I want it to use the Swedish language file and for mydomain2.com I want it to use the English language file. –  Christoffer Nov 18 '10 at 8:42
add comment

Install the correct WordPress core language packs (the mo files, basically).

In a multisite installation, this will enable a selection on the Settings->General page which lets you select the language for that individual site. This setting will then affect the language choice for both front and back ends of the site, including letting it use the relevant language files for the theme.

share|improve this answer
add comment

Your Answer

 
discard

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