WordPress.org

Forums

WooCommerce Menu Cart
[resolved] Language (8 posts)

  1. Wida
    Member
    Posted 2 years ago #

    Hi, and thank for such a good plugin. Very nice.

    How do i change the language? I know how to make a .po and .mo-file but where do i have to put the translations?

    Thank you!

    http://wordpress.org/extend/plugins/woocommerce-menu-bar-cart/

  2. Jeremiah
    Member
    Plugin Author

    Posted 2 years ago #

    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?

  3. Wida
    Member
    Posted 2 years ago #

    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.

  4. Wida
    Member
    Posted 2 years ago #

    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.

  5. Jeremiah
    Member
    Plugin Author

    Posted 2 years ago #

    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!

  6. Wida
    Member
    Posted 2 years ago #

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

  7. Jeremiah
    Member
    Plugin Author

    Posted 2 years ago #

    Send them to support@wpovernight.com. The next release of the plugin is big and will hopefully be coming in the next few days. I'll include your translation files.

  8. Jeremiah
    Member
    Plugin Author

    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce Menu Cart
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.