Skip to content

Commit 861589d

Browse files
updated
1 parent 187eeb9 commit 861589d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,12 @@ or in `application.properties` as follows
314314
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration
315315
```
316316

317-
Specify message source bundles as follows. Make sure to include `i18/problems` bundled in the library, as it
317+
Specify message source bundles as follows. Make sure to include `i18n/problems` bundled in the library, as it
318318
has default messages for certain exception. And it should be last in the list of `basenames`,
319319
so that it has lowest priority and any default messages coming from `problems.properties` can be overridden
320320
by specifying the property with different value in application's `errors.properties`
321321
```properties
322-
spring.messages.basename=i18n/errors,i18/problems
322+
spring.messages.basename=i18n/errors,i18n/problems
323323
spring.messages.use-code-as-default-message=true
324324
```
325325
if `use-code-as-default-message` is set to `false` and the message is not found in any of the `properties` file

0 commit comments

Comments
 (0)