skyost / ezlocalization Goto Github PK
View Code? Open in Web Editor NEWLocalize your flutter application quickly and easily.
Home Page: https://pub.dev/packages/ez_localization
License: MIT License
Localize your flutter application quickly and easily.
Home Page: https://pub.dev/packages/ez_localization
License: MIT License
As of now, if you migrate the app to null safety, you'll be required to add null check on every context.getString('key').
My suggestion is, make notFoundString a required parameter, then disable getString extension from returning null value.
Is your feature request related to a problem? Please describe.
The locale is changed using builder and it changes instantly which I am thankful for. But if I restart the app, it defaults to the original language.
Describe the solution you'd like
It'd be great if the last locale choice is preserved and it is loaded on next start. Maybe using shared preferences?
Describe alternatives you've considered
Currently, only way I can think of is by forcing a locale after getting it from stored key using shared preferences, but I'm not very comfortable forcing a locale.
Additional context
Is there a way to supply a locale as a first preference?
Is your feature request related to a problem? Please describe.
Cannot use package intl 0.18.1 version
Describe the solution you'd like
Upgrade intl package to latest
Additional context
Cannot use ez_localization 1.1.0 if we upgrade intl package to 0.18.1
I need to build an App where the user can set his own locale manually from the settings, is there's a way to load custom locale from dart code?
How to switch languages within the app?
Describe the bug
I'm getting Another exception was thrown: A non-null String must be provided to a Text widget. when trying to access json subtree.
This is how the json file looks like
{
"bob": {
"text1": "Hello"
}
}
And this is how I'm getting it Text(EzLocalization.of(context).get("bob.text1"),),
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.