Settings
You can access the TranslatePress plugin settings in the administrator area in the menu under Settings -> TranslatePress.
It can also be accessed both from the frontend and administrator area from the Admin Bar under the newly created button under the Settings drop-down.
Default Language
Select the original language from the drop-down your website was written in.
By default the language is inherited from the WordPress language that you can setup on install or change from Settings -> General.
Translation Languages
Interface which allows you to select the languages you wish to make your website available in. You just have to select the language from the drop-down and click the Add button.
Actions you can perform on the languages:
- edit the slug of the language that will appear in the urls of the site from the Slug input
- make the language active for the visitors of the site or only available for translation for the administrator by checking or un-checking the Activate checkbox ( only in the PRO Version )
- remove the language by clicking the Remove link ( this will not delete the existing translations from your data base )
- rearrange the order of the languages with the drag drop interface. This will determine the order in the language switcher floater and shortcode.
- placing a translated language on the first position will make it the first language to show to website visitors if option Use subdirectory for default language is active
Display languages in their native names
Select Yes if you want languages to display in their native names. Otherwise, they will be displayed in English.
Use subdirectory for default language
Select Yes if you want to add the language slug in the url for the default language. Example www.myhomepage.com/en/ instead of www.myhomepage.com when visitors are viewing the site on its default language.
By selecting Yes, the default language seen by website visitors will become the first one in the “All Languages” list. This means that you can make one of the translated languages be the language to display when visitors access your website without language encoding in the url ( such as www.myhomepage.com, without /en/ for example ).
Instead of directing the user to a pre-defined language, you can also redirect them to their preferred language using the Automatic Detection of User Language add-on.
Force language in custom links
Select Yes if you want to force custom links without language encoding to add the language slug in the url for the default language.
Google Translate
Enable or disable the automatic translation of the site with Google Translate. Existing translations will be not be affected.
Note: Not all languages support automatic translation. Please consult the supported languages list.
Language Switcher
You have three options to display language switchers on the site:
- Shortcode ( Use the shortcode on any page or widget. )
- Menu item ( Go to Appearance -> Menus to add Language Switcher Languages in any menu. )
- Floating language selection ( Have a floating dropdown following the user on every page. )
For all the available language switchers you have the following options:
- Flags with Full Language Names (default)
- Full Language Names
- Short Language Names
- Flags with Short Language Names
- Only Flags
Here’s a short video on how to add and customize a language switcher on your WordPress site:
Translate Site
Clicking on this tab will open the Translation Editor in the frontend of the site where you can begin translating your site.
Advanced Settings
Find out about options that help fix certain issues with integrating TranslatePress into your project here.