Android String Localization using Kotlin: Support different Languages and Culture #5.1

Поделиться
HTML-код
  • Опубликовано: 2 дек 2024

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

  • @satishkumar-qq8df
    @satishkumar-qq8df 3 года назад +4

    I have no words for your videos. it's just great videos of beginners.

  • @ReidGuyett
    @ReidGuyett 5 лет назад +5

    Following along and I noticed 2 things I'm sure you know but weren't mentioned for complete new people like me.
    1. Extract String Resource in Alt+Enter. It gives a pop up to name your string and automatically inserts it into strings.xml and replaces the code with the new string reference. This works in the layout and activities files.
    2. The "Open editor" link while viewing the Strings file lets you update all the translations in one screen. May be helpful if using many languages.

  • @lham07
    @lham07 4 года назад +1

    this is a great tutorial for beginners, thank you so much

  • @xiaoqingtian6542
    @xiaoqingtian6542 2 года назад

    You did extremely excellent video

  • @kermi123d
    @kermi123d 5 лет назад

    first perfect Explanation!...greetings from Germany!

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

    Thanks man!

  • @FahmiEshaq
    @FahmiEshaq 2 года назад

    That was super helpful

  • @rudreshsp3236
    @rudreshsp3236 3 года назад

    likewise could u plz explain and create on how to create and use diffrent dimens folders and sub folders

  • @ziyadmansy6016
    @ziyadmansy6016 4 года назад

    Thanks i needed that alot

  • @shibinpj1422
    @shibinpj1422 4 года назад

    Sir, how can i change const texts in hobbiesAdaptor using value strings ? (Const texts in both activities and layouts are changed, but i cant do the same on Hobbies adapter and model file)

  • @tehseenullah215
    @tehseenullah215 4 года назад

    what if we have stored dynamic data in database how will we change that by changing app's language?

  • @jonsnow9758
    @jonsnow9758 3 года назад

    Can you plz tell us How to change the whole app language on the button click without changing the system language.
    Like on off switch Eng to French.

  • @daniellunav4717
    @daniellunav4717 4 года назад

    How do you add the getString to this "context.showToast(currentHobby!!.title + " Clicked !")". I get an error.

  • @Carlos-nh9sk
    @Carlos-nh9sk 6 лет назад +1

    How will you change the language using a button from inside the app? Is that possible?

    • @smartherd
      @smartherd  6 лет назад

      Yes possible. Kindly Google

  • @sayalibayaskar9547
    @sayalibayaskar9547 2 года назад

    how do i change use this in Model.kt class?

  • @rajivkumargupta8467
    @rajivkumargupta8467 6 лет назад +5

    Really great video.... useful....but if we want selected language is English...and we want to give option to select language from application...how will do it
    Don't want go user in setting to change primary language

    • @mukeshpatel-ei3vr
      @mukeshpatel-ei3vr 5 лет назад +1

      Locale myLocale = new Locale(language);
      Resources res = activity.getResources();
      DisplayMetrics dm = res.getDisplayMetrics();
      Configuration conf = res.getConfiguration();
      conf.locale = myLocale;
      res.updateConfiguration(conf, dm); //language ="en"

  • @prasannakodela5264
    @prasannakodela5264 4 года назад

    How to convert app calendar as arabic to english calendar

  • @juliosordi2339
    @juliosordi2339 5 лет назад +1

    I suggest Linguee for translations it's way more accurate

  • @tukaramkalane
    @tukaramkalane 4 года назад

    Perfect... :-)

  • @Adi-xe4ut
    @Adi-xe4ut 6 лет назад

    hmmmm nice