ha_xiaomi_home/custom_components/xiaomi_home/miot
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
..
i18n feat: add Turkish language support (#1468) 2025-11-10 09:50:02 +08:00
lan fix: the number of profile models updated from 660 to 823 (#583) 2025-01-07 20:22:06 +08:00
resource feat: move web page to html (#627) 2025-01-14 16:59:35 +08:00
specs feat: add Turkish language support (#1468) 2025-11-10 09:50:02 +08:00
common.py refactor: refactor miot device and spec (#592) 2025-01-17 18:14:31 +08:00
const.py feat: add Turkish language support (#1468) 2025-11-10 09:50:02 +08:00
miot_client.py feat: subscribe the proxy gateway child device up messages even though the device is offline (#1393) 2025-09-02 17:22:40 +08:00
miot_cloud.py feat: get devices from the third party cloud (#1258) 2025-07-15 16:26:35 +08:00
miot_device.py fix: correct the property value format after expression calculation (#1366) 2025-08-19 14:36:30 +08:00
miot_error.py feat: move web page to html (#627) 2025-01-14 16:59:35 +08:00
miot_i18n.py refactor: refactor miot mips & fix type errors (#365) 2025-01-10 21:46:00 +08:00
miot_lan.py fix: Chinese encoding under LAN Control (#1114) 2025-05-22 11:28:11 +08:00
miot_mdns.py fix: mdns discovered ip address (#1250) 2025-07-14 09:04:38 +08:00
miot_mips.py fix: stop MQTT internal loop immediately when main loop is closed (#1484) 2025-11-07 10:18:25 +08:00
miot_network.py fix: fix variable name or comment errors & fix test_lan error (#678) 2025-01-21 20:16:15 +08:00
miot_spec.py fix: float value precision (#1485) 2025-11-07 10:19:01 +08:00
miot_storage.py refactor: refactor miot device and spec (#592) 2025-01-17 18:14:31 +08:00
web_pages.py fix: pylint 4.0.0 (#1455) 2025-10-13 17:11:30 +08:00