Open SixSheeppp opened 3 years ago
I am going to make Flutter project more international.
Docs: https://flutter.dev/docs/development/accessibility-and-localization/internationalization
But in this way, I have to check thousands of lines in source code. ex: Text("hello world")
Text("hello world")
So a rule to help check hard code is kind to developer :)
It should work like this. The hard code should be defined in cn_localization.dart
The hard code should be defined in cn_localization.dart
@kevmoo @davidmorgan
any updates?
reference https://github.com/flutter/flutter/issues/42227
Hi, any update?
I found this as workaround, it's not perfect but it helps: https://nabil6391.medium.com/easy-way-to-extract-all-strings-to-arb-in-flutter-777cf8365b15
I am going to make Flutter project more international.
Docs: https://flutter.dev/docs/development/accessibility-and-localization/internationalization
But in this way, I have to check thousands of lines in source code. ex:
Text("hello world")
So a rule to help check hard code is kind to developer :)
It should work like this.
The hard code should be defined in cn_localization.dart