How I can manage multilanguage in #script pages?

How I can manage multilanguage in #script pages?

Gianmaria

There isn’t any explicit support for multiple languages, how you handle it is up to you, but my preference it to treat it like anything else that needs to be substituted, e.g. call your own method with the default language text (e.g. English) and have the method look up an index of translated text to return the matching translation.