Even better translation is done by ChatGPT these days. And the advance is you can just give him a json file with all the texts and request it back in different language
So the data view load the json as: {{browser1.language}}.json that turns into: es.json/en.json
And all static content are loaded from the data view component.
As I remember, all was pretty good.
For dynamic data, that's another thing, maybe you can tell us more about how it'll be stored
We use i18n but not that easy to work with yet + need to look at dynamic data in the coming weeks.
For example error notifications... Current plan (haven't built a POC yet) is to return a key like error_validation and then use i18n to transltae that to different languages.
Same with success notifications: success_updated: "You've saved your settings!".
If this does work, then there's one more caveat which would be nice to fix (input welcome!):
I like my feedback to users to be as specific as possible.
In example, user saves a form that inserts a 'lecture'. Then I'd like to show success_inserted: "You've created a new lecture"
But then I'd have to pass eomthing like success_inserted_lecture
Which would cause the translation file to be quite a lot bigger.
Then add this class in a div tag wherever you want on your page - I usually put it at the top right. It appears as a button.
class="col-12" id="google_translate_element" align="right"
@franse thanks buddy, very nice suggestion!
I think I have read about it but haven't paid attention.
*I apologize... I don't think that dynamic content will need translation!
@kath haven't used it (I have just read about it from @JonL but wasn't intrested about it and didn't pay attention)
But I really believe that I prefer something paid and taken care for well so I can spend time on more important things. Thank a lot anyway mate!
@umadmin I think this a good one... I'll explore it in detail when the time comes. Thanks my friend!!
@TMR@jpena@Hyperbytes are you guys talking about the same thing?
I will give it a try to see
But I really want the rendered content to be tracked and indexed from google or whichever engine in each country!! Is that the case?
@George Thanks for confirming that one...
I left your suggestion last because I think that ChatGPT will be also a way to go for the next topic that I'm gonna post in here!
It has been a lifesaver! Those who speak the languages say it is spot on. Give it a try and then allow someone who is well versed read it. You will be amazed at their opinion of the translation.