summaryrefslogtreecommitdiffstats
path: root/tools/README
diff options
context:
space:
mode:
authorSimon Rettberg2016-07-29 17:17:34 +0200
committerSimon Rettberg2016-07-29 17:17:34 +0200
commit4b05a55da273e068aa48f02af61c5a5c0f4da2d9 (patch)
tree80b02bcfb4b88fa93cc2a3cf9e43a15ad5e09b6d /tools/README
parent[statistics] Fix minor layout issues (diff)
downloadslx-admin-4b05a55da273e068aa48f02af61c5a5c0f4da2d9.tar.gz
slx-admin-4b05a55da273e068aa48f02af61c5a5c0f4da2d9.tar.xz
slx-admin-4b05a55da273e068aa48f02af61c5a5c0f4da2d9.zip
Add ugly scripts to transform translation files to new format
Diffstat (limited to 'tools/README')
-rw-r--r--tools/README23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/README b/tools/README
new file mode 100644
index 00000000..969fd5b3
--- /dev/null
+++ b/tools/README
@@ -0,0 +1,23 @@
+The tools in this directory must be run when the current working directory
+is the slx-admin root.
+
+Warning: These scripts are very quick and dirty, so make sure to ONLY run
+them if your working set is clean, so you can check "git diff" first and
+revert easily if something goes wrong.
+
+
+-- move-lang-files.sh
+This is supposed to be run first.
+Move translation files from ./lang/... to ./modules/<mod>/lang/...
+Pass either "modules" or "templates" as parameter
+
+-- convert-modules.php
+Run on the command line via
+"php tools/convert-modules.php"
+This is supposed to somewhat intelligently merge and rearrange most
+of the remaining translations from the global lang directory to the
+respective modules.
+
+
+After running both scripts, double-check the git diff output and the
+web interface itself if in doubt.