hass-core/homeassistant/generated/languages.py
Erik Montnemery e1338adf1a
Allow configuring country and language in core config (#81734)
* Allow configuring country and language in core config

* Add script for updating list of countries

* Use black for formatting

* Fix quoting

* Move country codes to a separate file

* Address review comments

* Add generated/countries.py

* Get default language from owner account

* Remove unused variable

* Add script to generate list of supported languages

* Add tests

* Fix stale docsring

* Use format_python_namespace

* Correct async_user_store

* Improve typing

* Fix with_store decorator

* Initialize language in core store migration

* Fix startup

* Tweak

* Apply suggestions from code review

Co-authored-by: Franck Nijhof <git@frenck.dev>

* Update storage.py

Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-11-24 23:25:50 +01:00

68 lines
757 B
Python

"""This file is automatically generated.
To update, run python3 -m script.languages [frontend_tag]
"""
LANGUAGES = {
"af",
"ar",
"bg",
"bn",
"bs",
"ca",
"cs",
"cy",
"da",
"de",
"el",
"en",
"en-GB",
"eo",
"es",
"es-419",
"et",
"eu",
"fa",
"fi",
"fr",
"fy",
"gl",
"gsw",
"he",
"hi",
"hr",
"hu",
"hy",
"id",
"is",
"it",
"ja",
"ka",
"ko",
"lb",
"lt",
"lv",
"ml",
"nb",
"nl",
"nn",
"pl",
"pt",
"pt-BR",
"ro",
"ru",
"sk",
"sl",
"sr",
"sr-Latn",
"sv",
"ta",
"te",
"th",
"tr",
"uk",
"ur",
"vi",
"zh-Hans",
"zh-Hant",
}