Comments (4)
the same problem, any news? or solutions?@roma160498
from easy_localization.
I'm using CodegenLoader
and it works
path: 'resources/langs',
assetLoader: const CodegenLoader(),
from easy_localization.
Actually i translated strings like this: "string".tr()
So now, do i have to use generated class from codegenloader ? Changing all strings to class instances?
from easy_localization.
No you can still use "string".tr().
But you need to use build_runner now to generate strings
flutter pub run easy_localization:generate
flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart
from easy_localization.
Related Issues (20)
- use english numbers HOT 1
- Allow WidgetTest without runAsync. If already possible, document it
- pub.dev authentication is broken HOT 6
- Because easy_localization >=3.0.0-nullsafety depends on flutter_localizations from sdk which depends on intl 0.18.0, easy_localization >=3.0.0-nullsafety requires intl 0.18.0. HOT 4
- WIdgets are not updated after changing language HOT 3
- type 'ParserRecovery' is not a subtype of type 'TypeBuilder?' in type cast HOT 2
- easy_localization 3.0.2 and intl 0.18.1
- Adding Sentry: Zone mismatch HOT 1
- en_US writing style doesn't work on iOS HOT 1
- useOnlyLangCode config is not used anywhere
- [FEATURE REQUEST] Generate 'need_translations' file HOT 1
- Set locale does not work properly HOT 1
- Ability to get translations for specific locale without changing the application locale HOT 1
- child call setLocale cannot change all widgets language HOT 10
- after context.setLocale it Restarts/rebuild the whole app HOT 1
- please consider supporting/providing psuedolocalization HOT 3
- Tests failing when JSON file size is > 52 kbs HOT 1
- Generation error
- LocalizationsDelegate make widget rebuild after using route
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easy_localization.