[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:misc:dokuwiki_versus_asciidoc_markups [2015/10/05 02:40 (UTC)] – didierspaier | howtos:misc:dokuwiki_versus_asciidoc_markups [2015/10/05 12:43 (UTC)] (current) – didierspaier | ||
---|---|---|---|
Line 10: | Line 10: | ||
DokuWiki source page => AsciiDoc source page => PO file => Translated PO file => AsciiDoc translated page => Dokuwiki translated page. | DokuWiki source page => AsciiDoc source page => PO file => Translated PO file => AsciiDoc translated page => Dokuwiki translated page. | ||
- | The'' | + | The '' |
* create a new (empty) text file | * create a new (empty) text file | ||
* click "edit this page" or "show pagesource" | * click "edit this page" or "show pagesource" | ||
Line 22: | Line 22: | ||
lokalize genuine.po # to translate. You could also use emacs or vim in PO mode, or poedit available @ slackbuilds.org | lokalize genuine.po # to translate. You could also use emacs or vim in PO mode, or poedit available @ slackbuilds.org | ||
po4a-translate -f asciidoc -m genuine.asc -p genuine.po -l translated.asc # to make an asciidoc file from your translation | po4a-translate -f asciidoc -m genuine.asc -p genuine.po -l translated.asc # to make an asciidoc file from your translation | ||
- | convtags ad translated.as translated.txt # convert back your translation to DokuWiki | + | convtags ad translated.asc translated.txt # convert back your translation to DokuWiki |
</ | </ | ||
You can then copy/paste the text of translated.txt as the source of the translated page. | You can then copy/paste the text of translated.txt as the source of the translated page. |