If you need to translate your WordPress site in a language that is not found in the All Languages drop-down you can easily add a custom language.
This feature lets you add one or more custom languages directly from TranslatePress Advanced Settings. Once the language(s) is added it will appear and can be selected from the languages list.
Steps to Add a Custom Language to your Multilingual WordPress Site
To add a custom language, navigate to TranslatePress -> Settings and select the Advanced tab. Then click the “Custom language” section.
Here you’ll be asked to input the following custom language details:
- Language name: the name of the language, as it will appear in the languages list.
- Native name: the native language name, which will be used only if you select the option to display languages in their native names
- ISO code: the language ISO code which you can find here.
- URL slug: the language slug, which will be used in the url
- Flag URL: in order to add a flag to your language, simply upload a PNG file into the WordPress media library and then copy its URL here (TranslatePress will take care of the resizing)
- Text RTL: check only if the custom language is written in right to left format
Once you’ve added all the custom language details don’t forget to click the Add button and then Save Changes. Your custom language will now appear in the language list and you can select it.
After this, your custom language will appear in the front-end translation interface.
It will also be listed in the language switcher:
The premium version of TranslatePress has no limitation on the number of custom languages that you can add. In the free version the number of translation languages is limited to two.
Following these steps you can start translating your site in any language you want. Even Klingon!