i18n
translateable things:
-
blockly Component params, like
Button.textButtonPanel.infoTextSpan.textExternalMapAppButton.labelContentElement_List.subtitleTag -
Database sheets
flexible Cell Input Modal?multiple columns -
chat messages
quick poc:['Hallo', 'Hello'][api.langIndex]
also
-
centralized definition which languages -
lang switch blockly component -
nicer lang switch blockly component -
frontend display localization (not messages)
html[lang="en"] body *[lang!="en"] { display: none }"static" strings in blockly componentsdynamic strings from sheets almost everything reactive
-
☐ any hardcoded stringstouch when needed -
store language in a user var -
inject it into chat api -
provide chat api helpers / shorthand methods sendMessageLocalized("Hallo", "Hello") -
docs/guide