What's the stance on label/i18n files? 1. Type-sa...
# javascript
c
What's the stance on label/i18n files? 1. Type-safe (each label is a Kotlin variable) → won't that cause bundle to increase quite a bit? 2. Just strings → are there IDE plugins to facilitate it?
e
I use a technique similar to
vscode.l10n.t
in my Kotlin projects, since they end up in the same bundle. I use KSP to find out invocations of a specific function, and extract the literal string to a JSON file as a key-value pair.