React Multi Language App - i18next Tutorial with React JS

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

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

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

    🔴 Get my Complete Frontend Interview Prep course - roadsidecoder.com/course-details
    🧑‍💻 Source Code - github.com/piyush-eon/i18next-tutorial-yt
    ➡ Book an Interview Preparation call with me ( 20% OFF for limited time ) - topmate.io/roadsidecoder

  • @nicatqarayev2348
    @nicatqarayev2348 9 หลายเดือนก่อน +4

    So how do they translate the data coming from the API? Most of the time, words like .../en .../fr .../hi are added to the end of the url. Is this because these words are added to the API endpoints? In other words, when a request is made to /en, English data is received, and when a request is made to /fr, French data is received.

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

      If it is done as I think, data should be added in 3 languages in the dashboard, right? Can you explain how these things are done in real life?

  • @anav.r.2532
    @anav.r.2532 หลายเดือนก่อน +2

    On all accounts, we says true, there is no other tutorial like this one in TH-cam.

  • @shivankchaudhary6107
    @shivankchaudhary6107 8 หลายเดือนก่อน +7

    One of the most thorough explanations based on actual project scenarios. Very helpful, buddy. Keep it up.

  • @SINGH-jp6ju
    @SINGH-jp6ju 7 หลายเดือนก่อน +3

    So, if I have a large website, I will have to put in a lot of effort to translate each line of content into a different language. So, can you suggest any other approach that is simple and converts my full website language into the required language?

    • @VinayakPhal
      @VinayakPhal 4 หลายเดือนก่อน

      Use some translation tools which can automatically translate using service like Google translate. And all the best with translated locale.

    • @VinayakPhal
      @VinayakPhal 4 หลายเดือนก่อน

      Or you can give to any ai tool to translate it into another language.

  • @pranupranav5563
    @pranupranav5563 2 หลายเดือนก่อน +1

    Translator❌ Hashmap✅

  • @Ganesh-ld8ph
    @Ganesh-ld8ph 9 หลายเดือนก่อน +3

    2000 years latter 😂

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

    This is something which we all should do irrespective of project requirements. Even if we don’t need internationalisation in our app, we should define existing texts in this manner only.
    It will benefit in scaling the project

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

    Hello bhaiya I create a video for top 10 best youtube channel for web development. And also mention your Channel name. And upload on youtube and Instagram. Because you are best educator for beginners. ❤ thanks bhaiya 🙏 .
    Programming with satyam - my channel name

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

    i18next configuation : "6:08"
    same key for same content but in different languages : "8:00"
    useTanslation hook with key : "9:07" translating object : "16:56"
    changing data dynamically coming in json format from backend - interpolation {{channel}} : "20:22"
    apply styling dynamic data Trans : "22:04"
    different languages translation in different files : "25:25"
    task : make translation json file for different pages : ""

  • @devascript
    @devascript 5 วันที่ผ่านมา

    You are the best (AADMI) on the entire youtube 🧡

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

    Continue DSA series

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

    I LOVE YOUR TUTORIALS!!! Straight to the points, clean, clear and updated (let alone you always have cherries on top)!!! Thanks a million!!!

    • @RoadsideCoder
      @RoadsideCoder  5 หลายเดือนก่อน

      Thanks man! Appreciated.

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

    bro using this we can only translate static texts?

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

    thank a lot, guy, it will helpful a lot.

  • @mostafizurrahmanchowdhury9018
    @mostafizurrahmanchowdhury9018 3 หลายเดือนก่อน

    Is it work for also next.js?

  • @Mitalikhandelwal-y1f
    @Mitalikhandelwal-y1f 7 หลายเดือนก่อน +1

    quite descriptive and useful video ... keep it up💛

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

    not for large websites

  • @rajeevnathverma7877
    @rajeevnathverma7877 20 วันที่ผ่านมา

    How they read data from public folder for en, fr and hi language without change any settings?

  • @growwithdesign
    @growwithdesign 7 หลายเดือนก่อน

    Hello. Thankyou for making this tutorial. I have a question. My components have api file where I am storing information for all my grid child elements. Now, how do I assign language translations to them inside my api file?

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

    There is something you overlooked, I can't believe nobody else noticed; when using language detector, browsers don't return language in two-letter format, they return something like en-US, so you can't have your languages' names just with two letters, you gotta use the full identification code.

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

    this is a masterpiece! 💥

  • @y3h1_
    @y3h1_ 7 หลายเดือนก่อน +1

    I love these tutorials. Clean and precise. Thank you

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

    So i need to translate every sentence and word in my app even if it's freaking big?

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

      that's how every app does it

  • @vkchauhangoldy1068
    @vkchauhangoldy1068 5 หลายเดือนก่อน

    @RoadsideCoder on page refresh language is changing to en in local storage

  • @ishowspeed_highlights-j8q
    @ishowspeed_highlights-j8q 5 หลายเดือนก่อน

    Wait, do I have to rewrite all the translations content manually?

    • @RoadsideCoder
      @RoadsideCoder  5 หลายเดือนก่อน

      Yes, all websites do

  • @MohamedAymanpro
    @MohamedAymanpro 5 หลายเดือนก่อน

    Peace be upon you. I am a user of the i18next website on a site like this, and I am on the page work and i'm creating data in a js spicial file , not a json file, and the data viewer is on the page work with map function. I want to translate the file containing the data. I don't know how to connect it, and there's nothing in it that explains what I mean by it. All that is available is that it translates a sentence or two, not the entire file into a single file. please help.

  • @aashish_stanl
    @aashish_stanl 7 หลายเดือนก่อน

    how many years of experience do you have brother?

  • @ArshadKhan-vn9sn
    @ArshadKhan-vn9sn 3 หลายเดือนก่อน

    Very nice but for large content website we need to add all translation in our react js do we have any library so that atleast 60-70 percent of translation it can handle and for some content which is not getting translated we can translate it?

  • @growwithdesign
    @growwithdesign 7 หลายเดือนก่อน

    Also, for your future videos, for arabic - it's not just the language, but the layout also changes RTL. Please demonstrate how can we also change the layout for RTL.

    • @RoadsideCoder
      @RoadsideCoder  7 หลายเดือนก่อน

      I have demonstrated RTL as well

  • @Jacky-rc6mu
    @Jacky-rc6mu 2 หลายเดือนก่อน

    best tutorial ever watch

  • @kondraramesh
    @kondraramesh 7 หลายเดือนก่อน

    please do video on auto generate translation.json using npm package

  • @OzzinhoTV
    @OzzinhoTV 4 หลายเดือนก่อน

    My maaaan! You just won a new suscriber!!!! thx

  • @xtech5881
    @xtech5881 8 หลายเดือนก่อน

    This is static data..what about real world scenario like..i have multiple components..booking page..list page and all..then how can we do..this to all component..

    • @manekedark
      @manekedark 8 หลายเดือนก่อน +1

      you need to use async/await or RxJS

  • @pupil_1
    @pupil_1 8 หลายเดือนก่อน

    can you make one more video , like by using API instead of storing in forntend

  • @HigherStudyAspirant
    @HigherStudyAspirant 7 หลายเดือนก่อน

    what if we get the translation from backend API, how to map in that case?

  • @idontknowWhatTosay8
    @idontknowWhatTosay8 7 หลายเดือนก่อน

    good tut but still didnt got how to translate words from api..

  • @MrColins710
    @MrColins710 8 หลายเดือนก่อน

    The best lessons ever. Greetings from Ukraine.

  • @RinguRajaTemp
    @RinguRajaTemp 6 หลายเดือนก่อน

    Github repo link please

    • @RoadsideCoder
      @RoadsideCoder  6 หลายเดือนก่อน

      In the description

  • @houriayaseen5487
    @houriayaseen5487 8 หลายเดือนก่อน

    I have subscriped just cuz of the awesome explanation 🔥

  • @joneugster4041
    @joneugster4041 6 หลายเดือนก่อน

    Thank you for this tutorial. I had 2-3 shots at setting up i18next correctly, but always failed until I found your video!

  • @asghani2143
    @asghani2143 8 หลายเดือนก่อน

    I am getting error text content does not match server-rendered html. It happened when I tried to make separate files for different components

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

    I am using the same interpolation technique, to chnage the value entered in the Input to be transalted to french but it's not converiting if someone can help I can share my code

  • @akashpatil9043
    @akashpatil9043 8 หลายเดือนก่อน

    Bhai leken agar Data API se aaraha horo usko kaise change karenge ?🤔

  • @rmrm-nk1ii
    @rmrm-nk1ii 9 หลายเดือนก่อน

    👏

  • @_TamannaTahsin_A
    @_TamannaTahsin_A 4 หลายเดือนก่อน

    handsdown the best tutorial

  • @olegpupkin6892
    @olegpupkin6892 4 หลายเดือนก่อน

    Great!!! Thats what i was searching for!

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

    make a video on polyfill useState hook From Scratch

  • @luchonieves
    @luchonieves 4 หลายเดือนก่อน

    What a great video brother, I understood everything thanks to you! Keep it up 😎

    • @RoadsideCoder
      @RoadsideCoder  4 หลายเดือนก่อน +1

      Glad to hear it!

  • @muhammadabozaid8319
    @muhammadabozaid8319 6 หลายเดือนก่อน

    very good 😃

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

    Good day greetings

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

    When Change the language, How to change also time in our website..

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

      Check this out - www.i18next.com/translation-function/formatting

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

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

    nice video sir

  • @giorgikiladze1151
    @giorgikiladze1151 7 หลายเดือนก่อน

    thank you, tutorial was helpful

  • @jaroslavfilo4420
    @jaroslavfilo4420 3 หลายเดือนก่อน

    Thank you very much. You helped me a LOT!

    • @RoadsideCoder
      @RoadsideCoder  3 หลายเดือนก่อน

      You are welcome!

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

    An informative tut video

  • @harratabdelmalek2062
    @harratabdelmalek2062 7 หลายเดือนก่อน

    I love u man ❤

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

    I am using the usetranslation with in a usestate hook and it is not working . Can you suggest anything reg this

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

      can you show me your code

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

    Superb video ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

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

    Bhai be lated happy birthday, or mai yahi dekhna cahata tha apne product me use karne ke leye, dashboard ke leye foreign clients ke leye 😊. Thanx bro

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

    Thanks for sharing...

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

    Amazing Thanks

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

    U always come up with new content

  • @jacquelynecarmen
    @jacquelynecarmen 8 หลายเดือนก่อน

    so we need to write our whole app in multi lang?

  • @ShivamKumar-xv5ch
    @ShivamKumar-xv5ch 9 หลายเดือนก่อน

    company m yhi krna h talk about timing

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

      Hahah great! Dont forget to share 🤓

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

    Thanks for sharing.

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

    main ye already use kiya hoon apne project me😅

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

    Best Chanel for frontend developers

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

    Bhai leken iske state ko mamage kaise karke rakhe, agar page ko koi reload kare to ?

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

      i18n will automatically persist the state by using localstorage

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

      Thanx bhai sone me suhaga bhai 😁

  • @Ankit-01-01
    @Ankit-01-01 9 หลายเดือนก่อน

    Name the extension to auto import react components

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

      ES7+ React/Redux/React-Native snippets

    • @Ankit-01-01
      @Ankit-01-01 9 หลายเดือนก่อน

      @@RoadsideCoder not working

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

      @@Ankit-01-01 just search it in extensions tab of VS Code

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

    Hi bro

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

    When Change the language, How to change also time in our website..

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

      Generally, We don’t do that in our application. We take the time from browsers which takes it from the Operating system.
      Timezone should be as per users local time and hence we avoid changing it

  • @sayamrahmanrobin2969
    @sayamrahmanrobin2969 6 หลายเดือนก่อน

    BEST

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

    LinkedIn id :

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

      www.linkedin.com/in/piyush-eon/