Flutter Localization in Details - Internationalization with JSON

Опубликовано: 11 Октябрь 2024
на канале: Rabee Omran
8,294
364

في هذا الفيديو سوف نتعرّف على كيفية بناء تطبيق متعدد اللغات في flutter بالتفصيل و بدون استخدام مكتبات خارجية .

Source code :
https://github.com/Rabee-Omran/Flutte...

Facebook page :
  / rabeeomran.developer  

Facebook account :
  / rabeeomran2  

LinkedIn account :
  / rabeeomran  

00:00 Intro
00:32 About the video, what will we build?
01:54 Write supported locales
03:56 Create a JSON file for each language
04:40 Write Delegates and explain it
06:31 Return a language to be used in the application
07:52 Return a language supported by my app for use in it
09:34 Start implementing AppLocalizations class (custom delegate)
12:30 Implement the functionality to Load language JSON file
15:36 Create a translate function that we will use in the user interface
16:06 Write AppLocalizationsDelegate class (actual delegate)
16:51 Implement isSupported function
17:32 Implement load function
18:45 Implement shouldReload function
19:08 Provide our delegate to the application
20:24 Translate "Hello there !"
21:40 Test application
23:53 Create an extension for translate
25:42 The end