[GRASS-SVN] r71344 - grass/trunk/locale
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 8 13:30:38 PDT 2017
Author: neteler
Date: 2017-08-08 13:30:37 -0700 (Tue, 08 Aug 2017)
New Revision: 71344
Modified:
grass/trunk/locale/README
Log:
i18N: towards better documentation with translations managed in Transifex
Modified: grass/trunk/locale/README
===================================================================
--- grass/trunk/locale/README 2017-08-08 19:56:51 UTC (rev 71343)
+++ grass/trunk/locale/README 2017-08-08 20:30:37 UTC (rev 71344)
@@ -118,8 +118,10 @@
POT files [1] ----> PO files [2] ----> update PO files [3] ----> PO merge + MO files [4]
(original (translated (updating of msgs (final binary message file,
- messages) messages) in Trensifex) used by GRASS GIS modules)
+ messages) messages) in Transifex) used by GRASS GIS modules)
+ see also: https://grasswiki.osgeo.org/wiki/GRASS_messages_translation#Get_the_translated_po_files
+
[1] .pot files are auto-generated on grass.osgeo.org and
stored in https://grass.osgeo.org/grass72/binary/linux/snapshot/transifex/
--> cronjob: /home/neteler/cronjobs/cron_grass72_releasebranch_72_build_bins.sh
@@ -131,8 +133,13 @@
[4] Updated po files are taken from Transifex and merged into GRASS GIS source repo
(MO files are generated when compiling GRASS GIS)
+ Script: grass-addons/tools/transifex_merge.sh
+ # trim disconnected=obsolete translations
+ POFILE=grassYXZ_LANG.po
+ msgattrib --output-file=$POFILE --no-obsolete $POFILE
+
Semi-automated procedure:
1. In the main GRASS source code directory, run:
More information about the grass-commit
mailing list