<p>I am working on a react web application, which may require multi language support. I am using <a href="https://www.i18next.com/" rel="nofollow noreferrer">i18n-next</a> which internally loads the required configuration file from specific directory based on the language selected by user.
<a href="https://i.stack.imgur.com/18a5O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/18a5O.png" alt="enter image description here" /></a></p>
<p>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.</p>
<p>What is the best way (I mean Scallable, Easy to configure, platform provided...) to satisfy the requirement?</p>
<p>( :( 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..)</p>
<p>Note: kubernetes and rancher is there to manage. Plase provide solution/suggestion around that.</p>
<p>Nandri.</p>

Karthikeyan
<p>If you can add the files from the Storage bucket to Ci/CD &amp; add files to the docker image and manage inside it that would be one way.</p>
<p>Following this way might be helpful during scaling up the application and need to manage the external locales folder and anything worried.</p>
<p>By external local folder mean you want to use the Host path of the node what if your node is changing by Kubernetes during maintenance how will you add the files to the node each time or manage it?</p>
<p>If you will use the PVC you might face the issue of <strong>readwriteonce</strong> if you are scaling the replicas you require the <strong>readwritemany</strong>. Make try to create stateless containers as much as possible.</p>
<p>If you can create and add the directory inside the docker image and directly use it that would be perfect or else you might could use the NFS like <a href="https://min.io/" rel="nofollow noreferrer">minio</a> or <a href="https://www.gluster.org/" rel="nofollow noreferrer">glusterFS</a> which support the <strong>readwritemany</strong> also.</p>
