aboutsummaryrefslogtreecommitdiff
path: root/docs/i18n
diff options
context:
space:
mode:
authorGravatar Inverle <inverle@proton.me> 2025-07-16 16:11:51 +0200
committerGravatar GitHub <noreply@github.com> 2025-07-16 16:11:51 +0200
commitf9a42adadec9acd259c205727c95bd6f376dfbc5 (patch)
treeb576ba4ac948466389de30487c506ae04dd71d24 /docs/i18n
parent5f61e426dc90b7b697a46da009af2fc88eed3ad0 (diff)
Show translation status in README.md (#7715)
* Show translation status in README.md * Fix colon * markdownlint: Allow tag `<translations>` * Use mostly Unicode flags instead * Only `oc.svg` remains in an image format * `check.translation.php` still supports `.png` even though there aren't any PNGs as of right now * Fix CodeSniffer * Attempt approach with generating local SVGs * Fixes for local SVG approach * Cleanup old code * PHPStan fix * Remove decimal precision from percentages * Suggestions + better error messages * codesniffer fix v2 * Revert `ghSearchUrl` change * Generate readme * Fix syntax highlight, maybe * Regenerate * Update help message * Use existing translation files instead of .txt * Add test against wrong Unicode flag --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'docs/i18n')
-rw-r--r--docs/i18n/flags/README.md5
-rw-r--r--docs/i18n/flags/gen/cs.svg7
-rw-r--r--docs/i18n/flags/gen/de.svg7
-rw-r--r--docs/i18n/flags/gen/el.svg7
-rw-r--r--docs/i18n/flags/gen/en-us.svg7
-rw-r--r--docs/i18n/flags/gen/en.svg7
-rw-r--r--docs/i18n/flags/gen/es.svg7
-rw-r--r--docs/i18n/flags/gen/fa.svg7
-rw-r--r--docs/i18n/flags/gen/fi.svg7
-rw-r--r--docs/i18n/flags/gen/fr.svg7
-rw-r--r--docs/i18n/flags/gen/he.svg7
-rw-r--r--docs/i18n/flags/gen/hu.svg7
-rw-r--r--docs/i18n/flags/gen/id.svg7
-rw-r--r--docs/i18n/flags/gen/it.svg7
-rw-r--r--docs/i18n/flags/gen/ja.svg7
-rw-r--r--docs/i18n/flags/gen/ko.svg7
-rw-r--r--docs/i18n/flags/gen/lv.svg7
-rw-r--r--docs/i18n/flags/gen/nl.svg7
-rw-r--r--docs/i18n/flags/gen/oc.svg10
-rw-r--r--docs/i18n/flags/gen/pl.svg7
-rw-r--r--docs/i18n/flags/gen/pt-br.svg7
-rw-r--r--docs/i18n/flags/gen/pt-pt.svg7
-rw-r--r--docs/i18n/flags/gen/ru.svg7
-rw-r--r--docs/i18n/flags/gen/sk.svg7
-rw-r--r--docs/i18n/flags/gen/tr.svg7
-rw-r--r--docs/i18n/flags/gen/zh-cn.svg7
-rw-r--r--docs/i18n/flags/gen/zh-tw.svg7
-rw-r--r--docs/i18n/flags/oc.svg1
28 files changed, 191 insertions, 0 deletions
diff --git a/docs/i18n/flags/README.md b/docs/i18n/flags/README.md
new file mode 100644
index 000000000..10443f0d9
--- /dev/null
+++ b/docs/i18n/flags/README.md
@@ -0,0 +1,5 @@
+Used by [check.translation.php](../../../cli/check.translation.php)
+
+See also the translation key `gen.flag` for Unicode flags.
+
+Put an SVG here when the Unicode flag does not exist or does not have sufficient implementation support.
diff --git a/docs/i18n/flags/gen/cs.svg b/docs/i18n/flags/gen/cs.svg
new file mode 100644
index 000000000..03d106cd4
--- /dev/null
+++ b/docs/i18n/flags/gen/cs.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇨🇿 91%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/de.svg b/docs/i18n/flags/gen/de.svg
new file mode 100644
index 000000000..e159e6658
--- /dev/null
+++ b/docs/i18n/flags/gen/de.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇩🇪 96%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/el.svg b/docs/i18n/flags/gen/el.svg
new file mode 100644
index 000000000..46a4486da
--- /dev/null
+++ b/docs/i18n/flags/gen/el.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="darkred" />
+ <text x="34" y="14">🇬🇷 23%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/en-us.svg b/docs/i18n/flags/gen/en-us.svg
new file mode 100644
index 000000000..ba7f59f32
--- /dev/null
+++ b/docs/i18n/flags/gen/en-us.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇺🇸 100%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/en.svg b/docs/i18n/flags/gen/en.svg
new file mode 100644
index 000000000..96dca892e
--- /dev/null
+++ b/docs/i18n/flags/gen/en.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇬🇧 100%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/es.svg b/docs/i18n/flags/gen/es.svg
new file mode 100644
index 000000000..f534a65b9
--- /dev/null
+++ b/docs/i18n/flags/gen/es.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇪🇸 94%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/fa.svg b/docs/i18n/flags/gen/fa.svg
new file mode 100644
index 000000000..022372f91
--- /dev/null
+++ b/docs/i18n/flags/gen/fa.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="gold" />
+ <text x="34" y="14">🇮🇷 79%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/fi.svg b/docs/i18n/flags/gen/fi.svg
new file mode 100644
index 000000000..1265402b9
--- /dev/null
+++ b/docs/i18n/flags/gen/fi.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇫🇮 95%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/fr.svg b/docs/i18n/flags/gen/fr.svg
new file mode 100644
index 000000000..315726e5c
--- /dev/null
+++ b/docs/i18n/flags/gen/fr.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇫🇷 100%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/he.svg b/docs/i18n/flags/gen/he.svg
new file mode 100644
index 000000000..7f81280a5
--- /dev/null
+++ b/docs/i18n/flags/gen/he.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="darkred" />
+ <text x="34" y="14">🇮🇱 46%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/hu.svg b/docs/i18n/flags/gen/hu.svg
new file mode 100644
index 000000000..6c78ec856
--- /dev/null
+++ b/docs/i18n/flags/gen/hu.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇭🇺 98%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/id.svg b/docs/i18n/flags/gen/id.svg
new file mode 100644
index 000000000..45745ee5e
--- /dev/null
+++ b/docs/i18n/flags/gen/id.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇮🇩 99%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/it.svg b/docs/i18n/flags/gen/it.svg
new file mode 100644
index 000000000..b8aec2a54
--- /dev/null
+++ b/docs/i18n/flags/gen/it.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇮🇹 99%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/ja.svg b/docs/i18n/flags/gen/ja.svg
new file mode 100644
index 000000000..41d996d46
--- /dev/null
+++ b/docs/i18n/flags/gen/ja.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇯🇵 98%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/ko.svg b/docs/i18n/flags/gen/ko.svg
new file mode 100644
index 000000000..48b9a42e1
--- /dev/null
+++ b/docs/i18n/flags/gen/ko.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇰🇷 91%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/lv.svg b/docs/i18n/flags/gen/lv.svg
new file mode 100644
index 000000000..0453d3f20
--- /dev/null
+++ b/docs/i18n/flags/gen/lv.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="gold" />
+ <text x="34" y="14">🇱🇻 85%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/nl.svg b/docs/i18n/flags/gen/nl.svg
new file mode 100644
index 000000000..12479be4e
--- /dev/null
+++ b/docs/i18n/flags/gen/nl.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇳🇱 92%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/oc.svg b/docs/i18n/flags/gen/oc.svg
new file mode 100644
index 000000000..266d58770
--- /dev/null
+++ b/docs/i18n/flags/gen/oc.svg
@@ -0,0 +1,10 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="gold" />
+ <!-- embedded SVG -->
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 797.96 530.973" width="16" height="16" x="9" y="2"><path fill="#d4001c" d="M0 0h797.96v530.973H0z"/><g fill="#fddd00"><path d="m184.195 267 9.126 7.138c14.632 11.443 38.501 35.909 45.015 77.3l1.721 10.924 8.361-7.312c14.038-12.277 55.754-44.434 116.757-53.224-8.792 61.003-40.948 102.718-53.224 116.756l-7.313 8.361 10.924 1.721c41.392 6.515 65.857 30.383 77.301 45.015l7.137 9.126 7.138-9.126c11.443-14.632 35.908-38.5 77.3-45.015l10.924-1.721-7.313-8.361c-12.276-14.038-44.432-55.753-53.224-116.756 61.003 8.79 102.719 40.947 116.757 53.224l8.361 7.312 1.72-10.924c6.515-41.391 30.384-65.857 45.015-77.3l9.127-7.138-9.127-7.138c-14.631-11.443-38.5-35.908-45.015-77.299l-1.72-10.925-8.361 7.312c-14.038 12.277-55.754 44.434-116.757 53.225 8.792-61.003 40.948-102.719 53.224-116.756l7.313-8.362-10.924-1.72c-41.392-6.516-65.857-30.384-77.3-45.016L400 51.195l-7.137 9.126c-11.444 14.632-35.909 38.5-77.301 45.016l-10.924 1.72 7.313 8.362c12.276 14.037 44.432 55.753 53.224 116.756-61.003-8.791-102.719-40.948-116.757-53.225l-8.361-7.312-1.721 10.925c-6.514 41.391-30.383 65.856-45.015 77.299zm35.126 0c27.829-25.798 34.255-54.425 34.255-54.425 40.626 34.242 103.986 41.96 135.665 43.666-1.707-31.679-9.424-95.039-43.666-135.666 0 0 28.626-6.425 54.425-34.255 25.799 27.83 54.425 34.255 54.425 34.255-34.242 40.627-41.959 103.987-43.666 135.666 31.679-1.706 95.039-9.424 135.665-43.666 0 0 6.426 28.627 34.255 54.425-27.829 25.799-34.255 54.425-34.255 54.425-40.626-34.242-103.986-41.96-135.665-43.666 1.707 31.679 9.424 95.039 43.666 135.666 0 0-28.626 6.425-54.425 34.255-25.799-27.83-54.425-34.255-54.425-34.255 34.242-40.627 41.959-103.987 43.666-135.666-31.679 1.706-95.039 9.424-135.665 43.666 0 0-6.426-28.626-34.255-54.425"/><circle cx="176.775" cy="267" r="18"/><circle cx="237.575" cy="164.576" r="18"/><circle cx="237.575" cy="369.425" r="18"/><circle cx="297.576" cy="104.575" r="18"/><circle cx="297.576" cy="429.426" r="18"/><circle cx="400" cy="43.774" r="18"/><circle cx="400" cy="490.226" r="18"/><circle cx="502.424" cy="104.575" r="18"/><circle cx="502.424" cy="429.426" r="18"/><circle cx="562.425" cy="164.576" r="18"/><circle cx="562.425" cy="369.425" r="18"/><circle cx="623.226" cy="267" r="18"/></g></svg>
+ <!-- end of embedded SVG -->
+ <text x="43" y="14">84%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/pl.svg b/docs/i18n/flags/gen/pl.svg
new file mode 100644
index 000000000..e0ac841df
--- /dev/null
+++ b/docs/i18n/flags/gen/pl.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇵🇱 99%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/pt-br.svg b/docs/i18n/flags/gen/pt-br.svg
new file mode 100644
index 000000000..076972ebd
--- /dev/null
+++ b/docs/i18n/flags/gen/pt-br.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇧🇷 91%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/pt-pt.svg b/docs/i18n/flags/gen/pt-pt.svg
new file mode 100644
index 000000000..e6363b435
--- /dev/null
+++ b/docs/i18n/flags/gen/pt-pt.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇵🇹 91%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/ru.svg b/docs/i18n/flags/gen/ru.svg
new file mode 100644
index 000000000..e5e2e322e
--- /dev/null
+++ b/docs/i18n/flags/gen/ru.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇷🇺 91%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/sk.svg b/docs/i18n/flags/gen/sk.svg
new file mode 100644
index 000000000..04185a75b
--- /dev/null
+++ b/docs/i18n/flags/gen/sk.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇸🇰 91%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/tr.svg b/docs/i18n/flags/gen/tr.svg
new file mode 100644
index 000000000..f62f7d2f5
--- /dev/null
+++ b/docs/i18n/flags/gen/tr.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇹🇷 99%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/zh-cn.svg b/docs/i18n/flags/gen/zh-cn.svg
new file mode 100644
index 000000000..1b2a7b559
--- /dev/null
+++ b/docs/i18n/flags/gen/zh-cn.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇨🇳 91%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/gen/zh-tw.svg b/docs/i18n/flags/gen/zh-tw.svg
new file mode 100644
index 000000000..c76459ef3
--- /dev/null
+++ b/docs/i18n/flags/gen/zh-tw.svg
@@ -0,0 +1,7 @@
+<!-- This file is automatically generated by `cli/check.translation.php -g` -->
+<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20">
+ <g fill="white" font-size="12" font-family="Verdana" text-anchor="middle">
+ <rect rx="3" width="70" height="20" fill="green" />
+ <text x="34" y="14">🇹🇼 91%</text>
+ </g>
+</svg> \ No newline at end of file
diff --git a/docs/i18n/flags/oc.svg b/docs/i18n/flags/oc.svg
new file mode 100644
index 000000000..e7ddfed8e
--- /dev/null
+++ b/docs/i18n/flags/oc.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="797.96" height="530.973" viewBox="0 0 797.96 530.973"><path fill="#d4001c" d="M0 0h797.96v530.973H0z"/><g fill="#fddd00"><path d="m184.195 267 9.126 7.138c14.632 11.443 38.501 35.909 45.015 77.3l1.721 10.924 8.361-7.312c14.038-12.277 55.754-44.434 116.757-53.224-8.792 61.003-40.948 102.718-53.224 116.756l-7.313 8.361 10.924 1.721c41.392 6.515 65.857 30.383 77.301 45.015l7.137 9.126 7.138-9.126c11.443-14.632 35.908-38.5 77.3-45.015l10.924-1.721-7.313-8.361c-12.276-14.038-44.432-55.753-53.224-116.756 61.003 8.79 102.719 40.947 116.757 53.224l8.361 7.312 1.72-10.924c6.515-41.391 30.384-65.857 45.015-77.3l9.127-7.138-9.127-7.138c-14.631-11.443-38.5-35.908-45.015-77.299l-1.72-10.925-8.361 7.312c-14.038 12.277-55.754 44.434-116.757 53.225 8.792-61.003 40.948-102.719 53.224-116.756l7.313-8.362-10.924-1.72c-41.392-6.516-65.857-30.384-77.3-45.016L400 51.195l-7.137 9.126c-11.444 14.632-35.909 38.5-77.301 45.016l-10.924 1.72 7.313 8.362c12.276 14.037 44.432 55.753 53.224 116.756-61.003-8.791-102.719-40.948-116.757-53.225l-8.361-7.312-1.721 10.925c-6.514 41.391-30.383 65.856-45.015 77.299zm35.126 0c27.829-25.798 34.255-54.425 34.255-54.425 40.626 34.242 103.986 41.96 135.665 43.666-1.707-31.679-9.424-95.039-43.666-135.666 0 0 28.626-6.425 54.425-34.255 25.799 27.83 54.425 34.255 54.425 34.255-34.242 40.627-41.959 103.987-43.666 135.666 31.679-1.706 95.039-9.424 135.665-43.666 0 0 6.426 28.627 34.255 54.425-27.829 25.799-34.255 54.425-34.255 54.425-40.626-34.242-103.986-41.96-135.665-43.666 1.707 31.679 9.424 95.039 43.666 135.666 0 0-28.626 6.425-54.425 34.255-25.799-27.83-54.425-34.255-54.425-34.255 34.242-40.627 41.959-103.987 43.666-135.666-31.679 1.706-95.039 9.424-135.665 43.666 0 0-6.426-28.626-34.255-54.425"/><circle cx="176.775" cy="267" r="18"/><circle cx="237.575" cy="164.576" r="18"/><circle cx="237.575" cy="369.425" r="18"/><circle cx="297.576" cy="104.575" r="18"/><circle cx="297.576" cy="429.426" r="18"/><circle cx="400" cy="43.774" r="18"/><circle cx="400" cy="490.226" r="18"/><circle cx="502.424" cy="104.575" r="18"/><circle cx="502.424" cy="429.426" r="18"/><circle cx="562.425" cy="164.576" r="18"/><circle cx="562.425" cy="369.425" r="18"/><circle cx="623.226" cy="267" r="18"/></g></svg> \ No newline at end of file