standard-for-public-code / community-translations-standard

Unofficial translations of the Standard for Public Code, provided by the community.
https://publiccodenet.github.io/community-translations-standard/
Creative Commons Zero v1.0 Universal
5 stars 11 forks source link

Bash scripts to convert .md to and from .po for de (and more languages if configured) #23

Open SantosSi opened 2 years ago

SantosSi commented 2 years ago

Gettext .po translation files make the initial translation and also subsequent text changes a lot easier by its broad compatibility with desktop and online translation tools. Script markdown2PO.sh to convert from .md to .pot and to language specific po-files. Script PO2markdown.sh to convert from (potentially translated) language specific .po files and the original .md files into translated .md files (if done).

Ainali commented 2 years ago

Thanks @SantosSi ! Could you add some documentation on how to use the scripts as well?

SantosSi commented 2 years ago

Pushed another commit to resolve the above-mentioned documentation issue (and for the initial folder creation).

SantosSi commented 2 years ago

BTW: I intentionally limited my PR to only the scripts in order to see if the general solution is acceptable and before submitting what I already translated to 'de' using this method.