Tencent-RTC / Tencent-RTC/TUICallKit

语言支持始终显示英文

Open
#394 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
249
Forks
170
PR merge metrics
No merged PRs in 30d

Description

尝试以下方法:

  1. 通过函数设置本地化
LocaleSettings.setLocale(AppLocale.zhHans);
CallKitI18nUtils.setLanguage(const Locale("zh"));
  1. 设置MaterialApp的语言为"zh-Hans-CN"或"zh-Hans"
MaterialApp(locale: const Locale('zh-Hans'))

拨打语音电话的UI文案始终为英文

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how LocaleSettings.setLocale, CallKitI18nUtils.setLanguage, and the MaterialApp locale reach the voice-call UI. Reproduce the issue with zh-Hans or zh-Hans-CN and identify why the displayed strings remain English. Done means the voice-call UI uses the requested Chinese locale.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
localization, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.