Commit 55e4b5b6 authored by Aleix Pol's avatar Aleix Pol 😾

Merge branch 'master' into 'master'

Traducció de documents via https://translate.zanata.org/

See merge request !49
parents 76f62ea3 9322df25
Pipeline #49386213 passed with stage
in 1 minute and 21 seconds
......@@ -2,5 +2,7 @@ _site
web/_site
web/.sass-cache
web/.jekyll-metadata
.zanata-cache/
.sass-cache
*~
\ No newline at end of file
# Translation of documents in this repo
## Translate
Create an account at https://translate.zanata.org/account/register.
Then go to https://translate.zanata.org/project/view/apoderamentdigital.
## Keep translations in sync (repo admin)
Prerequisites:
* [po4a](https://po4a.org/download.php)
* [Zanata CLI](http://docs.zanata.org/en/latest/client/)
The following commands use document `la_guia/ESTRATEGIES.md` as example and `es` (spanish) as the language to translate to (from our master in catalan).
Once per document, do:
po4a-gettextize -m la_guia/ESTRATEGIES.md -f text -o markdown -o neverwrap -M utf8 -p po_files/es/ESTRATEGIES.po
po4a-gettextize -m la_guia/ESTRATEGIES.md -f text -o markdown -o neverwrap -M utf8 -p po_files/pot/ESTRATEGIES.pot
zanata-cli push -l es --push-type both
After modifying the spanish version online in Zanata, do:
zanata-cli pull -l es
po4a-translate -m la_guia/ESTRATEGIES.md -f text -o markdown -o neverwrap -M utf8 -p po_files/es/ESTRATEGIES.po -l locale/es/ESTRATEGIES.md -k 0 -w 10000
After modifying the catalan version (master) offline, do:
po4a-updatepo -m la_guia/ESTRATEGIES.md -f text -o markdown -o neverwrap -M utf8 -p po_files/es/ESTRATEGIES.po
po4a-updatepo -m la_guia/ESTRATEGIES.md -f text -o markdown -o neverwrap -M utf8 -p po_files/pot/ESTRATEGIES.pot
zanata-cli push -l es --push-type both
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<config xmlns="http://zanata.org/namespace/config/">
<url>https://translate.zanata.org/</url>
<project>apoderamentdigital</project>
<project-version>0.1</project-version>
<project-type>podir</project-type>
<src-dir>po_files/pot</src-dir>
<trans-dir>po_files</trans-dir>
<rules/>
</config>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment