-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
Description
Describe the bug
I wanted my API to send default error messages in french on auth login when the user, associated with identifier and password sent, is not found or blocked.
After having strapi configured (https://strapi.io/documentation/3.0.0-alpha.x/configurations/configurations.html#language) is doesn't worked.
Steps to reproduce the behavior
- Go to ./config/language.json.
- Change the language.json defaultLocale with 'fr'
- Call the API with a POST request on URL "localhost:1337/auth/local" with identifier and password in body.
- Get the error message in english
Expected behavior
The error message should be in the locale language parameter in ./config/language.json
System
- Node.js version: v10.16.3
- NPM version: 6.9.0
- Strapi version: 3.0.0-beta.16.5
- Database: sqlite3 in .tmp/data.db
- Operating system: Windows 10

