Skip to content

Add translation for Chinese (Traditional) - #1000

Merged
reknih merged 2 commits into
typst:mainfrom
pan93412:zh-tw-trans
Apr 27, 2023
Merged

reknih merged 2 commits into
typst:mainfrom
pan93412:zh-tw-trans

Conversation

@pan93412

Copy link
Copy Markdown
Contributor

This PR is the cleanup version of #911 since #926 has landed.

Some notable changes:

  • zh_TW for Traditional Chinese; zh without region code for Simplified Chinese.
  • The numbering feature can't be implemented as we can't distinguish translations of the 1st number in zht and zhs. It is better to add a lang flag to indicate which numbering kind should be used. I mark it as #[allow(unused)] and add a TODO on it.

@pan93412 pan93412 changed the title Add support for Chinese (Traditional) Add translation for Chinese (Traditional) Apr 27, 2023
@pan93412

Copy link
Copy Markdown
Contributor Author

r? @peng1999 @reknih @szdytom

@reknih reknih 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.

Looks good to me! What do you think @peng1999 @szdytom?

@peng1999

Copy link
Copy Markdown
Contributor

LGTM

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