diff options
Diffstat (limited to 'tools/README')
-rw-r--r-- | tools/README | 23 |
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. |