austinried / subtracks

A music streaming app for Subsonic-compatible servers
GNU General Public License v3.0
674 stars 29 forks source link

Chinese translation cannot be displayed #148

Closed ddaodan closed 1 year ago

ddaodan commented 1 year ago

Describe the bug Chinese translation cannot be displayed

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Show Chinese

Screenshots Screenshot_20221019-033156_Trebuchet~2

Smartphone (please complete the following information):

Additional context Rename zh-Hans.json tozh.json to fix

simlive commented 1 year ago

你好,你的Subtracks软件是怎么显示中文的呢,软件没有设置中文的选项,至少我还没找到,是自己编译的软件吗?

austinried commented 1 year ago

The application does not have its own option to change language, it relies on using the language you've chosen in the Android system settings.

Rename zh-Hans.json to zh.json to fix

I noticed an issue related to this actually with the latest alpha also, and ended up having to rename this language file there to remove the script tag. If you're able to, could you try the alpha and let me know if it resolves the issue?

https://github.com/austinried/subtracks/releases/tag/v2.0.0-alpha.1

ddaodan commented 1 year ago

@austinried Yes, it now displays correctly Screenshot_20230428-165542_Trebuchet