Test configuration missing: messages: basename: i18n/messages
See original GitHub issueGenerated test configuration src/test/resources/config/application.yml
is missing settings for messages like in the generated src/main/resources/config/application.yml
what causes MessageResource
injected in unit tests to be empty.
The problem is in https://github.com/jhipster/generator-jhipster/blob/master/generators/server/templates/src/test/resources/config/_application.yml which is missing following:
messages:
basename: i18n/messages
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
No message found under code 'welcome' for locale 'en_US ...
Spring i18n: NoSuchMessageException: No message found under code 'welcome' for locale 'en_US' · 1. It is due to the properties files cannot be ......
Read more >Spring Boot internationalization i18n: step-by-step with ...
As you can see, Spring Boot picks the base name from a Spring property named spring.messages.basename , or in the absence of this, ......
Read more >Internationalization in Spring Boot | Java Development Journal
Introduction to internationalization in Spring Boot. ... Default locale file will name as messages.properties and files for other locales ...
Read more >TranslationCheck (checkstyle 10.5.0 API)
Specify Base name of resource bundles which contain message resources. It helps the check to distinguish config and localization resources. requiredTranslations.
Read more >Internationalisation (i18n) with Angular and Java Spring in ...
The problem. This article will be exploring the process of adding i18n to a java Spring Boot and Angular application, as such, we...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@deepu105 no, I haven’t cloned the project and for this very small change it is not worth doing it.
Im not talking about any ones experience here and I dont care to be frank. I was talking about attitude and I have made my point so lets stop the discussion so we dont waste any ones time further.
Sorry Julien.
Thanks & regards, Deepu
On 2 Mar 2017 2:21 p.m., “Julien Dubois” notifications@github.com wrote: