stanfordnmbl / opencap-api

Apache License 2.0
5 stars 6 forks source link

Internationalization/Localization #64

Closed AlbertoCasasOrtiz closed 1 year ago

AlbertoCasasOrtiz commented 1 year ago

Currently, every string is hardcoded in the code directly in every repository. This makes difficult locate specific messages, titles, texts... in the code. We should internationalize the code, so we have every string in the same place and we can more easily find typos, add/modify error messages... etc.

https://docs.djangoproject.com/en/4.2/topics/i18n/#definitions

This will also allow translation to different languages in the future if requested.