Re: Script to get all PO files
- From: Rafael Ferreira <rafael f f1 gmail com>
- To: Enrico Nicoletto <liverig gmail com>
- Cc: GNOME i18n list <gnome-i18n gnome org>
- Subject: Re: Script to get all PO files
- Date: Mon, 4 Nov 2013 18:03:49 -0200
I believe that's it:
### Download all PO files to inside a folder (can use 'gmirr.sh' or 'mt.sh'). Set LANG accordingly.
lang=pt_BR
tempfile=$(mktemp)
ls -R *.$lang.po > $tempfile
msgcat -f $tempfile -o gnome-$lang.po -u -t UTF-8 --lang=$lang --no-wrap -F -n
po2tmx -i gnome-$lang.po -o gnome-$lang.tmx -l $lang
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]