Skip to content

Support of Language for Common Names #43

@slaxor505

Description

@slaxor505

In the coming Common Names feature of Open Plantbook, the API will be able to return Common Names for a specific language. I plan to process "lang" query parameter and its value as ISO 639 Set-1 (2 characters length) language code and return corresponding Common Name via "alias" field.

The way I see it implemented in the integration is it needs to have 2 additional options in the config. An option to enable sending HASS language code as part of Plant Details API request and perhaps option to override HASS language and some desired language to Plantbook if someone needs for example HASS UI in English but Common Names in "mother language".

The search will work through all Plants' Common Names as it is now.

BTW, Open Plantbook SDK will be need to support this feature too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions