WPPizza – A Restaurant Plugin for WordPress › Support › Add-Ons › Extensions › Add Ingredients › Support › can't translate Add Ingredients plugin
- AuthorPosts
- 2 July, 2015 at 11:05 pm #10925
Hi
i’m experiencing a problem with Add Ingredients plugin.
I was able to add translation for all other plugins except the Add Ingredients plugin!
i’m using the poedit, any idea why?Mustafa
3 July, 2015 at 12:01 am #10926which version of the plugin are you using ?
secondly how exactly are you translating it ?i.e where are you putting the po/mo files and what did you name them ?
essentially the translation for that plugin works the same as for all the other wppizza plugins so I cannot see any reason why you should not be able to do that .
if you wish, send m your translation files and i will have a look whether i can get them to work here (send them to dev[at]wp-pizza.com)
3 July, 2015 at 12:07 am #10927Im using version 4.9.2 and i put the po/mo files inside lang folder as i did with all other, i call them wppizza_addingredients-da_DK.po and wppizza_addingredients-da_DK.mo
i will send you the one i used
6 July, 2015 at 11:46 pm #10959Hi, did u find out anything about my problem?, i sent u same day the translation files that im using.
7 July, 2015 at 12:44 am #10960in wppizza-addingredients.php (approx line 89)
took m a bit to find out why it did not load it.
so, do the following :
in wppizza-addingredients.php (approx line 89)
add_action(‘init’, array($this, ‘wppizza_ingredients_load_plugin_textdomain’));
and change to
add_action(‘init’, array($this, ‘wppizza_ingredients_load_plugin_textdomain’),99);
feel free to do that in the core file of the plugin as it will be default in th enext update
7 July, 2015 at 12:54 am #10962yea, it is working.
Thanks - AuthorPosts
- The topic ‘can't translate Add Ingredients plugin’ is closed to new replies.