easy_localization
easy_localization copied to clipboard
Easy and Fast internationalizing your Flutter Apps
We are using the EasyLocalization for Vietnamese, Bahasa and Tagalog and use plurals to show 'day', 'days' ... For Vietnamese the correct Json keys should be ``` "date": { "day":...
The following string with named argument `0` ``` Text('Today is a {0} day').tr(namedArgs: {'0': 'bad'}) ``` produces the following exception: `FormatException (FormatException: Nothing to repeat{0})` It is an ICU MessageFormat...
I have this issue when add dependency dart-json-mapper 2.2.2 Error: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences)
Hi! Plurals don't work as expected, I'm not sure about all cases, but here's my example: ```json { "view_count": { "one": "{} view", "other": "{} views" } } ``` As...
What we realized is that this error keeps on happening in some of the old android devices which takes a while for them to load the device language. Hence the...
When I run the command: ```bash flutter pub add easy_localization ``` It always installs: ``` Resolving dependencies... + easy_localization 1.3.0 (3.0.0 available) + flutter_localizations 0.0.0 from sdk flutter + flutter_web_plugins...
### Example With the translations content for JSON format ```json { "errorScreen": { "pageNotFound": "Page does not exist" } } ``` After use [key generation](https://github.com/aissat/easy_localization#-localization-keys) The name of the key...
Please add **coverage:ignore-file** header to remove generated files from coverage.
I use easy localization 3.0.0. I have a page with a bottom navigation bar and app bar. when I change the current language by: context.setLocale(Locale("he"));  All content changes except...
The problem occurs when my JSON file becomes too large, as I delete at least 5 random keys and it works perfectly again.