Hi Chris,
The folks still at Google can correct me if I'm wrong, but basically the Google Translate's Website Translator (a.k.a. widget) is
obsolete. The recommended path for client-side translation is to just let the user's browser handle it. There was recently a small
exception for non-profits in times of global pandemic.
(Also, if you call the API client-side, won't your API key be visible to clients?)
For a shop, even B2B, you're probably better off doing it server-side. That'll let you get:
- faster page loading
- caching / translation memory
- multilingual SEO (not as applicable in your case, since it's not on the public web)
I know of a major corporation that tried to do it client-side for a B2B shop, and it was a catastrophe. (The developer's name was Chris too!). With shops and marketplaces, improving translation quality and SEO should increase sales to more than cover the cost of a more solid machine translation integration and/or hybrid setup.