Skip to content

fix: Remove the toLowerCase in translator to allow lang code like "zh-CN"#732

Open
gaogzs wants to merge 1 commit intomindcraft-bots:developfrom
gaogzs:develop
Open

fix: Remove the toLowerCase in translator to allow lang code like "zh-CN"#732
gaogzs wants to merge 1 commit intomindcraft-bots:developfrom
gaogzs:develop

Conversation

@gaogzs
Copy link

@gaogzs gaogzs commented Mar 10, 2026

Otherwise the api would not recognise the language codes containing upper case letters.

@gaogzs gaogzs changed the title Remove the toLowerCase in translator to allow lang code like "zh-CN" fix: Remove the toLowerCase in translator to allow lang code like "zh-CN" Mar 10, 2026
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