BirdNET-stream/www/bin/translate.sh

8 lines
238 B
Bash
Raw Normal View History

2022-08-13 07:46:56 +02:00
#! /usr/bin/env bash
LANGUAGES="fr es"
2022-08-13 07:46:56 +02:00
# 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