I'm aware of the various functions for localising elements of themes and plugins - __(), x() and the textdomain concept but how does one go about providing localised versions of actual post and page content?

I have a strategy in mind which would involve multisite with two domain mappings for .eu and .de (English and German respectively). I could then either provide the ubiquitous flag links in the header or use something a bit more sophisticated involving geoIP. Additionally, I would need to translate error messages and any hardcoded headings in templates.

However, this doesn't address the issue of localised content. Is there some way to mark a page or post as localised to a language?

  • There are multiple plugins to deal with that (see my profile for one). The details are probably too much for a single answer. – fuxia Jan 3 '15 at 12:29
  • @toscho vielen Dank! – codecowboy Jan 3 '15 at 12:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.