WordPress – Localized

A localized version (in this example Dutch) of WordPress is basically the same as the normal WordPress except for:

  • includes/version.php -> contains aan extra line at the end with
    $wp_local_package = 'nl_NL';
  • The wp-content/languages folder

Basically, all you need to do is: Read More

WordPress Multilingual (WPML) – tips

Just some short notes on using WPML in wordpress:

Translating theme strings

In the code use this for strings that should be translated (example is for ‘roots’  theme)

echo __('Instructors', 'roots')

Then in the WPML settings, got to the tab ‘Theme and plugins localization’

Scroll down and click ‘Scan the theme for Strings’

Then scroll slighlty up and click the button ‘View strings that need translation’

Add your translation(s) and save