• Resolved okita

    (@okita)


    I want to sync a product with a Japanese handle to WordPress.
    However, when I view the WordPress product list page, the link to the detail page is not generated.
    It seems that the cause is that Japanese is omitted in the description .replace(/[^\w\s-]+/g,"") in dist/public.min.js.

    Is it possible to modify Japanese products so that they can be synchronized?

    ***
    Since I’m using the Google translation, English I wrote might be wrong.
    If my English is wrong, I’m sorry.
    If you can not understand, please reply with “?”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andrew

    (@andrewmrobbins)

    @okita Thanks for letting me know!

    I’ll take a closer look and fix it for the next plugin update. I’ll follow up here when it’s ready.

    Thread Starter okita

    (@okita)

    @andrewmrobbins
    Thank you for accepting my request.
    I don’t know if it’s helpful, I’m using that code now by rewriting it like this.
    .replace(/[^ぁ-んァ-ン一-龥ー\w\s-]+/g, "")

    I’m looking forward to the next update.

    Plugin Author Andrew

    (@andrewmrobbins)

    @okita Thanks, this helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Please add Japanese to the supported languages.’ is closed to new replies.