diff --git a/README.md b/README.md index 81d531cf..46a34f49 100644 --- a/README.md +++ b/README.md @@ -371,7 +371,7 @@ UpgradeAlert(Upgrader(messages: MyUpgraderMessages())); ## Language localization -The strings displayed in `upgrader` are already localized in 34 languages. New languages will be +The strings displayed in `upgrader` are already localized in 35 languages. New languages will be supported in the future with minor updates. It also supports right to left languages. Languages supported: @@ -395,6 +395,7 @@ Languages supported: * Kazakh ('kk') * Khmer ('km') * Korean ('ko') +* Kurdish Sorani ('ku') * Lithuanian ('lt') * Mongolian ('mn') * Norwegian ('nb') @@ -410,6 +411,7 @@ Languages supported: * Ukrainian ('uk') * Vietnamese ('vi') + The `upgrader` package can be supplied with additional languages in your code by extending the `UpgraderMessages` class to provide custom values. diff --git a/lib/src/upgrade_messages.dart b/lib/src/upgrade_messages.dart index 6c96d574..1fa0aa41 100644 --- a/lib/src/upgrade_messages.dart +++ b/lib/src/upgrade_messages.dart @@ -241,6 +241,10 @@ class UpgraderMessages { message = '{{appName}}有新的版本!您拥有{{currentInstalledVersion}}的版本可更新到{{currentAppStoreVersion}}的版本。'; break; + case 'ku': + message = + 'وەشانی نوێی {{appName}} بەردەستە! وەشانی {{currentAppStoreVersion}} بەردەستە- تۆ وەشانی {{currentInstalledVersion}} دابەزاندوە.'; + break; case 'en': default: message = @@ -470,6 +474,8 @@ class UpgraderMessages { break; case 'zh': message = '以后'; + case 'ku': + message = 'دواتر'; break; case 'en': default: @@ -584,6 +590,9 @@ class UpgraderMessages { case 'zh': message = '更新'; break; + case 'ku': + message = 'نوێکردنەوە'; + break; case 'en': default: message = 'UPDATE NOW'; @@ -697,6 +706,9 @@ class UpgraderMessages { case 'zh': message = '您现在要更新应用程序吗?'; break; + case 'ku': + message = 'دەتەوێت ئێستا نوێی بکەیەوە؟'; + break; case 'en': default: message = 'Would you like to update it now?'; @@ -754,6 +766,10 @@ class UpgraderMessages { message = 'Yayın Notları'; break; + case 'ku': + message = 'تیبینەکانی وەشان'; + break; + case 'bn': case 'el': case 'fa': @@ -886,6 +902,9 @@ class UpgraderMessages { case 'zh': message = '更新应用程序?'; break; + case 'ku': + message = 'نوێکردنەوەی ئەپ؟'; + break; case 'en': default: message = 'Update App?';