Creating Dynamic Multilingual Web Apps

Creating Dynamic Multilingual Web Apps

38,373 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Markus Eicher
Markus Eicher - 01.01.2023 15:02

Thank you Steve. I like this approach much more than using wordpress with weglot or other plugin solutions. Plugins and frameworks are great and there is nothing wrong with using them, but I want to keep it simple and I'm trying to stick with vanilla HTML, CSS and JavaScript at this point. I got to learn building sites with these basic tools. Always thankful for your valuable content, sir.

Ответить
SiAd ETX
SiAd ETX - 11.08.2022 02:21

i like your voice

Ответить
Abbas Buk
Abbas Buk - 20.04.2022 04:45

I enjoyed this video, thank you

Ответить
Daniel
Daniel - 01.02.2022 04:37

hi Thanks for making this video, I was wondering if it is possible to add a script that detect the browser language and change the html="______" to make it works well. Thanks

Ответить
Francis Guchie
Francis Guchie - 12.01.2022 09:56

This is the easiest every explanation i have watched in a good number of years. Everything you say seems to be coming from the tip of your fingers. Thanks

Ответить
No way U wont
No way U wont - 15.11.2021 12:16

mmm voice

Ответить
Srishti Singh
Srishti Singh - 23.09.2021 09:40

Hello Steve, can we use i18n with HTML and JS instead of react to achieve a similar result?

Ответить
lexer quine
lexer quine - 08.09.2021 20:03

i very much enjoyed your deep voice and the simplicity at show here but i can't find a situation where this tactic is useful other than some nav bar changes.

Ответить
Amr AlGendi
Amr AlGendi - 25.08.2021 07:44

If any1 can help I would really appreciate it:

When he used
if (key) {
}
Doesn’t the variable key return a string? Doesn’t the if conditions only accept boolean values?.. can sm1 please explain this

Ответить
John Doe
John Doe - 26.05.2021 21:45

how does it apply to whole website with multiple div and so much text? Your solution is perfect for small application. What there can be done to bigger websites except express solution or crowded langdata object?

Ответить
Foros
Foros - 10.04.2021 23:31

How to Dynamic Pages in Wix Multilingual????

Ответить
Matteo Tambussi
Matteo Tambussi - 08.02.2021 14:24

good for small content like Buttons etc, but in my case it's not helping for text like paragraphs that have their own formatting.

Ответить
Wildreamer
Wildreamer - 07.01.2021 18:17

thank you! it. works

Ответить
Тимофей Адамия
Тимофей Адамия - 06.01.2021 16:15

wow thats amazing

Ответить
Adrian Hutterer
Adrian Hutterer - 11.12.2020 17:58

Very nice Tutorial Steve! How do i change the language manually with something like a dropdown menu?

Ответить
JFelix Gonzalo
JFelix Gonzalo - 02.10.2020 23:28

hi! I tried to add Spanish language by changing "de" to "es" and "es-ES" but it doesn't work. My browser language is spanish and in the console appears like this. However, the content displayed is the english one, you know why? thanks!

Ответить
Lolo
Lolo - 25.05.2020 01:09

good and interesting video

Ответить
Tibi Éliás
Tibi Éliás - 12.05.2020 22:41

Thanks for awesome explanation! I never knew how this worked with pure HTML websites. Do you have an example for selecting locales using cookies? Or is there a better way than using cookies to handle user selected languages? I use i18n for my current NodeJS web apps. The only thing I need to provide is the JSON dictionaries and the serverside JavaScript that handles selects the language that should be shown to the user using a locale variable. I'm also using cookies to save default language for each user.

Now, obviously this makes hosting a bit too complex because the website requires a managed host for NodeJS each time I want to deploy a multi-language website.
Having the multi-language function in HTML and JavaScript would allow me to deploy the website without NodeJS on the backend.

Ответить
danielawg
danielawg - 09.05.2020 02:14

This is great!!
What if we want to navigate through a more complex JSON? Is there a way we can set the data-key to something like "sections.buttons.btn-yes" ?

Ответить
RAGHAV JHA
RAGHAV JHA - 10.03.2019 21:27

Hello from India !
Do we have any better approach to deal with languages in React web application ? Or will the same logic work their as well ?

Ответить
Wilker Soh
Wilker Soh - 10.03.2019 20:11

using documentElement is for support those old browers??

Ответить