Localization In React - Make Your Websites International | React Translations Tutorial (React-18n)

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • Welcome to your go-to tutorial on localizing React applications using React-i18next! 🌍🚀 Whether you're aiming to reach a global audience or just making your app accessible in multiple languages, this video has you covered.
    In this comprehensive guide, you'll learn:
    Why Localization Matters: Understand the importance of making your React applications multilingual and how it can significantly boost user engagement and market reach.
    Setting Up React-i18next: Step-by-step instructions to integrate the powerful React-i18next library into your React project.
    Basic to Advanced Concepts: From configuring the library to dynamically changing languages and handling complex formatting with plurals and variables.
    Practical Examples: Watch as we implement real-time language switching and localize both static and dynamic content in a sample React application.
    By the end, you’ll not only grasp the essentials but also master some advanced techniques in localizing React apps effectively. Perfect for developers of all skill levels who are looking to enhance their React applications with multi-language support. Don’t just make your apps functional-make them globally accessible!
    🚀 Learn ReactJS By Building 6 Projects: codedamn.com/learn/reactjs-pr...
    🐙 GraphQL Course: codedamn.com/learn/graphql-fo...
    Social
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Website: machadopedro.com
    Linkedin: / machadop1407
    Instagram: / pedro.fmachado_
    Github: github.com/machadop1407
    Business Email: pedro@pedrotech.co
    🌟 Gear / Hardware I Use and Recommend 🌟
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    💻 amzn.to/42kqFuM 💻 Monitor
    🖱️amzn.to/3C0ZhHb 🖱️ Mouse
    📷 amzn.to/3OHJvbM 📷 My Camera
    🎤 amzn.to/3oxSthj 🎤 My Microphone
    ⌨️ amzn.to/3oFPpj1 ⌨️ My Microphone
    ⚡ amzn.to/3MYMnzM ⚡ LED Lights In the Background
    Tags:
    - ReactJS Tutorial
    - ReactJS and MySQL
    - NodeJS Tutorial
    - API Tutorial
    ..........
    ♬ MUSIC ♬
    Artist: tubebackr
    Track: Chill With Me
    @tubebackr
    hypeddit.com/tubebackr/chillwithme-1
    .............
    TIMESTAMPS
    00:00 | Intro
    00:27 | Background to Localization
    02:16 | React i18 Next Library
    03:06 | Library Initialization
    05:46 | Writing Translations
    #reactjs #localization
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @VinciJeremy789
    @VinciJeremy789 2 หลายเดือนก่อน +3

    Thank you so much for what you did in past years.....💚

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

      Thanks for watching me all this years!!

  • @youcan4149
    @youcan4149 2 หลายเดือนก่อน +5

    The way you showed is manually. It's really hard to write for each and every word on the web application if the project is bigger in size. Is there anyway to automate or dynamic way?

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

      we can use google translate to translate it to any language

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

      I understand your point! I mention this in the video, companies do it manually because using something like google translate can lead to errors due to poor contextualization and personalized words. But you can indeed use translation through google translate. I mean, the browser itself auto translates for you if you click on the settings

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

      @@PedroTechnologies got it, thank you for the wonderful tutorial.

  • @ValeriiLutiy
    @ValeriiLutiy 2 หลายเดือนก่อน +4

    Dude, are you kidding me, I was watching localization tutorials yesterday and today you're releasing a video, are you following me?

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

    What theme/plugin are you using for your code's text colour?

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

    Omg finally someone good talked about it

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

      But please make a vid about it using nextjs, this won't help to much with react

  • @CodeYourLife-zx3et
    @CodeYourLife-zx3et 2 หลายเดือนก่อน

    Thank you @pedroTech, but can you please provide for us the React Native full course

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

    What about asking the user what language they would like to use from a select few options, storing it in a useState and passing it throughout the app with a useContext, and writing the translations using ternary operators?

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

    The way we do it we have objects containing all the labels for each page in two or more languages and user can change the language from a combobox, but it´s so much work to do all these labels and it´s really boring, but that´s the part of the game i guess.

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

    Thanks for this amazing lesson.

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

    Hi Pedro.

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

    ur just reading my mind at this point

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

    Recientemente use react-intl para una app de escritorio, cargar desde codigo/assets me ha servido muchisimo

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

    🎉👍🏻

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

    Pedro, Pedro, Pedro, Pe'

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

    Muito obrigado

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

    At least you're not looking for ISP and/or region, but browser settings. But the moment you link a country to a language, it's over for me and about 25% of the country I live in. It's also a major problem in Switzerland, Belgium and other multi-linguistic countries, not to mention expats and travelers.

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

    Tooo slow tutorial