The first step to translate a plugin is to configure WordPress to a different language setting other than English. This will automatically trigger mechanisms in the platform to look for alternate language content for any internationalized string.
In this recipe, we will set the site to French
.
- Open your site
Dashboard
and navigate to theGeneral
section of theSettings
menu. - Set the
Site Language
toFranais du Canada
and click onSave Changes
.
The Site Language
configuration option of WordPress allows you to select the language that will be seen by visitors when they go to your website. As can be seen in the drop-down list of languages, WordPress has a single language installed by default, shown at the top of the list. The remainder of the list indicates languages that can be added to your website. When you set a new language, translation files...