Hey everyone !
I’m looking for the smartest way to translate my Weweb app
I browsed some forum topics but did not find any recent or “magic” solution
Anyone has a magic trick ? would be lovely
I thought about : exporting my code, give it to an LLM and make it bind all texts … then make a translate formula … i guess it could work but i’m note sure about the efficiency of it
Thanks !
Phil
Hi Philbert 
I don’t have the solution to your question for translating a lot of text.
But about the toggle between 2 languages you can use our native “languages” settings inside each page: Intro to pages | Documentation
Let’s see what other solution the community comes with.
Hey @AugustoSalles
Thanks for your answer.
I was just wondering if there is a quick way like if I was on 100% code in an IDE i could pass a page to an LLM and it would translate in 1 click … is that a limitation from weweb ? are you working on that ?
Other question about the alerts :
- I am still using the “Deprecated” weweb alert component → Should I change it ? (I’m happy with it for now and would be a lot of work to change)
- With the deprecated one, what is the best ? Like should I add some fields in the alert object (now this is it :
{
"icon": "icon-information-circle",
"title": "We’ve just released a new feature",
"ctaLink": "https://www.weweb.io/changelog",
"ctaText": "View changes",
"display": false,
"displayCta": true,
"description": "Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquid pariatur, ipsum similique veniam.",
"primaryColor": "#1D4ED8",
"secondaryColor": "#2563EB",
"backgroundColor": "#EFF6FF"
}
=> I could add “Title-fr“ and “Title-en“ and “description-en“ ? what is you guess here ?
AND if i move to the new popup-like alert, I can create properties for each …
Thanks a lot
Have a good one !