For example by calling i18nResolver inside MessagesApi, which can delegate to the MessagesApi itself when not finding message via the YAML files.
Another option would be to drop i18nResolver and simply implement a MessagesApi that resolves YAML files.
For example by calling i18nResolver inside MessagesApi, which can delegate to the MessagesApi itself when not finding message via the YAML files. Another option would be to drop i18nResolver and simply implement a MessagesApi that resolves YAML files.