Plugin Contributor
Ewout
(@pomegranate)
Hi! Unfortunately language switching is quite complex in WordPress and it’s not as simple as using a filter 🙁
However, depending on what you are using to create these Japanese orders in the first place, we may have other solutions for you. Our Professional extension offers support for WPML and Polylang.
Are you using either of those or something else entirely?
Let me know!
Ewout
Thread Starter
jlev00
(@jlev00)
Hi Ewout – thanks for the quick response.
Currently we set the site to “Japanese” in regular WordPress general settings. However in the back end, some people (eg me) like to view everything in English, and so under my profile settings I manually set it to English. Previously I needed a plugin for this functionality but it’s in WordPress core now I think.
I override a few translation strings with Loco Translate, but not using anything like WPML or Polylang. If they offer a solution I could have a look at them but it seems like adding a lot of extra complexity to solve a problem we are currently working around.
Plugin Contributor
Ewout
(@pomegranate)
Hi! I see, yes, it certainly sounds like WPML or Polylang would be overkill for what you want. I’m afraid I don’t have a simple solution for this though – as I said, overloading/forcing the site language only for specific parts only (i.e. ignoring your profile language setting for PDF invoices) is not simple.
I’m sorry I can’t help you with this!
Ewout