Showing
1 changed file
with
9 additions
and
8 deletions
@@ -284,7 +284,7 @@ Text(controller.textFromApi); | @@ -284,7 +284,7 @@ Text(controller.textFromApi); | ||
284 | 284 | ||
285 | ### ডিপেনডেন্সি ব্যবস্থাপনা সম্পর্কে আরো বিস্তারিত | 285 | ### ডিপেনডেন্সি ব্যবস্থাপনা সম্পর্কে আরো বিস্তারিত |
286 | 286 | ||
287 | -**See a more in-depth explanation of dependency management [here](./documentation/en_US/dependency_management.md)** | 287 | +**ডিপেনডেন্সি ব্যবস্থাপনা সম্পর্কে আরো বিস্তারিত ব্যাখ্যা দেখুন [এখানে](./documentation/en_US/dependency_management.md)** |
288 | 288 | ||
289 | # ইউটিলিটি | 289 | # ইউটিলিটি |
290 | 290 | ||
@@ -292,8 +292,9 @@ Text(controller.textFromApi); | @@ -292,8 +292,9 @@ Text(controller.textFromApi); | ||
292 | 292 | ||
293 | ### অনুবাদ | 293 | ### অনুবাদ |
294 | 294 | ||
295 | -Translations are kept as a simple key-value dictionary map. | 295 | +অনুবাদগুলি একটি সাধারণ কী-মানের অভিধান মানচিত্র হিসাবে রাখা হয়। |
296 | To add custom translations, create a class and extend `Translations`. | 296 | To add custom translations, create a class and extend `Translations`. |
297 | +কাস্টম অনুবাদ যোগ করতে, একটি class তৈরি করুন এবং `Translations` এ extends করুন। | ||
297 | 298 | ||
298 | ```dart | 299 | ```dart |
299 | import 'package:get/get.dart'; | 300 | import 'package:get/get.dart'; |
@@ -313,20 +314,20 @@ class Messages extends Translations { | @@ -313,20 +314,20 @@ class Messages extends Translations { | ||
313 | 314 | ||
314 | #### অনুবাদের ব্যবহার | 315 | #### অনুবাদের ব্যবহার |
315 | 316 | ||
316 | -Just append `.tr` to the specified key and it will be translated, using the current value of `Get.locale` and `Get.fallbackLocale`. | 317 | +শুধুমাত্র নির্দিষ্ট key তে `.tr` যোগ করুন এবং এটি অনুবাদ করা হবে, `Get.locale` এবং `Get.fallbackLocale` এর বর্তমান মান ব্যবহার করে। |
317 | 318 | ||
318 | ```dart | 319 | ```dart |
319 | Text('title'.tr); | 320 | Text('title'.tr); |
320 | ``` | 321 | ``` |
321 | 322 | ||
322 | -#### Using translation with singular and plural | 323 | +#### একবচন এবং বহুবচন সহ অনুবাদ ব্যবহার |
323 | 324 | ||
324 | ```dart | 325 | ```dart |
325 | var products = []; | 326 | var products = []; |
326 | Text('singularKey'.trPlural('pluralKey', products.length, Args)); | 327 | Text('singularKey'.trPlural('pluralKey', products.length, Args)); |
327 | ``` | 328 | ``` |
328 | 329 | ||
329 | -#### Using translation with parameters | 330 | +#### প্যারামিটার সহ অনুবাদ ব্যবহার |
330 | 331 | ||
331 | ```dart | 332 | ```dart |
332 | import 'package:get/get.dart'; | 333 | import 'package:get/get.dart'; |
@@ -349,7 +350,7 @@ Text('logged_in'.trParams({ | @@ -349,7 +350,7 @@ Text('logged_in'.trParams({ | ||
349 | 350 | ||
350 | ### লোকেল | 351 | ### লোকেল |
351 | 352 | ||
352 | -Pass parameters to `GetMaterialApp` to define the locale and translations. | 353 | +লোকেল এবং অনুবাদ সংজ্ঞায়িত করতে `GetMaterialApp`-এ প্যারামিটার পাস করুন। |
353 | 354 | ||
354 | ```dart | 355 | ```dart |
355 | return GetMaterialApp( | 356 | return GetMaterialApp( |
@@ -361,7 +362,7 @@ return GetMaterialApp( | @@ -361,7 +362,7 @@ return GetMaterialApp( | ||
361 | 362 | ||
362 | #### লোকেল পরিবর্তন করুন | 363 | #### লোকেল পরিবর্তন করুন |
363 | 364 | ||
364 | -Call `Get.updateLocale(locale)` to update the locale. Translations then automatically use the new locale. | 365 | +লোকেল আপডেট করতে `Get.updateLocale(locale)` কল করুন। অনুবাদগুলি তখন স্বয়ংক্রিয়ভাবে নতুন লোকেল ব্যবহার করে। |
365 | 366 | ||
366 | ```dart | 367 | ```dart |
367 | var locale = Locale('en', 'US'); | 368 | var locale = Locale('en', 'US'); |
@@ -370,7 +371,7 @@ Get.updateLocale(locale); | @@ -370,7 +371,7 @@ Get.updateLocale(locale); | ||
370 | 371 | ||
371 | #### লোকেল পদ্ধতি | 372 | #### লোকেল পদ্ধতি |
372 | 373 | ||
373 | -To read the system locale, you could use `Get.deviceLocale`. | 374 | +সিস্টেম লোকেল পড়তে, আপনি `Get.deviceLocale` ব্যবহার করতে পারেন। |
374 | 375 | ||
375 | ```dart | 376 | ```dart |
376 | return GetMaterialApp( | 377 | return GetMaterialApp( |
-
Please register or login to post a comment