Install
- maybe you need first: *gem sources -a http://gems.github.com`
gem install kdegettext
for your standard ruby version
gem1.9 install kdegettext
for other ruby versions (command may be slightly differ on your ruby installation)
Acknowledgments
Bugs
- in ruby1.8 the hash (TargetList) is not sorted -> output in po is not sorted for line numbers
- IMPORTANT!: This program might work only in a login console (
su - user
) and/or with ruby v1.9
Dependencies
- should me installed automatically via gem
- otherwise manual installation via
- ruby 1.8:
gem install locale gettext ruby_parser sexp_processor
- ruby 1.9:
gem1.9 install locale gettext ruby_parser sexp_processor
Usage
kdegettext.rb file_1.rb [file2_rb, ...]
- with other ruby version:
ruby1.9 /usr/bin/kgettext.rb file_1.rb [file2_rb, ...]