Blog

Wordpress make your own plugin multilingual

Categories: 

Tags: 

Summary

  • Step 1: make some string in your plugin translatable
  • Step 2: load the function with add_action 'init' in your plugin
  • Step 3: create folder and file for translations inside your plugin
  • Step 4: update your language files with poedit

In the example, we are going to translate the plugin to Spanish.

Pages