filmov
tv
Flutter Localization in Details - Internationalization with JSON

Показать описание
🚀 Love This Content? Support My Channel!
Help me create more awesome videos - fuel my work with crypto (zero fees!):
💎 Binance Pay ID: 1121945717
(Works with BTC, ETH, USDT, BNB + 100+ cryptos!)
🔥 How to Send in 10 Seconds:
1️⃣ Open Binance App
2️⃣ Tap "Pay" → "Send"
3️⃣ Paste my ID & choose any crypto
💛 Every contribution helps me upgrade equipment and make better content for YOU!
--------
في هذا الفيديو سوف نتعرّف على كيفية بناء تطبيق متعدد اللغات في flutter بالتفصيل و بدون استخدام مكتبات خارجية .
Source code :
Facebook page :
Facebook account :
LinkedIn account :
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
Help me create more awesome videos - fuel my work with crypto (zero fees!):
💎 Binance Pay ID: 1121945717
(Works with BTC, ETH, USDT, BNB + 100+ cryptos!)
🔥 How to Send in 10 Seconds:
1️⃣ Open Binance App
2️⃣ Tap "Pay" → "Send"
3️⃣ Paste my ID & choose any crypto
💛 Every contribution helps me upgrade equipment and make better content for YOU!
--------
في هذا الفيديو سوف نتعرّف على كيفية بناء تطبيق متعدد اللغات في flutter بالتفصيل و بدون استخدام مكتبات خارجية .
Source code :
Facebook page :
Facebook account :
LinkedIn account :
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
Комментарии