can't translate Add Ingredients plugin

WPPizza – A Restaurant Plugin for WordPress Support Add-Ons Extensions Add Ingredients Support can't translate Add Ingredients plugin

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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

    #10926
    Olly
    Admin & Mod

      which 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)

      #10927

      Im 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

      #10959

      Hi, did u find out anything about my problem?, i sent u same day the translation files that im using.

      #10960
      Olly
      Admin & Mod

        in 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

        #10962

        yea, it is working.
        Thanks

      Viewing 6 posts - 1 through 6 (of 6 total)
      • The topic ‘can't translate Add Ingredients plugin’ is closed to new replies.