pages/gen_po.sh
0xMRTT 933e363f28
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix: add mdpo
2023-05-14 20:50:10 +02:00

16 lines
289 B
Bash

#!/bin/bash
cd content
pip install mdpo --user
for lang in de es fr ru
do
for file in _index help/openai help/hugginface
do
echo "Generating $lang/${file}.po from ${file}.md"
md2po "${file}.md" --quiet --save --po-filepath "$lang/${file}.po"
done
done
cd ..