[sword-devel] locales

Jonathan Marsden jmarsden at fastmail.fm
Sun Apr 26 15:04:52 MST 2009

Troy A. Griffitts wrote:

> GE=1 instead of GE=Gen

> af.conf
> mt-utf8.conf
> zh_english-utf8.conf
> zh_TW-utf8.conf

I wrote a little script that does

sed \
s/=1$/=Gen/ \

(Rather than typing all that out, I got the list of abbrevs by cut and
paste from the OSIS manual and then used nl to number them and a few
emacs search and replaces to create the sed expressions)

Then I ran it on all these conf files:

  for i in *.conf ; do mv $i $i.bak ./abbr-convert.sh <$i.bak >$i ; done

Diffing the before and after .conf files, the results seem sane to me.

The script is called abbr-convert.sh, and it and the four converted
.conf files are downloadable at:


I think this is all that is needed?


More information about the sword-devel mailing list