Hi guys, I'd like to use l10n and i18n in my Kotli...
# javascript
h
Hi guys, I'd like to use l10n and i18n in my Kotlin/JS library / app. Is there anything you can recommend? Thanks!
t
h
Thanks @turansky. That makes sense. Do you also have a recommendation how to handle i18n resource bundles?
t
JSON for JS? But looks like it must be generated from common source
Do you have MPP project with different clients?
h
Yeah I think I'll start simple and put my i18n resources into a JSON file.
I'm working on a JS "only" lib: https://github.com/patternfly-kotlin/patternfly-fritz2 So no "common" source folder 😞
t
Flat structure will be more “common” 🙂
Like Java localization bundles
h
LGTM! Thanks @turansky!
🎉 1
r
I'm using gettext translations in KVision with
gettext.js
102 Views