watchdog
watchdog copied to clipboard
Load correct localized messages.properties for CheckStyle
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().
How is this affecting our current plans?
This is not blocking right now, but an enhancement for later. It mostly requires investigation, as I suspect we already deal with this case.