Skip to content

Add Simplified Chinese (zh) locale#18

Open
luoxiaogaung wants to merge 6 commits into
PanVena:mainfrom
luoxiaogaung:main
Open

Add Simplified Chinese (zh) locale#18
luoxiaogaung wants to merge 6 commits into
PanVena:mainfrom
luoxiaogaung:main

Conversation

@luoxiaogaung

Copy link
Copy Markdown

Summary

Add Simplified Chinese (简体中文) translation for the application, covering all 179 locale keys present in lang_en.json.

Details

  • Language code: zh
  • Display name: 简体中文 (Simplified Chinese)
  • Priority: 40 (after Polish)
  • Based on: lang_en.json — translated every single key, no missing entries

Translation notes

  • Uses mainland China Steam client conventions (e.g. "成就" for achievements, "商店" for store)
  • Preserved all HTML tags, placeholders ({count}, {gamename}, etc.), and formatting
  • Technical terms kept consistent with Steam's official Chinese localization style
  • Tooltip and UI strings translated naturally for native Chinese speakers

Testing

  • All 179 keys translated with no omissions
  • JSON structure matches existing locale files
  • Placeholders and HTML tags preserved intact

Screenshots

N/A — straightforward locale addition, no visual changes

luoxiaogaung and others added 6 commits July 3, 2026 23:19
Add Simplified Chinese (zh) locale
Added a badge for Chinese language support in the README.
## Summary

Add Chinese (简体中文) translation of the project README, and update the main README with a language badge linking to it.

## Changes

### New file
- `readmes/README.zh.md` — Full Chinese translation of the project README

### Modified file  
- `README.md` — Added Chinese badge to the language switcher row

## Checklist
- [x] All sections translated with no omissions
- [x] Code blocks and links preserved intact
- [x] Badge links correctly point to the new file
- [x] Consistent with existing `README.uk.md` / `README.pl.md` format
Add schinese column support: unblock Simplified Chinese
Add schinese to language codes
@sonarqubecloud

sonarqubecloud Bot commented Jul 3, 2026

Copy link
Copy Markdown

@PanVena

PanVena commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Hi @luoxiaogaung
Thanks for the PR! Please make these quick changes before merge:

  1. Remove schinese loop from plugins/binary_parser.py

    for row in all_rows:
        if 'schinese' not in row:
            row['schinese'] = ''

    Remove this block. The UI creates translation columns dynamically based on user selection. Forcing it here adds an empty column globally for all users. Removing schinese from EXCLUDE_WORDS is enough.

  2. Fix default target language in lang_zh.json
    Add "steam_lang_code": "schinese" to _locale_info in assets/locales/lang_zh.json so the target translation column defaults correctly when using the Chinese UI:

    "_locale_info": {
        "name": "简体中文",
        "native_name": "简体中文 (Simplified Chinese)",
        "code": "zh",
        "priority": 40,
        "steam_lang_code": "schinese"
    }

Thanks!

Знімок_20260706_191613

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.

2 participants