Welcome to My Blog!

This is Boxer Template Demo Site
Follow Me

Setting Up A MultiLingual WordPress Site With Polylang



By  Unknown     21:53     

Setting Up A MultiLingual WordPress Site With Polylang

You can set up a Multilingual WordPress site with a great plugin called Polylang, there are a few ways to make multilingual sites and people can get quite opinionated about this, for larger sites with complete duplication you may want to consider doing it with a multi-site set up but for smaller needs you can get away with a smaller set up.

One of the key things to note is that these plugins or set ups won’t translate your content into another language you still need to get your text translated and provided in the other language ready to be pasted into your page.

This guide looks at setting up a mulitlingual site with a free plugin maintained by an active developer, first thing is to make sure the WordPress theme is Internationalized which essential means the theme is ready to be translated into other languages, a process known as localisation.

Setting Up A MultiLingual WordPress Site With Polylang

Polylang

Download and install Polylang activate it. Go to settings via the plugin or via Settings > Languages, here is where you add the desired languages.

Setting Up A MultiLingual WordPress Site With Polylang
Chinese Language is selected in the above example

When you add the language the required .mo and .po files are downloaded and filed in wp-content/languages/.

Setting Up A MultiLingual WordPress Site With Polylang
.po and .mo files downloaded

Now since this is a multilingual site as well as our other languages we also need to add in our default language which more than likely will be English add this in the same way and pick your English flavour, US, GB, CA or AUS. This will also determine the flag used on the language switcher.

Setting Up A MultiLingual WordPress Site With Polylang
English Added

Next is to swap to the Settings tab and set the default language.

Setting Up A MultiLingual WordPress Site With Polylang
Set default language

Also here set your URL settings, I like to keep it simple and not set the language abbreviation in the URL and remove the word /languages/ from the URL string. This is also a safeguard in that if the plugin was deactivated I would still have all my links working for the default language.

It’s also worth pointing out here that all additional content added via Polylang for additional languages is stored additionally in the WordPress database so disabling the plugin leaves the core language and re-enabling the plugin adds back in all the other language content.

Setting Up A MultiLingual WordPress Site With Polylang

On a first time install you will also be asked There are posts, pages, categories or tags without language set. Do you want to set them all to default language ? Where you can set these to the default language.

On the middle tab string translations, certain WordPress settings, plugins and widgets are available where you can enter in the other languages text strings.

Setting Up A MultiLingual WordPress Site With Polylang

Sorting Out The Menus

Next up is to address any pre-existing menus, you need to re-save the menu to the default language and create new menus for the other language. Additional theme locations are added per menu per language.

Setting Up A MultiLingual WordPress Site With Polylang
Saving Menus per language

So if an exact duplicate menu is required for the 2nd language, create the menu and assign the 2nd language theme location.

Menu Switcher

Setting Up A MultiLingual WordPress Site With Polylang

Polylang gives an option of adding a menu language switcher between the languages to add to the menu.

Setting Up A MultiLingual WordPress Site With Polylang
Front End View

You will need to add the switcher to both language menus to be able to toggle between languages.

Widget Switching

Setting Up A MultiLingual WordPress Site With Polylang

Widgets are handled by adding additional widgets in the appropriate areas and selecting whether you are displaying them for one or multiple languages.

Post & Pages Switching

Setting Up A MultiLingual WordPress Site With Polylang

Since we have already set default language on post/page/cat & tag (in the set up of the plugin) we have the content in it’s intended language to create an equivalent page in the other language  just click the translation pencil edit icon and add in your multilingual content.

These posts/pages are then available in the menus so you can add them into your other language menu.

For categories and tags the same procedure applies.

Flag Switcher

Setting Up A MultiLingual WordPress Site With Polylang

As well as the menu switcher there is a widget switcher which can display a number of indicators to swap language which can be place in any widgetized area.

Setting Up A MultiLingual WordPress Site With Polylang

This is all done.

Also Check Out Below Article!



The above method you can use to set up your WordPress Site into Multi-languages. It is very useful and ongoing way that most bloggers using these days. Try this one and let me know your opinions via comments.

About Unknown

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas euismod diam at commodo sagittis. Nam id molestie velit. Nunc id nisl tristique, dapibus tellus quis, dictum metus. Pellentesque id imperdiet est.

12 comments:

  1. I did not use this plugin before. I must use it. Thank you so much for writing about it. Check Our Service Below. Hope it will you help too. Thanks
    SEO Services
    Local SEO Services
    Link Building Services
    Web Development Services
    WordPress Development Services

    ReplyDelete
  2. Thank you for this golden advice you shared here. Thank you for such a great article...
    web development company sydney | wordpress theme development

    ReplyDelete
  3. nemco.com.au
    WordPress Development Company - Brisbane, Melbourne, Sydney & Perth
    Nemco is a Wordpress design and development Company offering web design, custom themes development, plugins customization, and theme customization Services in Australia.
    wordpress development sydney | wordpress development Agency

    ReplyDelete
  4. Excellent information on your blog, thank you for taking the time to share with us. Amazing insight you have on this, it's nice to find a website that details so much information about different artists.
    wordpress development sydney | wordpress development Agency

    ReplyDelete
  5. I would like more information about this, because it is very nice...Thanks for sharing.Great Article it its really informative and innovative keep here:
    wordpress development sydney
    wordpress development Agency

    ReplyDelete
  6. Really an interesting and amazing post. Thanks for sharing this wonderful informative article here. I appreciate your hard work.Web Designing Company Bangalore | Website Design Company Bangalore

    ReplyDelete
  7. I am not aware of the common mistakes that drive online shoppers away from the E-commerce website. The checklist you have shared in the site is very much informative and helps to avoid the mistakes in E-commerce development.
    PSD to Wordpress Conversion Services
    Woocommerce Development Services
    Wordpress Customization Service
    hire wordpress programmers
    Convert Website to Wordpress

    ReplyDelete
  8. We're very Glad to talk to your informational Post! Retargeting services was the prominent company in online advertising. Their advanced cookie technology gave advertisers the chance to possess more targeted advertising.

    ReplyDelete
  9. I'am glad to read the whole content of this blog and am very excited,Thank you for sharing good topic. UFA88

    ReplyDelete
  10. Thank for providing good information for site,Thanks for your sharing.
    SA GAMING
    UFA88 ONLINE CASINO

    ReplyDelete
  11. Nicely explained. The rise for flutter developer jobs
    is increasing because Flutter supports best practices for developing flutter web apps that run blazingly fast on iOS and Android. Flutter gives you the option to choose one of three different rendering engines.

    ReplyDelete


Contact Form

Name

Email *

Message *

Translate

Fashion