React multi-language tutorial

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024
  • In this video I will show you how to add multiple language support to your application using the i18next library
  • НаукаНаука

Комментарии • 36

  • @Sergiu-GeorgePop
    @Sergiu-GeorgePop 9 месяцев назад +98

    My left ear really enjoyed this video

  • @kristijanlazarev
    @kristijanlazarev 9 месяцев назад +1

    Much better than the documentation, thanks

  • @IsraelLazoPlus
    @IsraelLazoPlus 11 месяцев назад +2

    thanks for the video, really easy to follow and useful

  • @awabqureshi814
    @awabqureshi814 Год назад +2

    This was very useful. Thanks, keep it up!

  • @KondzioTVstudio
    @KondzioTVstudio 10 месяцев назад +1

    simple fast great video. Thank you.

  • @escuderomdz
    @escuderomdz Год назад +1

    Thank u very much! That worked perfectly for me!

  • @riadhallouch
    @riadhallouch 11 месяцев назад +1

    Thaanks man, this looks helpful !

  • @Alex-o2p7d
    @Alex-o2p7d Год назад

    You should give us more new useful videos. Please don't stop. Thanks

    • @gaelbeltran6276
      @gaelbeltran6276  Год назад +1

      Thanks for the encouragement, will post new videos starting this week

  • @AnthonyHeimlich
    @AnthonyHeimlich Год назад +1

    Awesome!

  • @Nh_Sohan
    @Nh_Sohan Год назад +2

    src\component\Home.js
    Line 4:14: 'i18n' is assigned a value but never used no-unused-vars
    help

    • @westlymeza8322
      @westlymeza8322 9 месяцев назад

      it sounds like it is an Eslint warning, you have an array with 2 elements as return, so you can change
      const [t, i18n] = useTranslation('global');
      for
      const t= useTranslation('global')[0];
      instead, to avoid this assignment that is not used

  • @priyankapatil305
    @priyankapatil305 9 месяцев назад +2

    How can I handle values coming from api, is there any way we can handle that response value? and change the language into selected language in frontend

    • @InfraUpdates-
      @InfraUpdates- 9 месяцев назад

      do you find any solution

    • @yahya.s3042
      @yahya.s3042 8 месяцев назад

      did you find any solution ? please 🙏🙏

    • @desiventurer5543
      @desiventurer5543 5 месяцев назад

      Get data from api and replace the file

  • @JohanATP
    @JohanATP 8 месяцев назад

    You're definitely Venezuelan bro. nice video man!!

  • @mezes37
    @mezes37 7 месяцев назад

    very min video very best video

  • @AMoktar
    @AMoktar Год назад

    Thanks man. Very straight forward. Can you tell how to check the current language or the active one ?

    • @angtuananh5209
      @angtuananh5209 Год назад +5

      import React from 'react';
      import { useTranslation } from 'react-i18next';
      function MyComponent() {
      const { t, i18n } = useTranslation();
      // Get the current language
      const currentLanguage = i18n.language;
      return (

      {t('hello')}
      Current language: {currentLanguage}

      );
      }
      export default MyComponent;

    • @kristijanlazarev
      @kristijanlazarev 9 месяцев назад

      @@angtuananh5209 good job

  • @lorenso2195
    @lorenso2195 Год назад

    Hello, how can I define the "t" inside an array of objects?

  • @bullstack
    @bullstack 2 месяца назад +2

    English or Spanish?

  • @myminethealmighty
    @myminethealmighty 8 месяцев назад

    Thankssssssss Finally!

  • @rutx122
    @rutx122 7 месяцев назад

    Si estoy haciendo mi portfolio, lo quiero hacer en Nextjs, tu crees que esto me sirva o habra mejores opciones?

  • @certificationcaci6469
    @certificationcaci6469 Год назад

    Thanks man

  • @imomorfaruk
    @imomorfaruk 10 месяцев назад

    Wow

  • @antox2034
    @antox2034 10 месяцев назад

    GRACIAS CRACK