Refactor i18n

Refactor i18n code to support HabitRPG/habitrpg-shared#168

- [x] https://github.com/HabitRPG/habitrpg/blob/develop/src/models/user.js#L347-L351

**Do not merge yet.**