This repository has been archived on 2026-07-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
main-website/update-translation.sh
T
2023-01-06 20:41:03 +01:00

4 lines
246 B
Bash
Executable File

#!/bin/bash
xgettext --from-code UTF-8 -o locale/main-website.pot `find . -iname '*.php'`
for translation in `find locale -iname '*.po'`; do msgmerge -U "$translation" locale/main-website.pot; msgfmt -o ${translation:0:-2}mo "$translation"; done