Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Jeremiah

    (@jprummer)

    Hi Wida, glad you like this! Thanks for the review.

    Right now you have to manually add the language yourself. It should look something like the following with the current plugin setup:

    add_action( 'plugins_loaded', 'languages' );
    function languages() {
    		load_plugin_textdomain( 'wc_menucart', false, dirname( plugin_basename( __FILE__ ) ) );
        }

    The release that’s coming out in the next week or so will have a much more streamlined process for this. What language are you translating this into? Would you be willing to send me your .po and .mo file so I can add them to the next release?

    Thread Starter Wida

    (@wida)

    Hi. I’m translating it into danish. If i get it to work i will send you the translation. If i do not get it to work i will translate it after the next release, and of course send it to you.

    Thank you, i will try it.

    Thread Starter Wida

    (@wida)

    Hi again, i have translated your plugin. Where do i have to put the .po and .mo files to get the translation show up? I will send you the files when your site is up.

    Plugin Contributor Jeremiah

    (@jprummer)

    Hi Wida! I completely missed this message, sorry! Insert the function I pasted above, and copy the files into the plugin folder. You’ll probably want to use an FTP client. Go to yourwebsite.com/wp-content/plugins/ and copy the files into the woocommerce-menu-bar-cart folder

    Let me know if that works!

    Thread Starter Wida

    (@wida)

    I have tried that but didn’t work, the language didnt change. Which email should i use to send you the translations?

    Plugin Contributor Jeremiah

    (@jprummer)

    Send them to [email protected]. The next release of the plugin is big and will hopefully be coming in the next few days. I’ll include your translation files.

    Plugin Contributor Jeremiah

    (@jprummer)

    Version 2.0 has your language included. Please let me know if it works!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Language’ is closed to new replies.