BirdNET-stream/www/bin/translate.sh

8 lines
238 B
Bash
Executable File

#! /usr/bin/env bash
LANGUAGES="fr es"
# Extract and update translation files
for LANGUAGE in $LANGUAGES; do
php bin/console translation:extract --dump-messages $LANGUAGE
php bin/console translation:extract --force $LANGUAGE
done