WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Max Quantity
[resolved] Translating the default error message? (5 posts)

  1. dTilen
    Member
    Posted 3 months ago #

    What would be the best way to translate an error message that says "You can add a maximum of 3 something's to your cart. You already have 3."?

    One option is to change the message in the plugin core file, but that would go away when updating the plugin.

    Thanks!
    Tilen

    https://wordpress.org/plugins/woocommerce-max-quantity/

  2. isabel104
    Member
    Plugin Author

    Posted 3 months ago #

    I will add a .pot translation file to the plugin, if that will help.

    Or are you looking for something else? I can add an option to customize the error message, but that will have to wait several days for an opening in my schedule. That's a good feature to add.

  3. dTilen
    Member
    Posted 3 months ago #

    Any kind of translation option, really. A .pot file would be perfect!

    Thanks for a quick follow-up.

  4. isabel104
    Member
    Plugin Author

    Posted 3 months ago #

    I'm sorry for the delay. Version 1.2.0 was just released. It includes translations for French, Hindi, and Spanish languages, as well as a .pot file to make more translations. I hope this helps.

  5. dTilen
    Member
    Posted 3 months ago #

    It works perfectly, thank you. Keep up the good work!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.