FHIR Chat · FHIR Validation enables Localisation of Logs · implementers

Stream: implementers

Topic: FHIR Validation enables Localisation of Logs


view this post on Zulip Jan Maluche (Jul 14 2021 at 09:47):

Hello,
i am currently implementing a client application using the hapi fhir reference implementation. After everything is finished i wanted to include resource validation. Which works as expected. But i have a weird sideeffect. After including the packages needed for validation and the resources and sending the messages to the logger it tries to translate them to my system locale. This is failing in my logs with the following error

Attempting to localize message INV_FAILED, but no such equivalent message exists for the local de_DE

but opening the "SingleValidationMessage" with a debugger shows the correct localisationmessages.

My question is, how to disable the lookup, or how to fix the printing of the plain messages?


Last updated: Apr 12 2022 at 19:14 UTC