Skip to content

Add Simplified_Chinese Language - #556

Open
nsYW wants to merge 5 commits into
NAMTeam:stagingfrom
nsYW:staging
Open

Add Simplified_Chinese Language#556
nsYW wants to merge 5 commits into
NAMTeam:stagingfrom
nsYW:staging

Conversation

@nsYW

@nsYW nsYW commented Aug 20, 2026

Copy link
Copy Markdown

2026/8/20 by Nsyw(正电子海)

@memo33

memo33 commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Thanks. Do you know the LText Group-ID offset for Simplified Chinese? For new languages, it needs to be added here:

val languageOffset = Map(
"fr" -> 3,
"de" -> 4,
"it" -> 5,
"es" -> 6,
"nl" -> 7,
"sv" -> 9,
"ja" -> 0xF,
"ko" -> 0x14,
"pt" -> 0x23)

@jflann

jflann commented Aug 21, 2026

Copy link
Copy Markdown
Member

One additional note: translation ltexts should use the .po extension. .pot is used only for the default English definitions.

@nsYW

nsYW commented Aug 21, 2026

Copy link
Copy Markdown
Author

Thanks. Do you know the LText Group-ID offset for Simplified Chinese? For new languages, it needs to be added here:

val languageOffset = Map(
"fr" -> 3,
"de" -> 4,
"it" -> 5,
"es" -> 6,
"nl" -> 7,
"sv" -> 9,
"ja" -> 0xF,
"ko" -> 0x14,
"pt" -> 0x23)

Done: 353a8e3

@nsYW

nsYW commented Aug 21, 2026

Copy link
Copy Markdown
Author

One additional note: translation ltexts should use the .po extension. .pot is used only for the default English definitions.

Done: b9d01d2

@jflann jflann left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just need a few tweaks - then good to go

"sv" -> 9,
"ja" -> 0xF,
"zh_CN" -> 0x11,
"zh_TW" -> 0x12,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This one ("zh_TW") we wll have to comment out for now, the compiler script fails with it in there, presumably because there are no corresponding ltext files/directories.

@@ -0,0 +1,195 @@
```po

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Some stray text - has to go

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