pages/gen_po.sh

15 lines
284 B
Bash
Raw Normal View History

2023-05-14 18:49:11 +00:00
#!/bin/bash
2023-05-14 18:38:00 +00:00
cd content
for lang in de es fr ru
do
for file in _index help/openai help/hugginface
do
2023-05-14 19:36:20 +00:00
echo "Generating $lang/${file}.md.po from ${file}.md"
~/.local/bin/md2po "${file}.md" --quiet --save --po-filepath "$lang/${file}.md.po"
2023-05-14 18:38:00 +00:00
done
done
2023-05-14 18:49:11 +00:00
2023-05-14 19:36:20 +00:00
cd ..