Skip to content

Add Simplified Chinese (zh) language resources: yoga_msgs, dosha_msgs, raja_yoga_msgs - #65

Open
BloodyOrangeMan wants to merge 2 commits into
naturalstupid:mainfrom
BloodyOrangeMan:zh-hans-language-pack
Open

Add Simplified Chinese (zh) language resources: yoga_msgs, dosha_msgs, raja_yoga_msgs#65
BloodyOrangeMan wants to merge 2 commits into
naturalstupid:mainfrom
BloodyOrangeMan:zh-hans-language-pack

Conversation

@BloodyOrangeMan

Copy link
Copy Markdown

What

Complete Simplified Chinese (zh-Hans) translations of three prose resource families, following the existing _<lang> file convention:

  • yoga_msgs_zh.json — all 284 entries (name / rule / effect, same keys and array arity as yoga_msgs_en.json)
  • dosha_msgs_zh.json — all 9 entries
  • raja_yoga_msgs_zh.json — all 3 entries

'zh' is deliberately not registered in const.available_languages yet: list_values_zh.txt and msg_strings_zh.txt don't exist, so registering the language would break full-UI language switching. The JSON families are loadable per-file through the existing readers (e.g. raja_yoga.get_raja_yoga_resources) in the meantime; we'd like to contribute the remaining files in a follow-up.

Translation conventions

  • Yoga/doṣa names kept as transliterated proper nouns ("Vosi Yoga" stays "Vosi Yoga") — Chinese Vedic-astrology communities cite them by Sanskrit name.
  • Rule text in plain technical Chinese (house = 宫, sign = 座-suffixed, aspect = 相位, exaltation/debilitation = 庙旺/落陷, Rahu/Ketu = 罗睺/计都 per classical 七政四余 usage).
  • Effect text in modern register with 命主 ("the native") as subject.
  • Nakṣatra references Sanskrit-primary, glossed with the classical 28-mansion (二十八宿) equivalents.
  • Sanskrit terms without settled Chinese equivalents (kendra, navamsa, dusthana, …) kept as-is inside sentences.

Terminology choices were grounded in a survey of published Chinese-language Vedic astrology sources (mainland and Taiwan). The translations are model-drafted under those conventions with per-batch back-translation review for meaning fidelity (house numbers, from-Sun/from-Moon counting, negations), for use in an AGPL desktop app built on PyJHora. Native-speaker review and corrections are very welcome — we'll happily iterate.

English source-text typos noticed while translating

Translated faithfully as-is; listing here in case fixes are welcome upstream (happy to send a separate PR for these against the _en files):

  • Spelling: "Aquariius" (sasa_yoga), "Sagitarius" / "Capricornn" (hamsa_yoga), "resepcted" (go_yoga), "autere" (saarada_yoga), "maleefics" (asubha_yoga)
  • "this is yoga is present" + a stray leading ] (bheri_yoga); "You will wealth and vehicles" (duradhara_yoga, missing verb)
  • Stray digits that look like leaked footnote markers: "Jupiter32" (kaahala_yoga), "exchange35" (devendra_yoga)
  • gaja_kesari_yoga and guru_mangala_yoga carry their raw snake_case key as element [0] where every sibling has a Title Case display name
  • pushkala_yoga numbers two conditions "(2)"; unpaired quotes in subha/asubha/guru_mangala entries

🤖 Generated with Claude Code

…ga_msgs

Complete zh translations of the three prose resource families, following
the existing language-file convention (same keys, same array arity as the
_en files). Names of yogas/doshas are kept as transliterated proper nouns;
rule text is plain technical Chinese; effect text uses 命主 (the native)
as subject. Nakshatra references use Sanskrit-primary names glossed with
the classical 28-mansion (二十八宿) equivalents.

list_values_zh.txt and msg_strings_zh.txt are not included yet, so 'zh'
is deliberately NOT registered in const.available_languages — these files
are loadable per-family via the existing json readers in the meantime.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

1 participant