• Resolved kfirsov

    (@kfirsov)


    Hi. I’m using Loco translate plugin for translate addonify to Ukrainian. And all looks good:
    addonify-floating-cart-uk_UK.po
    addonify-floating-cart-uk_UK.mo

    files created with translated msgstr.
    But site still does not see this changes.
    Looks like I can translate only strings that available from Admin to translation.
    How can I fix it?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Addonify

    (@addonify)

    Hi @kfirsov

    Please let us know which string you were not able to translate.

    BTW you can also translate it here.

    Looking forward.

    mgarciacar

    (@mgarciacar)

    Hi, I’ve got the same problem. I created new language (es_ES) in Loco configuration and I can’t see translations. I tested in these two locations and didn’t work:

    wp-content>languages>loco>plugins

    wp-content>plugins>addonify-floating-cart>languages

    What can I do? Thanks!

    • This reply was modified 1 year ago by mgarciacar.
    Thread Starter kfirsov

    (@kfirsov)

    Translated only fields that translated in admin panel. All others strings from translated .po and .mo are not translated in UI. Loco plugin can view and edit this but seems like addonify plugin not use it.

    I’m also try edit .po in text editor on generate it from https://translate.www.ads-software.com/projects/wp-plugins/addonify-floating-cart/stable/uk/default/?page=10 and put in different places on server – same result.

    I can confirm that translation is not working. I try to put mo/po files also in theme language directory but not working.
    Every another plugin is translated without problems by Loco but Floating Cart not…

    • This reply was modified 11 months, 2 weeks ago by devscharmach.

    I found a solution to the problem. You must add this lines to addonify-floating-cart.php (ie. to line 29):

    
    function addonify_loating_cart_init() {
      load_plugin_textdomain( 'addonify-floating-cart', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    }
    add_action('init', 'addonify_loating_cart_init');

    now translations from addonify-floating-cart/languages will work.

    Plugin Author Addonify

    (@addonify)

    Hi Folks,

    We have fixed the problem that you were facing with the translations. Please update to the latest version 1.2.4.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘translate problem’ is closed to new replies.