A problem with this solution is that the translations are being cached on the Deployable model. It means that even if you switch locale during runtime, it won't be picked up in production environment.