We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As the demo,
changeLocale(Locale locale) { setState(() { _locale = locale; }); }
The widget application will switch the localization display.
but Text("xxx".i18n()), the i18n resource load may failure because
Future changeLanguage(Locale locale, List<String> directories) async { clearSentences(); for (var directory in directories) { await _changeLanguage(locale, directory); } }
This is asyn, the clearSentences() will execture, but the resource has not loaded.
But the String read(String key, List<String> arguments) { if (!_sentences.containsKey(key)) { return key; <<== the problem here. }
String read(String key, List<String> arguments) { if (!_sentences.containsKey(key)) { return key; <<== the problem here. }
Am i right?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As the demo,
changeLocale(Locale locale) { setState(() { _locale = locale; }); }
The widget application will switch the localization display.
but Text("xxx".i18n()), the i18n resource load may failure because
Future changeLanguage(Locale locale, List<String> directories) async { clearSentences(); for (var directory in directories) { await _changeLanguage(locale, directory); } }
This is asyn, the clearSentences() will execture, but the resource has not loaded.
But the
String read(String key, List<String> arguments) { if (!_sentences.containsKey(key)) { return key; <<== the problem here. }
Am i right?
The text was updated successfully, but these errors were encountered: