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
尝试以下方法:
LocaleSettings.setLocale(AppLocale.zhHans); CallKitI18nUtils.setLanguage(const Locale("zh"));
MaterialApp(locale: const Locale('zh-Hans'))
拨打语音电话的UI文案始终为英文
The text was updated successfully, but these errors were encountered:
经排查代码:
case AppLocale.zhHans: return 'zh-Hans';
无法与zh-Hans-CN进行匹配,故获取到英文。
zh-Hans-CN
同时在tuicall_kit_widget.dart文件中去掉设置语言的代码,此段代码会设置为英文
tuicall_kit_widget.dart
CallKitI18nUtils.setLanguage(Localizations.localeOf(context));
去掉后界面显示正常中文
Sorry, something went wrong.
No branches or pull requests
尝试以下方法:
拨打语音电话的UI文案始终为英文
The text was updated successfully, but these errors were encountered: