Add Traditional Chinese localization support - #2638
Open
Eddie40802 wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
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-TWto the app’s locale configuration andAppLanguageoptions. - Added a new language label entry for Traditional Chinese in settings.
- Introduced a full set of
values-zh-rTWstring 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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.