15 lines
277 B
Bash
15 lines
277 B
Bash
#!/bin/bash
|
|
|
|
cd content
|
|
|
|
|
|
for lang in de es fr ru
|
|
do
|
|
for file in _index help/openai help/hugginface
|
|
do
|
|
echo "Generating $lang/${file}.md"
|
|
~/.local/bin/md2po "${file}.md" --pofiles "$lang/${file}.po" --quiet --save "$lang/${file}.md"
|
|
done
|
|
done
|
|
|
|
cd .. |