watchdog icon indicating copy to clipboard operation
watchdog copied to clipboard

Load correct localized messages.properties for CheckStyle

Open TimvdLippe opened this issue 7 years ago • 2 comments

Reading through https://github.com/checkstyle/checkstyle/blob/489ce031e818f955a95c10d9f10668cb1b7b4b54/src/main/java/com/puppycrawl/tools/checkstyle/api/LocalizedMessage.java#L367-L377 showed that we actually need to pass in the Locale for the given bundle, to load the correct message. The Locale we should load is the Locale.getDefault().

TimvdLippe avatar Apr 04 '18 15:04 TimvdLippe

How is this affecting our current plans?

Inventitech avatar Apr 26 '18 15:04 Inventitech

This is not blocking right now, but an enhancement for later. It mostly requires investigation, as I suspect we already deal with this case.

TimvdLippe avatar Apr 30 '18 11:04 TimvdLippe