Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

香港語(広東語)/ 台灣語 setting problem #7

Open
charlie754 opened this issue Jul 28, 2024 · 2 comments
Open

香港語(広東語)/ 台灣語 setting problem #7

charlie754 opened this issue Jul 28, 2024 · 2 comments

Comments

@charlie754
Copy link

According to Google Cloud API, Chinese code are
中国語 = zh / zh-CN
台灣語 = zh-TW
香港語 = zh-HK

When URL is set as below:

https://sayonari.github.io/jimakuChan/main.html?textAlign=center&v_align=top&recog=zh-HK&bgcolor=#00ff00&size1=25&weight1=900&color1=#ffffff&st_color1=#000000&st_width1=6&size2=25&weight2=900&color2=#ffffff&st_color2=#000000&st_width2=6&size3=25&weight3=900&color3=#ffffff&st_color3=#000000&st_width3=6&trans=ja&speech_text_font=ROBOTO&trans_text_font=ROBOTO&trans_text2_font=ROBOTO&timer=15000&short_pause=750&gas_key= .....

However I set 香港語 recog=zh-HK or 台灣語 recog=zh-TW, it returns the value of 中国語 recog=zh.

@charlie754
Copy link
Author

It only happens in Chrome, but normal in Microsoft Edge

@bluraywu
Copy link

when use chrome, try using value "yue", it work for me with MacOS

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

No branches or pull requests

2 participants