ha_xiaomi_home/custom_components/xiaomi_home
Mümin Köykıran 551b5cc938
Some checks are pending
Tests / check-rule-format (push) Waiting to run
Validate / validate-hassfest (push) Waiting to run
Validate / validate-hacs (push) Waiting to run
Validate / validate-lint (push) Waiting to run
Validate / validate-setup (push) Waiting to run
feat: add Turkish language support (#1468)
* feat: add Turkish language support

Added comprehensive Turkish (tr) language translations for Xiaomi Home Integration.

Changes:
- Added custom_components/xiaomi_home/translations/tr.json with complete UI translations
- Added custom_components/xiaomi_home/miot/i18n/tr.json with MIoT-specific translations
- All placeholders, markdown formatting, and special characters preserved
- Validated against English source files for structural integrity

Technical details:
- Followed Home Assistant language code standards (ISO 639-1: tr)
- Maintained formal Turkish (siz form) for professional user experience
- Preserved all technical terms (OAuth2, MIoT-Spec-V2, MQTT, etc.)
- JSON structure validated and all keys match English version

* feat: add Turkish translations to bool_trans.yaml

Added Turkish boolean value translations for:
- default: true/false values
- contact_state: contact/no contact states
- motion_state: motion detected states
- open_close: open/close states
- yes_no: yes/no values

* docs: update README to reflect Turkish language support

Updated multiple language support section:
- Changed from 8 to 13 supported languages
- Added Turkish (tr) to the language code list
- Updated language list to include all currently supported languages:
  Italian, Dutch, Portuguese, Brazilian Portuguese, and Turkish

* fix: correct language dictionary sorting and update documentation

- Sort INTEGRATION_LANGUAGES dictionary alphabetically (tr after ru)
- Update CLAUDE.md to reflect 13 supported languages instead of 8
- Fixes test_miot_data_sort() test requirement
- No functional changes, documentation and code style improvements only

* docs: update Chinese README to reflect 13 supported languages

- Changed from 8 to 13 languages in Chinese documentation
- Added Turkish, Italian, Dutch, Portuguese, Brazilian Portuguese
- Updated language code list to include: it, nl, pt, pt-BR, tr
- Changed translation source note from "machine translation"
  to "machine translation or community contributions"
- Maintains consistency with English README.md
2025-11-10 09:50:02 +08:00
..
miot feat: add Turkish language support (#1468) 2025-11-10 09:50:02 +08:00
translations feat: add Turkish language support (#1468) 2025-11-10 09:50:02 +08:00
__init__.py feat: custom defined MIoT-Spec-V2 instance (#953) 2025-04-05 11:37:17 +08:00
binary_sensor.py fix: contact-state value format (#1387) 2025-08-29 17:36:25 +08:00
button.py feat: first commit 2024-12-10 17:36:32 +08:00
climate.py fix: climate entity swing mode setting (#1486) 2025-11-07 10:19:31 +08:00
config_flow.py feat: cover dead zone width (#1301) 2025-07-30 15:13:04 +08:00
cover.py feat: cover dead zone width (#1301) 2025-07-30 15:13:04 +08:00
device_tracker.py feat: add the watch as the device tracker entity (#1189) 2025-07-09 14:14:27 +08:00
event.py fix: MIoT-Spec-V2 conflicts of xiaomi.fan.p5 and mike.bhf_light.2 (#866) 2025-03-12 15:22:03 +08:00
fan.py feat: add wifi speaker and television as the media player entity (#706) 2025-07-09 14:02:22 +08:00
humidifier.py fix: the humidifier property (#1035) 2025-04-28 09:35:47 +08:00
light.py docs: update changelog and version to v0.2.1 (#848) 2025-03-07 14:20:17 +08:00
manifest.json docs: update changelog and version to v0.4.3 (#1453) 2025-10-14 08:33:36 +08:00
media_player.py feat: add wifi speaker and television as the media player entity (#706) 2025-07-09 14:02:22 +08:00
notify.py refactor: refactor miot device and spec (#592) 2025-01-17 18:14:31 +08:00
number.py feat: avoid setting icon when device_class is defined (#855) 2025-03-12 15:17:02 +08:00
select.py refactor: refactor miot device and spec (#592) 2025-01-17 18:14:31 +08:00
sensor.py Fix specs (#929) 2025-03-28 09:10:09 +08:00
switch.py feat: first commit 2024-12-10 17:36:32 +08:00
text.py refactor: refactor miot device and spec (#592) 2025-01-17 18:14:31 +08:00
vacuum.py feat: remove VacuumEntityFeature.BATTERY from the vacuum entity (#1433) 2025-10-10 16:31:02 +08:00
water_heater.py fix: set the device on when the switch status is False or None (#1303) 2025-07-30 15:15:28 +08:00