From 6e94cbc24854c6e15bf2c50fec0bc02d62a0900b Mon Sep 17 00:00:00 2001 From: "Dylan Kiss (dyki)" Date: Thu, 24 Jul 2025 11:45:12 +0200 Subject: [PATCH] [I18N] *: add config file for Weblate We are switching our translations platform from Transifex to Weblate. Hence, we are using a new config file to sync our translations between GitHub and Weblate. The `.tx/config` file will be deleted in a later commit when the Transifex sync is shut down. closes odoo/documentation#14130 Related: odoo/odoo#220366 Related: odoo/enterprise#90921 Related: odoo/design-themes#1118 Signed-off-by: Tiffany Chang (tic) --- .gitignore | 1 + .weblate.json | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 .weblate.json diff --git a/.gitignore b/.gitignore index 31b33542b..2acf9ad20 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ *.mo .* !.gitattributes +!.weblate.json # Sphinx build files _build/ diff --git a/.weblate.json b/.weblate.json new file mode 100644 index 000000000..c64e4ef7a --- /dev/null +++ b/.weblate.json @@ -0,0 +1,81 @@ +{ + "projects": { + "odoo-17-doc": [ + { + "name": "administration", + "filemask": "locale/*/LC_MESSAGES/administration.po", + "new_base": "locale/sources/administration.pot" + }, + { + "name": "applications", + "filemask": "locale/*/LC_MESSAGES/applications.po", + "new_base": "locale/sources/applications.pot" + }, + { + "name": "essentials", + "filemask": "locale/*/LC_MESSAGES/essentials.po", + "new_base": "locale/sources/essentials.pot" + }, + { + "name": "finance", + "filemask": "locale/*/LC_MESSAGES/finance.po", + "new_base": "locale/sources/finance.pot" + }, + { + "name": "general", + "filemask": "locale/*/LC_MESSAGES/general.po", + "new_base": "locale/sources/general.pot" + }, + { + "name": "hr", + "filemask": "locale/*/LC_MESSAGES/hr.po", + "new_base": "locale/sources/hr.pot" + }, + { + "name": "index", + "filemask": "locale/*/LC_MESSAGES/index.po", + "new_base": "locale/sources/index.pot" + }, + { + "name": "inventory_and_mrp", + "filemask": "locale/*/LC_MESSAGES/inventory_and_mrp.po", + "new_base": "locale/sources/inventory_and_mrp.pot" + }, + { + "name": "marketing", + "filemask": "locale/*/LC_MESSAGES/marketing.po", + "new_base": "locale/sources/marketing.pot" + }, + { + "name": "productivity", + "filemask": "locale/*/LC_MESSAGES/productivity.po", + "new_base": "locale/sources/productivity.pot" + }, + { + "name": "sales", + "filemask": "locale/*/LC_MESSAGES/sales.po", + "new_base": "locale/sources/sales.pot" + }, + { + "name": "services", + "filemask": "locale/*/LC_MESSAGES/services.po", + "new_base": "locale/sources/services.pot" + }, + { + "name": "studio", + "filemask": "locale/*/LC_MESSAGES/studio.po", + "new_base": "locale/sources/studio.pot" + }, + { + "name": "user_settings", + "filemask": "locale/*/LC_MESSAGES/settings.po", + "new_base": "locale/sources/settings.pot" + }, + { + "name": "websites", + "filemask": "locale/*/LC_MESSAGES/websites.po", + "new_base": "locale/sources/websites.pot" + } + ] + } +}