Repository navigation
Hard drive label not translated #298
Replies: 5 comments
|
Heya @dragonslore, This could possibly be done by fiddling around with the request headers - but didn't try this out myself yet, and I am not sure if your current translations comes from the UGOS App or the API itself. Please try the following in a bowser where the language is set to French:
Are you getting a French response for the labels? /tom |
|
Hey @Tom-Bom-badil Thanks for your feedback. Just tried and call results comes in French. |
|
Ok, that's valuable info:
I assume using the central language set in Home Assistant's backend (not the one of the user's browser) would be the preferred way here? Note that I would change this in a central place, so ALL reported API strings should be affected, not only disks. /tom p.s. Thanks again for the full response - note that I deleted the serial numbers of the disks from it. |
|
@dragonslore Done, see here. Please let me know if the results are as expected - the translations should be done not only for disk labels, but also for a bunch of other entity values. Enjoy! :) /tom |
|
Hi @Tom-Bom-badil just installed latest beta version and I confirm it is working like a charm with proper local translations. A big thank to you and congratz again for this amazing integration. |
Uh oh!
There was an error while loading. Please reload this page.
Hello @Tom-Bom-badil,
Thank you so much for this great card you made.
I noticed that the label that is exposed by Ugreen NAS for the hard drives are not translated like in the Ugreen user interface.
Do you know any way to get local language (here it is french) ?
Thanks a lot for your help.
All reactions