Add Simplified Chinese localization - #247
Draft
endfish wants to merge 4 commits into
Draft
Conversation
Add a Simplified Chinese language overlay for Brio's existing localization keys, including UI labels, catalog metadata, posing controls, appearance options, bone names, tooltips, and menu text. The language-neutral loader keeps English as the fallback and selects zh-CN for Dalamud's Simplified Chinese client language.
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.
Summary
zh-CN) resource overlay for Brio's existing localization system.Localizeloader so English is loaded first as the fallback and an optional client-language overlay is applied afterward.zh-CNwhen Dalamud reports the Simplified Chinese client language.Motivation
Brio already contains the official
Localizeinfrastructure and an embedded English language resource, but the loader currently always readsLanguage.en.json. This PR keeps that design and adds the smallest language-neutral extension needed for an optional embedded translation overlay.English remains the source and fallback language. Missing Chinese keys therefore continue to display the existing English value instead of failing or producing blank labels.
Scope
Language.zh-CN.json; loader changes are language-neutral.Validation
Language.zh-CN.jsonwithSystem.Text.Json/PowerShell JSON validation.dotnet build brio.slnx -c Debug