13 lines
264 B
Bash
13 lines
264 B
Bash
|
cd content
|
||
|
#pip install md2po
|
||
|
|
||
|
|
||
|
for lang in de es fr ru
|
||
|
do
|
||
|
for file in _index help/openai help/hugginface
|
||
|
do
|
||
|
echo "Generating $lang/${file}.md"
|
||
|
po2md "${file}.md" --pofiles "$lang/${file}.po" --quiet --save "$lang/${file}.md"
|
||
|
done
|
||
|
done
|