dckiller51 / lovelace-body-miscale-card

Card for data of Xiaomi scales in the Lovelace user interface of Home Assistant The card is linked to the Bodymiscale custom components for Xiaomi scales. https://github.com/dckiller51/bodymiscale
MIT License
81 stars 23 forks source link

How to make it support Traditional Chinese support on this card? #49

Open yauyauwind opened 7 months ago

yauyauwind commented 7 months ago

Hello dckiller51,

Suppose Home Assistant Traditional Chinese Code is zh-Hant or zh-tw and I modifty your translate json and rename to zh-Hant.json but didn't work, I switch my account to S.Chinese it can show the S.Chinese , mean the zh-Hans is work but when I switch back to T.Chinese , it display the english language not the zh-Hant how can I use T.Chinese in this card??

I also upload my modified zh-Hant.json for your reference zh-Hant.json

Thanks~