Changing the WordPress site language configuration
The first step to translate a plugin is to configure WordPress to a language setting other than English. This will automatically trigger mechanisms in the platform to look for alternate language content for any internationalized string.
Getting ready
You should have access to a WordPress development environment.
How to do it...
Follow these steps to configure the site to display in French:
- Open your development site's Dashboard and navigate to the General section of the Settings menu.
- Set Site Language to Français du Canada and click on Save Changes.
How it works...
The WordPress Site Language configuration option allows administrators to select the language that will be seen by visitors when they go to your website. It also determines the language that will be assigned to administrators by default when they visit the management section of the site.
As can be seen in the drop-down list...