Support » Fixing WordPress » How to change language in each page ?

  • Resolved tonyparera



    I have setup a WP site with CMS pod plugin. So it’s more like a CMS than a blogging site. (

    In this, I have created 10 pages which represent 10 different country. I want to set different language for different pages.

    So far I have done,
    1 .Created directory “wp-content/languages” and copied all languages .po and .mo file there.
    2. Tested this with changing “define (‘WPLANG’, ‘nb_NO’)” in wp-config.php and it works well on global level.

    Now the question is, how to change my language in each page ? I can detect the page by using get_the_title() in page template file. can I use dynamically ‘define (‘WPLANG’, “$country_language”)’ in start of page template itself or any other method ?


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to change language in each page ?’ is closed to new replies.