React Native Multi Language App Using i18next

Поделиться
HTML-код
  • Опубликовано: 10 июн 2023
  • In this video I will show you how you make a multi language app in react native and for that we will use two packages i18next and react-i18next.
    ----------------------------------------------------------------------------------------
    Source code: github.com/Index-Zero-0/React...
    Please LIKE and SUBSCRIBE for more content and supporting!
    #reactnative

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

  • @benarcher372
    @benarcher372 7 месяцев назад +2

    Really nice, thank you! I will try this with some 'asyncstorage' to persist the language chosen.

  • @lamb2144
    @lamb2144 Месяц назад

    OMG THANK YOU SO MUCH YOU HELPED ME !!!! IVE BEEN STUCK ON THIS PROBLEM FOR 2 HOURS

  • @user-zl8wh5ww9v
    @user-zl8wh5ww9v 11 месяцев назад +4

    Thanks from Türkiye

  • @user-if6oz4sq7m
    @user-if6oz4sq7m 7 месяцев назад

    You saved my day!

  • @MinhPham-cf5pl
    @MinhPham-cf5pl 8 месяцев назад +4

    but how about dynamic data?

  • @sangamsaini138
    @sangamsaini138 6 месяцев назад

    thanks for make this video

  • @MaheshRajan-ly7vm
    @MaheshRajan-ly7vm 5 месяцев назад +1

    Where should we use AsyncStorge to store the selected language?

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

    is it necessary to create the locales directory on the root?

  • @saishamv.g1515
    @saishamv.g1515 3 месяца назад

    Thanks from chennnai

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

    can it automatically use same language that set in device system?

  • @diegoulisesmirelesmarcial6783
    @diegoulisesmirelesmarcial6783 Месяц назад

    Hay alguna forma distinta por si son ya muchas vistas? una app ya grande y con muchos textos

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

    so good but when app close its could be default settings .. we have to do using redux with langs.

    • @index-zero
      @index-zero  9 месяцев назад +2

      If you dont want it turns back to default language you could store the selected language using Asyncstorage

  • @willdunertm5047
    @willdunertm5047 11 месяцев назад

    I've followed the steps, but then instead of the values, i get whatever key i pass to {t('my_key')} as the value. Any idea?

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

      Sometimes i get the error : "react-i18next:: you will need to pass in an i18next instance by using initReactI18next", but i did the same as you...

    • @index-zero
      @index-zero  11 месяцев назад

      In App.js try to import the i18next from services/i18next.js

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

      I had the same issue. For me it was a mispronouncing word in the i18next.js

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

      Hi @@index-zero , Im having same issue as this mate, after importing into the App.tsx fille what do you next?

    • @antas135
      @antas135 8 месяцев назад +2

      I had the same problem. I solved it by changing the import in App.tsx from import i18next from "./services/i18next"; to import "./services/i18next";

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

    thanks bro it helping a lot, how can we do it for right to left languages

    • @index-zero
      @index-zero  10 месяцев назад +1

      It will be same