This library contains shared code between Homey, Homey Apps, Athom CLI, Athom Developer and others.
This library can, among other things:
See /examples/
for how-to usage.
This library contains translations in the following files:
./assets/app/permissions.json
./assets/capability/capabilities/<capability_id>.json
./assets/device/classes/<device_class_id>.json
These files are automatically parsed to language specific locale files in ./generated_locales
. The generated locales should not be edited manually, always edit the original files as listed above. Commits to master or develop with changes to the files above will trigger a GitHub Action that re-generates the locales and commits the result. Incoming PRs with changes to ./generated_locales
will trigger a GitHub Action that applies the updated generated locales to the files listed above.
Note: when adding new languages to the files listed above, make sure to add the
./generated_locales/<new_language_code>.json
file manually so that the script that generates the locales will pick it up.