8000 fix: Add simplified and traditional chinese as separate language options #169 by ritoban23 · Pull Request #174 · presenton/presenton · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@ritoban23
Copy link

Summary

This pull request splits the previous single Chinese language option into two distinct options for language selection throughout the presentation generator app:

  • Chinese (Simplified - 中文, 汉语)
  • Chinese (Traditional - 中文, 漢語)

Changes Made

  • Updated the LanguageType enum in type.ts to remove the combined Chinese option and add separate entries for Simplified and Traditional Chinese.
  • Updated the language selection dropdown to display both new Chinese options.
  • Modified Cypress tests in UploadPage.cy.tsx to select and verify both "Chinese (Simplified - 中文, 汉语)" and "Chinese (Traditional - 中文, 漢語)" instead of the previous combined option.

Motivation

  • Improves clarity for users who wish to select either Simplified or Traditional Chinese for their presentations.
  • Provides more accurate language support and user experience.

Testing

  • Cypress tests updated and passing for both new Chinese language options.
  • Manual verification of the language dropdown to ensure both options appear and can be selected.

Closes #169

@ritoban23 ritoban23 force-pushed the a 8F06 dd-chinese-language-options branch from e4215e0 to 4172fca Compare August 4, 2025 15:33
@ritoban23
Copy link
Author

@surajbeston @ShivaRajBadu Removed the chinese language option changes since they are already merged in #179 . This PR now only modifies Cypress tests in UploadPage.cy.tsx to select and verify both "Chinese (Simplified - 中文, 汉语)" and "Chinese (Traditional - 中文, 漢語)" instead of the previous combined "Chinese "option. Feel free to review it.

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.

Add simplified and traditional chinese as separate language options

1 participant

0