Hi there!
Thanx for this wonderful plugin which we will add to some blogs – very well done ??
I recognized the same behavior with the loading of the textdomain and find out that the loading call is wrapped in a function/hook which is wrong.
There is no function/hook needed for that – just add the loading call at the beginning of the plugin code – to make sure everything after that is included in the display of the translations (also errors etc.).
Just this line is neccessary not more:
/** Load translations */
load_plugin_textdomain( 'recipress', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
I changed this on my install and promptly all gets loaded in backend AND frontend! This is also regular WordPress standard.
You can also add these two lines to the plugin header (in the main file):
Text Domain: recipress
Domain Path: /lang/
This will make the plugin header/description also translateable.
Thanx for that!
I have it completely translated into German already and will post the link here too!
Thanx again for the awesome work with the plugin!
-Dave from Germany ??