Get user language preference
GET/company/users/lang
Returns the preferred language configured by the authenticated user.
Objective
Allow the application to know the user's language to personalize the interface and content.
Use Cases
- Display the interface in the correct language
- Load translated content
- Send emails in the preferred language
Authentication
- Requires a valid JWT (middleware m.isLoged)
Supported Languages
- es (Spanish)
- en (English)
- fr (French)
- de (German)
Request
Responses
- 200
- 401
User's current language
Unauthorized. Possible causes:
- Invalid or expired JWT token
- User lacks permissions