Our gettext function that is being used in other apps required some server side to make it work properly and if we want almost the same style we will have to do a lot of hacky stuff which I find that this way is more ideal because the code in `index.js` will be cleaner and easy to maintain.