Tasshack / dreame-vacuum

Home Assistant integration for Dreame robot vacuums with map support
https://community.home-assistant.io/t/custom-component-dreame-vacuum
MIT License
887 stars 110 forks source link

language setting #761

Closed Z4RR0 closed 1 month ago

Z4RR0 commented 1 month ago

I the app was set in italian, the home assistant server same language, but when i configue the integration, i see all entitities and option only in english how can i solve this?

Tasshack commented 1 month ago

Integration does not support multi language for entity names. You need to manually edit names from individual entity settings.

Z4RR0 commented 1 month ago

Thank's for fast reply, sorry i bother you, Ok i understand ! for info i try to rename in translation folder en.json with it.json and the option of the entities are working in italian (not the name but the setting yes),

Thank's for your fastest reply!!

Tasshack commented 1 month ago

Language json files are only containing the option values for select entities and service names but not the entity names. Almost half of the entity names are generated dynamically therefore cannot be translated using json files.

Z4RR0 commented 1 month ago

Thank you for the clarification.

Il Mar 15 Ott 2024, 14:03 Tasshack @.***> ha scritto:

Language json files are only containing the option values for select entities and service names but not the entity names. Almost half of the entity names are generated dynamically therefore cannot be translated using json files.

— Reply to this email directly, view it on GitHub https://github.com/Tasshack/dreame-vacuum/issues/761#issuecomment-2413724252, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXSCLWOG4BE5OBEW3FUWJCTZ3T775AVCNFSM6AAAAABP64S622VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJTG4ZDIMRVGI . You are receiving this because you authored the thread.Message ID: @.***>