Translation weweb and i18next o

Hey !

I was wondering if anyone has ever used : i18next : https://www.i18next.com/

To translate a weweb app …

Right now i need to translate my app but I have so many conditionnal texts and all that it’s so much of a hassle to use the weweb builtin traduction … any clues ?

Thanks !

Hi Philbert :waving_hand:

This looks like a comprehensive set of tools for translation, haven’t heard of anyone using it yet.

Most people end up indeed using our own built in translation system, if not another solution is to use your backend to help you with that as well:

hi @Philibert I am using i18n for my weweb project and its working fine. You can also use it somehow in combination with wewebs build in multi language principle

Hey @Peer,

Thanks for your answer.
Are you using both i18n and weweb builtin multilanguage ? You mean you use the Weweb multi language for switching between languages ?

Can I ask you a few quick technical questions?

  • Where did you load and init i18next? (Head, Footer, or page code?)

  • Did you use CDN scripts or imports? Which versions?

  • Where are your translations stored (inline JS, JSON files, or WeWeb collection)?

  • How do you call translations in WeWeb? (e.g. {{ t('key') }} or {{ i18next.t('key') }})

  • How do you switch language at runtime? (button, variable, function?)

  • Any issues with placeholders or dynamic content (inputs, text from DB)?

  • Any tips or gotchas from your setup?

Thanks a lot !

Hey there, did you ever get any answers to those questions, or did you figure it out? I’m at this stage and any info would be extremely helpful!

Thanks in advanced :slight_smile: