I was translating a WordPress plugin to Dutch, and was ready to test it. So I visited the test site’s settings page where you can change the language. Sure enough the UI was now in Dutch, but the plugin text wasn’t. Everything seemed to be in place: files in the right folder, files had the correct filenames, load_plugin_textdomain was set to run during the plugins_loaded action, but it just didn’t seem to accept the files.
The last missing ingredient appeared to be wp-config. Even though WordPress recently allows you to change the language right from the settings page, it still looks at the WPLANG constant defined in wp-config.php to overwrite that preference for themes/plugins (even if the constant’s value is empty). So be sure to go into your wp-config.php and comment out the WPLANG constant to make WP ignore it.
Hey, Berend! I suggest you check out the localization tool https://poeditor.com/ if you need to translate software like WordPress themes and plugins.
It fully supports .po files and has a WP plugin that you can use to automate the language file management: http://wordpress.org/extend/plugins/poeditor/
Hope you like it!
CoMa
Hey, Berend! I suggest you check out the localization tool https://poeditor.com/ if you need to translate software like WordPress themes and plugins.
It fully supports .po files and has a WP plugin that you can use to automate the language file management: http://wordpress.org/extend/plugins/poeditor/
Hope you like it!
Berend
Hi CoMa,
Sure poeditor is nice, but you still have to know how to set up a WP translation technically to put those .po files to work.
Hey, Berend! I suggest you check out the localization tool https://poeditor.com/ if you need to translate software like WordPress themes and plugins.
It fully supports .po files and has a WP plugin that you can use to automate the language file management: http://wordpress.org/extend/plugins/poeditor/
Hope you like it!
Hey, Berend! I suggest you check out the localization tool https://poeditor.com/ if you need to translate software like WordPress themes and plugins.
It fully supports .po files and has a WP plugin that you can use to automate the language file management: http://wordpress.org/extend/plugins/poeditor/
Hope you like it!
Hi CoMa,
Sure poeditor is nice, but you still have to know how to set up a WP translation technically to put those .po files to work.
With respect !!!