Skip to content

Commit 6e94cbc

Browse files
committed
[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 #14130 Related: odoo/odoo#220366 Related: odoo/enterprise#90921 Related: odoo/design-themes#1118 Signed-off-by: Tiffany Chang (tic) <tic@odoo.com>
1 parent a977c6b commit 6e94cbc

File tree

2 files changed

+82
-0
lines changed

2 files changed

+82
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
*.mo
33
.*
44
!.gitattributes
5+
!.weblate.json
56

67
# Sphinx build files
78
_build/

.weblate.json

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"projects": {
3+
"odoo-17-doc": [
4+
{
5+
"name": "administration",
6+
"filemask": "locale/*/LC_MESSAGES/administration.po",
7+
"new_base": "locale/sources/administration.pot"
8+
},
9+
{
10+
"name": "applications",
11+
"filemask": "locale/*/LC_MESSAGES/applications.po",
12+
"new_base": "locale/sources/applications.pot"
13+
},
14+
{
15+
"name": "essentials",
16+
"filemask": "locale/*/LC_MESSAGES/essentials.po",
17+
"new_base": "locale/sources/essentials.pot"
18+
},
19+
{
20+
"name": "finance",
21+
"filemask": "locale/*/LC_MESSAGES/finance.po",
22+
"new_base": "locale/sources/finance.pot"
23+
},
24+
{
25+
"name": "general",
26+
"filemask": "locale/*/LC_MESSAGES/general.po",
27+
"new_base": "locale/sources/general.pot"
28+
},
29+
{
30+
"name": "hr",
31+
"filemask": "locale/*/LC_MESSAGES/hr.po",
32+
"new_base": "locale/sources/hr.pot"
33+
},
34+
{
35+
"name": "index",
36+
"filemask": "locale/*/LC_MESSAGES/index.po",
37+
"new_base": "locale/sources/index.pot"
38+
},
39+
{
40+
"name": "inventory_and_mrp",
41+
"filemask": "locale/*/LC_MESSAGES/inventory_and_mrp.po",
42+
"new_base": "locale/sources/inventory_and_mrp.pot"
43+
},
44+
{
45+
"name": "marketing",
46+
"filemask": "locale/*/LC_MESSAGES/marketing.po",
47+
"new_base": "locale/sources/marketing.pot"
48+
},
49+
{
50+
"name": "productivity",
51+
"filemask": "locale/*/LC_MESSAGES/productivity.po",
52+
"new_base": "locale/sources/productivity.pot"
53+
},
54+
{
55+
"name": "sales",
56+
"filemask": "locale/*/LC_MESSAGES/sales.po",
57+
"new_base": "locale/sources/sales.pot"
58+
},
59+
{
60+
"name": "services",
61+
"filemask": "locale/*/LC_MESSAGES/services.po",
62+
"new_base": "locale/sources/services.pot"
63+
},
64+
{
65+
"name": "studio",
66+
"filemask": "locale/*/LC_MESSAGES/studio.po",
67+
"new_base": "locale/sources/studio.pot"
68+
},
69+
{
70+
"name": "user_settings",
71+
"filemask": "locale/*/LC_MESSAGES/settings.po",
72+
"new_base": "locale/sources/settings.pot"
73+
},
74+
{
75+
"name": "websites",
76+
"filemask": "locale/*/LC_MESSAGES/websites.po",
77+
"new_base": "locale/sources/websites.pot"
78+
}
79+
]
80+
}
81+
}

0 commit comments

Comments
 (0)