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.

This is my first question on the site. First of all I want to apologize for my bad English.

I´m migrating a site to a WordPress theme, and I need a solution to translate the theme to 3 different languages. I have the post translation on several custom post meta (title in Russian, title in Spanish, and so on). What i need is a simple solution to, based on a link, load a different theme so i can manage what to show on the site and URLs must to be viewed like /en/ or /es/.

share|improve this question

1 Answer 1

Post meta is a bad place for translations, because you cannot search by default in these fields, and changing the search to do that results in rather slow and complex queries.

What you can do: set up WordPress as a multi-site, use the sub-sites option. Now create a new sub-site for each language, so you get sites with en, es, ru and so on.

To connect the translated posts, either

  • create a separate table with relationships and a new metabox for the post editor to connect the posts from different languages, or
  • install Multilingual Press which does all this for you. Disclosure: I’m the lead developer for this plugin now.

Related: Should multi-language site using multi-site architecture have default language in base site?

Alternative for single-site: http://wordpress.stackexchange.com/a/85394/73

share|improve this answer
    
Thanks for the answer!. The Plugin seems to be a simple solution, but i´m exporting the database from another site build with ASP, and i have the database in XML. I export this XML to posts (custom taxonomies,categories,custom meta,etc) –  Diego Aug 8 '13 at 0:23
    
Separate the export file by language and import each language in each sub-site. Test it on a test installation first. :) –  toscho Aug 8 '13 at 0:26

Your Answer

 
discard

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.