1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-21 13:58:08 +00:00
trezor-firmware/core/tools/translations/helpers.py
grdddj b8ea21d24a feat(all): implement translations into Trezor
Co-authored-by matejcik <ja@matejcik.cz>
2024-02-12 14:49:32 +01:00

11 lines
240 B
Python

from pathlib import Path
HERE = Path(__file__).parent
CORE = HERE.parent.parent
TRANSLATIONS_DIR = CORE / "translations"
ENGLISH_LANG = "en"
FOREIGN_LANGUAGES = ["cs", "de", "es", "fr"]
ALL_LANGUAGES = [ENGLISH_LANG] + FOREIGN_LANGUAGES