I’m looking at setting up a system to manage data for users across multiple countries:
- I thought of using locale to define country and language e.g. Russia could have English & Russian (ru_en, ru_ru)
- Enabling the Cuba app locale settings, availableLocales & localeSelectVisible, to allow me to identify which country data (by proxy of the locale) the user is after
The questions I have are:
- How could I retrieve data from the entities, etc. based on locale selected (at login) by the user?
- Users may need access to multiple countries, so how could I setup the permissions to define locale access?
Or should I really be extending the User entity where the business rules, etc that I need are more naturally / easily configured? If so, are there any docs you could point me at to get started.