3 # This script gets the strings to internationalise from the source code
8 # get strings for french translation
9 echo Build strings for French
11 poFile=$I18HOME/fr/LC_MESSAGES/salomeTools.po
12 refFile=$I18HOME/fr/LC_MESSAGES/ref.pot
14 xgettext $SRC_DIR/*.py $SRC_DIR/common/*.py \
15 --no-wrap --no-location --language=Python --omit-header \
17 msgmerge -q --update $poFile $refFile
18 msgattrib --no-obsolete -o $poFile $poFile