What is the best way to add translation.json file to a React app running inside docke

  configuration, docker, kubernetes, rancher, reactjs

I am working on a react web application, which may require multi language support. I am using i18n-next which internally loads the required configuration file from specific directory based on the language selected by user.
enter image description here

The word or scentences that needs to be translated may increase based the screens that user going to add and also if use adds new folder, we will loading those languages into our application.

What is the best way (I mean Scallable, Easy to configure, platform provided…) to satisfy the requirement?

( 🙁 All I can think of is mounting an external locales folder to the folder inside container.. Is that the only way.. or something else is there..)

Note: kubernetes and rancher is there to manage. Plase provide solution/suggestion around that.

Nandri.

Source: Docker Questions

LEAVE A COMMENT