Flutter Localization the Easy Way - using JSON

Опубликовано: 02 Январь 2022
на канале: Coding Orbit
4,995
101

Hey Guys, in this Flutter video I will show you how to implement localization in your flutter app. You will learn how to localize your flutter app the easy way, using JSON and delegates. You will also learn how to switch the language of the app inside the app.

The localization will work based on the device language or it will use the default language if the device language isn't localized in the app. Also, it will have a button to toggle the language inside the app.

At the end of the video, you will have multiple language support for your flutter app.

For more Flutter content be sure to subscribe to the channel and turn on your notifications.

Check out Flutter how-to videos:
   • Flutter Google Ads  

Check out my Flutter tutorial to become a Flutter hero:    • Flutter Tutorial for Beginners 1 -  I...  

Links:
Don't click this: https://bit.ly/3dkJUNB
Pub dev library: https://pub.dev/packages/get/install
Github source code: https://github.com/Coding-Orbit/flutt...

Update pubspec.yaml
dependencies:
flutter:
sdk: flutter

flutter_localizations:
sdk: flutter

-------- Content of this video --------
00:00 Demo of the finished app
00:58 Setting up our project
01:15 Adding JSON files
02:15 Implementing Localization class
08:29 Adding delegates
12:28 Adding Localization to material app
13:09 Using the localization
13:50 Automating the use of localization
16:41 Testing the localization
18:00 Implementing in-app toggle language
24:00 Testing the app

#flutter #flutter_localization #flutter_localization_json #flutter_localization_tutorial


Смотрите видео Flutter Localization the Easy Way - using JSON онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Coding Orbit 02 Январь 2022. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 4,995 раз и оно понравилось 101 посетителям.