Localization

The plugin has two localization files. One for an admin and one for a frontend page. In most cases you need to localize only a frontend page. Localization files are inside the language folder of the plugin.

To make a localization from the admin page with the most comfort way, we recommend to use the plugin Loco translate. You need to make some setup before using the plugin to edit frontend files. Go to Loco translatePlugins and find Affiliate Egg. Then, go to Setup tab and make next settings. (This can be set automatically. If so, then don't change anything here).

Save the file. Now you can create a new language or use an existed language for a frontend localization.

To create a new language, click on link “New language”

The plugin uses own setting for a language of frontend part and doesn't use a language setting of WordPress. Set a language in Affiliate Egg –> Settings –> Website language.

Choose Custom language and set locale (two letters) which you have in the Affiliate Egg –> Settings –> Website language.

When you create a new language in Loco translate, it must be without a second part. For example, for Finish, a file name must be “fi”, not “fi_FI” as usual in WordPress.