When building REST services with Spring or Micronaut, I've a MessageSource to internationalize my responses.
But I did not find anything comparable in Quarkus. I created a REST service and want to return a message based on the user's / browsers language. How can I achieve this? Is there anything like a MessageSource?
public String i18n() {
return ????.getMessage('MY_KEY', MY_LOCALE);
}
Am I missing something here? Has Quarkus a completely different way for this? Or is it just not possible?
Thanks for your help, Daniel