React Multi Language App - i18next Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2024

ความคิดเห็น • 203

  • @EmilyNilsen
    @EmilyNilsen 2 ปีที่แล้ว +24

    This is by far the most professional and practical video I have seen for front-end development. Everything worked. Thank you so much for your time, effort and flawlessly clear explanations.

  • @lardosian
    @lardosian 3 ปีที่แล้ว +8

    Localisation was my previous career, I mostly worked in audio recording voice over sessions and had 2 lead roles in Microsoft on xbox360 games. Was nice working with so many languages and people from all over the world, made good friends too.

    • @sureshmakwana8709
      @sureshmakwana8709 2 ปีที่แล้ว +1

      People getting error for flag icons do this while importing it in index.js
      flag-icons* instead of flag-icon.min.css
      So it should look like this
      import "flag-icon-css/css/flag-icons.min.css
      As Some deprecation issue has happened with this npm package.

    • @humbleperson1473
      @humbleperson1473 ปีที่แล้ว

      ​@@sureshmakwana8709 thanks bro, you solved my problem

  • @enoderbreite3615
    @enoderbreite3615 2 ปีที่แล้ว +6

    It's truly astounding how easy the internet makes learning these days. Thanks for the tutorial, my guy.

  • @amirreza-dev
    @amirreza-dev 3 ปีที่แล้ว +22

    Thank you so much for this incredible video, people like you makes programming beautiful and enjoyable
    This tutorial really helps me, thank you

  • @vmooscode9959
    @vmooscode9959 ปีที่แล้ว

    i know this is late, beside the core of this video i think i have answers for many quistions in react itself , truly from long time i didn' t see heavy technical video and in same time so exciting. thanks for being that much profissionl and honest. u saved me a week of figuring out how to localize my application.

  • @sureshmakwana8709
    @sureshmakwana8709 2 ปีที่แล้ว +2

    People getting error for flag icons do this while importing it in index.js
    flag-icons* instead of flag-icon.min.css
    So it should look like this
    import "flag-icon-css/css/flag-icons.min.css
    As Some deprecation issue has happened with this npm package.

  • @정주영-f1m
    @정주영-f1m 2 ปีที่แล้ว +3

    Hey, your lecture was the best among the lectures I've seen these days. It doesn't just teach you how to use it, but the lecture that understands how it works and applies it is so cool! I hit subscribe and like.

    • @i_dont_likevodka3062
      @i_dont_likevodka3062 2 ปีที่แล้ว

      안녕하세요. 외국인 프로그래머가 한국에서 직장을 구하는 것이 어려워요?

  • @fabianpena90
    @fabianpena90 3 ปีที่แล้ว +6

    This is absolutely amazing!!! this will help me a lot with my current job. You did an amazing job Muchas gracias!!!!!

  • @poppin_party
    @poppin_party ปีที่แล้ว +2

    Thank you so much, really need these types of videos that explain things and get right to the point.

  • @ahmadsalah1721
    @ahmadsalah1721 2 ปีที่แล้ว +1

    what a great tutorial❤, the best way to learn is by making the mistake and then correct it which is what you did there but in a smooth way.

  • @feelSmoothie
    @feelSmoothie 2 ปีที่แล้ว +1

    By far the most enjoying feeling following you through. Thanks for this awesome content which you provide for free.

  • @BasselAhmed-g9c
    @BasselAhmed-g9c 9 หลายเดือนก่อน +1

    thanks a lot man for your efforts, it really helped me

  • @swedishpowerclub
    @swedishpowerclub ปีที่แล้ว

    Nice tutorials, I'm new to react but with your description I'm learning a lot.
    how can you insert html code into the en.json file, eg line break tag

  • @crakton
    @crakton ปีที่แล้ว +2

    If I may ask. How do I get this done by translating the content of an ecommerce page dynamically without having a saved locale JSON files for all the language supported by the ecommerce website. Because I understand that for each content translated there is an equivalent JSON file with the translation saved in the project public directory. Must I have to have all the locale JSON files for all the text contents in the website? Is there a dynamic way to achieve this like the way google page translator?

  • @alexandreluiz6182
    @alexandreluiz6182 ปีที่แล้ว

    Awesome tutorial. I did it in typescript and had to do some modification, but it worked perfectly. :)

    • @rezamohammadi1210
      @rezamohammadi1210 5 หลายเดือนก่อน +1

      Hello, How you did it,?
      I really need your help please

  • @VishalKumar-fw5fz
    @VishalKumar-fw5fz 3 ปีที่แล้ว +1

    I am currently watching your MERNG series. I will watch it after finishing it.
    By the way, great work.

    • @Classsed
      @Classsed  3 ปีที่แล้ว

      Thank you :))

  • @akbarjonabdulkhamidov9752
    @akbarjonabdulkhamidov9752 2 ปีที่แล้ว +1

    like everyone else i also want to say thank you for spending your time on creating this video. i learned much from this video and like your logical thinking most hence subscribed also!

  • @trericpu
    @trericpu 2 ปีที่แล้ว +3

    Hello, thank you for this amazing tutorial. I am facing a situation that after refreshing the browser, the language setting is not persistent with a specific language. I checked my setting for order key in the detection object, the first priority is "cookie".

    • @pascha4527
      @pascha4527 2 ปีที่แล้ว

      Maybe you've setup your browser to not hold cookies?

  • @sinaolfati6599
    @sinaolfati6599 2 ปีที่แล้ว +1

    Bro, you just killed it!

  • @captainsaleh3444
    @captainsaleh3444 10 หลายเดือนก่อน +1

    the minimum thing I can say it's really awesome

  • @mwangimaina1687
    @mwangimaina1687 2 ปีที่แล้ว

    Hi ,,You are a saviour man.Nowadays i dont see you.We have missed your tutorials

  • @marcelobrigato
    @marcelobrigato 2 ปีที่แล้ว

    Awesome video!! Thank you and a shout out from Brazil!! 😁

  • @adeyemosamuel2966
    @adeyemosamuel2966 2 ปีที่แล้ว

    Best tutorial on React i18next. Thanks for your time in providing this explanation.

  • @mingchi21
    @mingchi21 ปีที่แล้ว

    Hi, thanks for your great video. How do I use ReactElement in translate string? For example: Hello {{val}}, nice to meet you!

  • @bahromkhujasultankhodjayev4256
    @bahromkhujasultankhodjayev4256 3 ปีที่แล้ว +1

    how can I iterate array elements to unrodered list with map
    {t("text", { returnObject: true }).map((text, country_code) => (
    {text}
    ))}
    when I do this it gives me t(...).map is not a function

  • @croanna_
    @croanna_ ปีที่แล้ว

    Great tutorial, easy to follow and everything works, thanks man 😃

  • @valentina2777
    @valentina2777 2 ปีที่แล้ว

    thank you soooo much that was incredibly helpful!

  • @pablopenia
    @pablopenia 2 ปีที่แล้ว

    I've already did the localization by my own, I'm here to spy your switcher. LOL . thx for the teaching

  • @ABsazerNer
    @ABsazerNer 3 ปีที่แล้ว +2

    I searched a lot of videos, but this one is definitely the best, your arabic is pretty correct by the way😉

  • @dexcoder1207
    @dexcoder1207 3 ปีที่แล้ว

    i search everything but i did not find something like this. Thank you so much

  • @loverphp5605
    @loverphp5605 2 ปีที่แล้ว +1

    thanks for this nice tutorial i have notice the when change language through the path it is conflicting with react-router-dom

  • @Cosmos_Studio
    @Cosmos_Studio 3 ปีที่แล้ว +1

    Very good but when you change language with selector it doesn't automatically change de fr, en, in the path with the domain. Any idea to do that ?

  • @chrismdavis2009
    @chrismdavis2009 ปีที่แล้ว

    This is a great video, however I am running into issues deploying localization using your technique. I am using Vite with Reactjs and when I go to deploy this project, it seems to not be able to find the translation.json files. Am I missing something?

  • @mohamedhany2539
    @mohamedhany2539 2 ปีที่แล้ว

    Wow man!
    seriously what i have looking for AIO video thanks

  • @warzonehacks4915
    @warzonehacks4915 ปีที่แล้ว

    I just can not believe that those big websites that have multi languages are using this technique, that would take years and a lot of coding to do it

  • @RajnishKumar-hi4lj
    @RajnishKumar-hi4lj ปีที่แล้ว

    Absolutely beautiful tutorial!!!

  • @dorin6880
    @dorin6880 2 ปีที่แล้ว +1

    great tutorial, thx a bunch!

  • @mojeedgeorge7355
    @mojeedgeorge7355 2 ปีที่แล้ว +1

    please can someone tell me how to link it to a specific page

  • @lofisongs9011
    @lofisongs9011 2 ปีที่แล้ว

    If i just finished my work and save, the format is .softp , is tNice tutorials type of file compatible with other DAW? like ableton or LogicProX for

  • @gigakvachakhia4777
    @gigakvachakhia4777 3 ปีที่แล้ว

    what could be better after the typeorm series . . . this guy rocks

  • @ambitionhut
    @ambitionhut 2 ปีที่แล้ว

    i get the issue of the button saying [object Object]English and again for the other language. Also the flag icon thing doesn't seem to work.

  • @usamnetabdu9506
    @usamnetabdu9506 3 ปีที่แล้ว +1

    ​you did a really good job great content!

    • @Classsed
      @Classsed  3 ปีที่แล้ว

      Thanks :D

  • @paulnjikamdoum9219
    @paulnjikamdoum9219 2 ปีที่แล้ว

    Thank you so much please i want to know if in production the server will able to read the loadPath ("the path where our json files are stored in the public folder ")? and thanks again

  • @lovelyjain7839
    @lovelyjain7839 2 ปีที่แล้ว

    Does this backend configuration loadPath /assets/locales.... will work when my application is in beta or prod environment?

  • @nikhilmandlik6300
    @nikhilmandlik6300 2 ปีที่แล้ว

    very nice, one thing I am wondering is how would you deal with number translation
    eg: new Intl.NumberFormat('ar-EG').format(123) -> '١٢٣'

  • @humanleft7240
    @humanleft7240 2 ปีที่แล้ว

    this is a great tutorial sir, thank you so much hope you make another video saving the state in redux toolkit reducer

  • @davidbelle5176
    @davidbelle5176 ปีที่แล้ว

    Thank you! Very professional

  • @tube-rp1nb
    @tube-rp1nb 2 ปีที่แล้ว

    thank you.this is the best tutorial i have got

  • @user-ov1ps7go4m
    @user-ov1ps7go4m 3 ปีที่แล้ว

    Hello!. I apologize, however, when I tried to do the document.querySelector('html') and also put "fr" inside index.html it still did not change into french

  • @timtech9361
    @timtech9361 2 ปีที่แล้ว

    I do not understand the remote point of this library. If you need to translate manually, what is the exact point of using this?

  • @bbbilal
    @bbbilal 2 ปีที่แล้ว

    Every time I select a translation it doesn't automatically refresh the app. I have to manually refresh the app to get an RTL look. Any solution for this?
    Also, what if I want to print the current language name with the globe icon? And remove from the list of available languages? This removes the hassle of disabling it and will also look good as the empty globe doesn't represent what language the app is currently loading

  • @BalaramGayen
    @BalaramGayen ปีที่แล้ว

    Great tutorial. Thanks man

  • @yuiyukinoshita6604
    @yuiyukinoshita6604 2 ปีที่แล้ว

    Bro te amo, this was exactly what I needed!!

  • @ambitionhut
    @ambitionhut 2 ปีที่แล้ว

    im getting an error on the second line:
    const currentLanguageCode = cookies.get('i18next') || 'en'
    const currentLanguage = languages.find(1 => 1.code === currentLanguageCode)
    const { t, i18n } = useTranslation();
    this one: const currentLanguage = languages.find(1 => 1.code === currentLanguageCode)
    It's red underline on => and the last )

  • @frontend_ko
    @frontend_ko ปีที่แล้ว

    thanks, fully understood

  • @emmanuelakogwu720
    @emmanuelakogwu720 3 ปีที่แล้ว +1

    Great video, please how do I implement this with a blog site that is getting content dynamically from an API?

  • @ivanbond123
    @ivanbond123 2 ปีที่แล้ว +1

    which vs code theme do you use?

  • @LabhamJain
    @LabhamJain 2 ปีที่แล้ว

    Which gpu did you used to record this video?

  • @ujjalzaman2722
    @ujjalzaman2722 3 ปีที่แล้ว

    Awesome, thank you so much for this

  • @MrMubashirAli
    @MrMubashirAli 3 ปีที่แล้ว

    Awesome! Thank you so much ❤️

  • @fatimaa-va361
    @fatimaa-va361 3 ปีที่แล้ว

    the best tutorial! thanks you so much)

  • @mazui7626
    @mazui7626 2 ปีที่แล้ว

    Everything works at its best!!

  • @fellypsantos_
    @fellypsantos_ 3 ปีที่แล้ว

    Lifesaver! great content man, keep going! +1 sub

  • @vladvoloshenko5701
    @vladvoloshenko5701 ปีที่แล้ว

    someone help pls)
    HttpApi not working, I'm getting keys of values, but the key is normal just like that :
    {
    "mainPage_title": "some text"
    }
    and i see on the page only mainPage_title when using httpApi

  • @khaledbadr6681
    @khaledbadr6681 3 ปีที่แล้ว

    awesome ! thanks for the tutorial

  • @gabrielfono844
    @gabrielfono844 ปีที่แล้ว

    this is great
    but my react app has over 200 articles and that way on translate react app is good for small scale like text and paragraph.
    if you have over 200 articles, you want to things to be dynamically translate without having to do anything.
    do you think there are another way to do it sir
    I really love this video but I need to find a way to translate my 200 articles from english to french, spanish and arabic.
    thanks

  • @aishwaryathakare4408
    @aishwaryathakare4408 ปีที่แล้ว

    I'm getting only keys from translation.json files and not the values. Also, while trying to access a object from json file, it's giving me an error saying missing key en translation heading heading

  • @MegaSrulik
    @MegaSrulik 2 ปีที่แล้ว

    Thanks bro, very good and important tuturial

  • @carlosalrofre
    @carlosalrofre 3 ปีที่แล้ว

    amazing tutorial! thank you

  • @shahjahan12003
    @shahjahan12003 3 ปีที่แล้ว +1

    Very nice explanation.

  • @halilrodoplu5043
    @halilrodoplu5043 11 หลายเดือนก่อน

    that was amazing tutorial thx for your guide and help

  • @Alireza-kw6fj
    @Alireza-kw6fj ปีที่แล้ว

    Great video, hope you back TH-cam soon

  • @ichoter8163
    @ichoter8163 2 ปีที่แล้ว

    Will be following

  • @pasangyonjan007
    @pasangyonjan007 2 ปีที่แล้ว

    What computer should i use?

  • @alcacademy_it
    @alcacademy_it 2 ปีที่แล้ว

    Thank you for such a helpful information

  • @MrSpiftire
    @MrSpiftire 3 ปีที่แล้ว

    Very informative and to the point🚀

  • @muhammadufo6023
    @muhammadufo6023 2 ปีที่แล้ว

    so useful thank you ❤

  • @doaasolaiman2267
    @doaasolaiman2267 2 หลายเดือนก่อน

    Unfortunately all tutorials are only about translating a website of one single sentence and people are so happy with it. None explains this on full websites of multiple pages.

  • @GVal98
    @GVal98 3 ปีที่แล้ว

    Thanks for the video. This is the best i18next tutorial on TH-cam

  • @traianpopescu3684
    @traianpopescu3684 3 ปีที่แล้ว

    Very useful ! Does it remain after page refresh or another component render?

  • @juhandvan
    @juhandvan 3 ปีที่แล้ว

    You did a really good job great content ! Keep it up, please

    • @Classsed
      @Classsed  3 ปีที่แล้ว

      I will do, thank you

  • @hoquang1386
    @hoquang1386 3 ปีที่แล้ว

    thanks a ton!

  • @danielmolkandov3193
    @danielmolkandov3193 ปีที่แล้ว

    Thank you really helped

  • @walid2559
    @walid2559 3 ปีที่แล้ว

    Prefect, Thank you so much

  • @tamccaedit
    @tamccaedit 2 ปีที่แล้ว

    To download soft soft is the download free or do u have to pay for it?

  • @herbertk9266
    @herbertk9266 3 ปีที่แล้ว

    Thanks Bro much waited for

    • @Classsed
      @Classsed  3 ปีที่แล้ว

      no problem bro

  • @paidninjas
    @paidninjas 3 ปีที่แล้ว

    Thank you very much. 🙇. your tutorial helps me a lot

  • @hindbensafi4646
    @hindbensafi4646 2 ปีที่แล้ว

    It was just an awesome video .... thanks a lot !

  • @Charles-px5hx
    @Charles-px5hx 2 ปีที่แล้ว

    Thank you vm !

  • @barisballi70
    @barisballi70 2 ปีที่แล้ว

    Amazing tutorial thx a lot

  • @abdulmlaikalomayri727
    @abdulmlaikalomayri727 2 ปีที่แล้ว

    Great Content, Thanks.

  • @anouardhahri
    @anouardhahri 2 ปีที่แล้ว

    thank you for the tutorial 👍

  • @Dzirmal
    @Dzirmal 2 ปีที่แล้ว

    Great and pro job. Thanks for you hard work.

  • @theperfectionist3924
    @theperfectionist3924 2 ปีที่แล้ว

    open GMS window tNice tutorialng, look at blue screen on left, look at it's bottom right corner where for you it might say "Aggressive TE". click the

  • @MaksymMinenko
    @MaksymMinenko 3 ปีที่แล้ว

    Special thanks for the clean-cra! ;)

  • @aliham2894
    @aliham2894 3 ปีที่แล้ว

    Thanks a lot it was really helpful

  • @m-qz2mi
    @m-qz2mi ปีที่แล้ว

    you are perfect . the most useful video I have seen on TH-cam

  • @MaksymMinenko
    @MaksymMinenko 3 ปีที่แล้ว

    With all these autodetection features and separate json files the translation process became noticeably slower!

    • @Classsed
      @Classsed  3 ปีที่แล้ว

      interesting, I didnt experience that, try changing the order / removing or adding detection factors

  • @arfinarif2798
    @arfinarif2798 9 หลายเดือนก่อน

    thank you. You saved my life

  • @ankitdalasaniya2463
    @ankitdalasaniya2463 3 ปีที่แล้ว

    Great Work Bro...You are awesome..