a general folder for costum translations for plugins
- If the language file in a plugin adapts to your needs, this is gone after a plugin update
- So then every time via ftp upload them again manually--> that's awkward
In WordPress Creating wp-content-> languages-> a folder "costum" where you can store its own language files
and in WordPress install a function that will load language file, rather than the plugins-> languages folder.
That's been implemented for almost two years now. Make wp-content/languages/themes and so on :) put the files there. It works perfectly.
This only works when I'm in the Child Theme in the function.php for each plugin writing this:
load_plugin_textdomain ('event-Organiser', false, '../.. /languages');
This also does not work with any plugin.
In the WP-reference http://codex.wordpress.org/Function_Reference/load_plugin_textdomain nothing is written to it.
It would be better wordpress first looks in this folder. Without the Child Theme.
Since many of translation are for back-end and front-end. With a theme change, these are also gone for.
it works. I just tested it.
where slug is the plugin or theme’s slug, and the locale is the relevant locale information about the language (like “en_US” for example).
So if the theme slug is child-theme then you would have
child-theme-EN_gb.po and so on
RSS feed for this topic
You must log in to post.