xtranslate 0.2 review

Download
by rbytes.net on

xtranslate is a tool to convert the text in the X11 selection buffer from ASCII to arbitrary UTF-8 characters. This is particularly

License: GPL (GNU General Public License)
File size: 0K
Developer: Nir Tzachar
0 stars award from rbytes.net

xtranslate is a tool to convert the text in the X11 selection buffer from ASCII to arbitrary UTF-8 characters.

This is particularly useful when you've accidentally typed some text while the keyboard was in the wrong language mode.

When invoked, xtranslate reads a conversion table from ~/.xtranslaterc (or a different location, passed with -c), translates the current X selection according to the table and answers selection requests with the converted string in utf8 encoding.

The best way for using xtranslate is in conjunction with xbindkeys. Add these lines to your .xbindkeysrc:

"xtranslate"
Control+Alt + t


Start xbindkeys, select text and press Control+Alt + t. You can now paste the converted string wherever you wish.

Currently, only a table for Hebrew conversion is provided. The format of the xtranslaterc file is as follows:

map ascii_char utf8_hex

For example, to convert the ascii character 'a' to utf8 0xd765, you will write:

map a 0xd7 0x65

xtranslate supports all utf8 characters, which must be provided by their hex representation.

if you're using something else than Hebrew, i'd appreciate if you'll send your xtranslaterc files to me.

What's New in This Release:
changed the format of rc file always request UTF8 as selection

xtranslate 0.2 keywords