Currently, I am utilizing the lit-localization library (https://www.npmjs.com/package/lit-translate) to handle language changes within my components. However, all the available resources, including documentation and demos, seem to be geared towards TypeScript implementations.
If anyone has managed to achieve web component localization using lit-translate with JavaScript, I would appreciate hearing about your approach. Alternatively, if there is an alternative solution for localizing my web component, please share your insights.