We are building a vernacular application in which we need to show the information/content to the user based on the language selected by user. Currently we support English and 10 regional languages.
The data is static(gets changed but less frequently) but we still needs to serve it from the backend based on the input header : APP_LANGUAUGE : EN
in the api-calls, we get from the client.
We initially thought that the simplest way to do this is, we can store the constants for all languages supported, on the app config files and based on the language header, we can serve that language constants. We can't store in DB (as DB will cost us the 'select' query time and thus increases the app loading times, we really don't want that as well).
Is there a better place(backend data-store) to save the values for these constants (for all the languages supported) for instance in zookeeper. How would you make the trade-off here between config files or zookeeper or any other config server ? These values are not going to get changed very frequently but does change some times.