Skip to content

Add Traditional Chinese localization support - #2638

Open
Eddie40802 wants to merge 1 commit into
PixelPlayerHQ:masterfrom
Eddie40802:zh-TW-translation
Open

Add Traditional Chinese localization support#2638
Eddie40802 wants to merge 1 commit into
PixelPlayerHQ:masterfrom
Eddie40802:zh-TW-translation

Conversation

@Eddie40802

Copy link
Copy Markdown

No description provided.

Copilot AI review requested due to automatic review settings July 21, 2026 16:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Traditional Chinese (Taiwan) localization support so the app UI can be displayed in zh-TW, integrating it into the app’s language selection and providing translated string resources.

Changes:

  • Added zh-TW to the app’s locale configuration and AppLanguage options.
  • Added a new language label entry for Traditional Chinese in settings.
  • Introduced a full set of values-zh-rTW string resource files covering major app surfaces (settings, player, library, home, widgets, cloud services, etc.).

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
app/src/main/res/xml/locales_config.xml Adds zh-TW to the per-app language locale list (but currently incomplete vs supported languages).
app/src/main/res/values/strings_settings.xml Adds the Traditional Chinese label used in the language picker.
app/src/main/res/values-zh-rTW/strings.xml Core Traditional Chinese translations.
app/src/main/res/values-zh-rTW/strings_widget.xml Widget-specific Traditional Chinese translations.
app/src/main/res/values-zh-rTW/strings_settings.xml Settings Traditional Chinese translations (large set).
app/src/main/res/values-zh-rTW/strings_screens.xml Screen/UI flow Traditional Chinese translations.
app/src/main/res/values-zh-rTW/strings_player.xml Player Traditional Chinese translations.
app/src/main/res/values-zh-rTW/strings_library.xml Library Traditional Chinese translations.
app/src/main/res/values-zh-rTW/strings_home_screen.xml Home/stats Traditional Chinese translations.
app/src/main/res/values-zh-rTW/strings_equalizer.xml Equalizer Traditional Chinese translations.
app/src/main/res/values-zh-rTW/strings_cloud_services.xml Cloud services Traditional Chinese translations.
app/src/main/res/values-zh-rTW/strings_changelogs.xml Changelog Traditional Chinese translations.
app/src/main/java/com/theveloper/pixelplay/data/preferences/AppLanguage.kt Adds TRADITIONAL_CHINESE("zh-TW", …) to supported app languages.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 3 to +6
<locale android:name="en"/>
<locale android:name="es"/>
<locale android:name="fr"/>
</locale-config> No newline at end of file
<locale android:name="zh-TW"/>
<string name="settings_language_french">Français</string>
<string name="settings_language_russian">Русский</string>
<string name="settings_language_chinese">简体中文</string>
<string name="settings_language_traditional_chinese">繁體中文(台灣)</string>
<string name="player_cd_bluetooth">藍牙</string>
<string name="player_cd_local_playback">本機播放</string>
<string name="player_connecting">正在連線…</string>
<string name="player_cd_open_queue">開啟佇列</string>

@rebornlokii rebornlokii left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants