The P4 team is currently running some changes to the site. Please be aware that you might be redirected to some other sources on the world wide web or you will find the content you are looking for in another format. If you notice anything missing, please let us know in the p4-general Slack channel. Thank you!

If the planet4 site deployed needs to support many languages then probably WPML plugin has been installed. The guide below demonstrates the initial setup of the WPML plugin in a new planet4 installation

NOTE: Instructions are written for wpml 4.0.6 version. There may be slight variations in a newer/older version.

In the admin area of the planet4 site.

  1. Click on ‘WPML’ at the left sidebar. This will navigate you to the initial plugin setup.
  2. Select the language of the posts.
  3. Select which languages want to the site to support and click Next.
  4.  Step 3. Add a new language switcher to the theme. Press ‘Add a new language switcher to a menu’.
  5. Select ‘Navigation Bar Menu’ from the menu select box.
  6. Select ‘First Item’ in Position radios.
  7. Select ‘List of Languages’ in Language menu items style.
  8. Select ‘Language name in current language’ and ‘Current language’ options in ‘What to include in the language switcher’.
  9. Click save.
  10. In step 4 select 2nd option and click Next.
  11. In step 5 you need to generate a new site key for wpml (to support plugin updates). Go to https://wpml.org/account/sites/
  12. Create a new wpml ’Site key’ and enter it finish the setup.

Initial configuration for the multingual plugin has been completed!

After the initial configuration has finished, there is an extra setting that should be done in order to set the proper format for urls/permalinks.

  1. Navigate to WPML -> Languages (1st list item in wpml menu).
  2. In the third section (‘Language url format‘) select the 1st option (‘Different languages in directories‘) and the checkbox ‘Use directory for default language
    and click ‘Save’.

The configuration for the wpml plugin has been finished!!

WPML language edit
WPML language edit