Is there a way to load a resource bundle from an XML file in Kotlin? getBundle() Works fine with properties files, not so much XML. NOT Android.

I can kinda fake it until I make it by checking the locale and dynamically loading the XML as a properties file, but I’d prefer getBundle as that would handle a lot of that locale boilerplate for me. I cannot find anything on this that isn’t Android related.

submitted by /u/zellyman
[link] [comments]