aboutsummaryrefslogtreecommitdiffhomepage
path: root/aux
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-08-02 03:47:16 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-08-02 03:55:22 +0200
commit5a92e842d4b3b45447284d93190c1b09394a1f30 (patch)
treea5c50e9db37b20933cf99b8cde1906dc5ff0e1e9 /aux
parent62df5a38c564bfe997c468d40e6d4d0988f348f3 (diff)
Generate locales programatically
Diffstat (limited to 'aux')
-rwxr-xr-xaux/enabled-languages11
1 files changed, 11 insertions, 0 deletions
diff --git a/aux/enabled-languages b/aux/enabled-languages
new file mode 100755
index 0000000..6023443
--- /dev/null
+++ b/aux/enabled-languages
@@ -0,0 +1,11 @@
+#!/usr/bin/python3
+
+import os
+import sys
+
+os.chdir(os.path.dirname(sys.argv[0]))
+sys.path.append('..')
+
+import src.i18n.gen
+
+print(' '.join(x.bcp for x in src.i18n.gen.LOCALES if x.enabled)) \ No newline at end of file