From dc83ec848e9418e9807e0be469080d76dcee3c78 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Guhur Date: Mon, 12 Sep 2022 17:07:51 +0200 Subject: [PATCH] feat: add localisation --- l10n.toml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 l10n.toml diff --git a/l10n.toml b/l10n.toml new file mode 100644 index 0000000..707cf4b --- /dev/null +++ b/l10n.toml @@ -0,0 +1,32 @@ + +basepath = "." + +locales = [ + "en", + "de", + "ru", + "es", + "fr", +] + +[[paths]] + reference = "translate/public/static/locale/en-US/*.ftl" + l10n = "translate/public/static/locale/{locale}/*.ftl" + + +[[project]] + name = "Mieux Voter Front End" + description = """Front-end based on React for Better Vote (Mieux Voter)""" + [[project.import]] + repository = "https://github.com/MieuxVoter/mv-front-react" + revision = "default" + path = "l10n.toml" + vcs = "git" + + [[project.metadata]] + priority = 5 + locales = ["fr", "en"] + + [[project.metadata]] + locales = ["de", "es", "ru"] + priority = 1