slotlist / slotlist-backend

Backend of slotlist.info, an ArmA 3 mission planning and slotlist management tool
https://slotlist.info
MIT License
14 stars 6 forks source link

Serve i18n for frontend #2

Closed MorpheusXAUT closed 7 years ago

MorpheusXAUT commented 7 years ago

https://github.com/MorpheusXAUT/slotlist-frontend/issues/6 requires translation files to be served as JSON via the API.

To allow for easier updates, translations should not be stored in a file on the app server, but retrieved from database. This enables changes to be made via a future admin panel without having to redeploy the whole application.

For easier setup, i18n changes should also be persisted to a file checked into this repository from time to time, e.g. as a SQL dump.


Tasks

MorpheusXAUT commented 7 years ago

As decided in https://github.com/MorpheusXAUT/slotlist-frontend/issues/6, i18n will only be done client-side, not involving any backend APIs or likewise. The recently created models and tables can thus be removed again.