Add translation

This commit is contained in:
2022-12-31 21:27:40 +01:00
parent 32cbcc35cc
commit a8ebc0d9bb
14 changed files with 2344 additions and 346 deletions

3
update-translation.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
xgettext -o locale/mail-hosting.pot `find . -iname '*.php'`
for translation in `find locale -iname '*.po'`; do msgmerge -U "$translation" locale/mail-hosting.pot; msgfmt -o ${translation:0:-2}mo "$translation"; done