[texworks] [PATCH] add search for translations in "standard" directory

Vladimir Lomov lomov.vl at gmail.com
Wed Jan 7 07:14:18 CET 2015


Hello,

currently TeXworks searches for translation files only in ~/.TeXworks/translations
that is not convenient especially on Linux. I prepared small patch that
1) allows to search for translation files in "standard" directory,
   namely for Qt5 this is /usr/share/qt/translations (this is so on
   Archlinux, for other distribution this may be
   /usr/share/qt5/translations);
2) adds configuration to install TeXworks translation files into that
   directory so make it possible to use them;
3) adds configuration varible (TRANSLATIONS_DIR) to specify directory
   to where translation files should be installed.

I tested it on my system: Archlinux x86_64 with Qt5 and it works fine.

---
WBR, Vladimir Lomov

-- 
Facts are stubborn, but statistics are more pliable.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: distro-translations.patch
Type: text/x-diff
Size: 1930 bytes
Desc: not available
URL: <http://tug.org/pipermail/texworks/attachments/20150107/cfcc00a5/attachment.bin>


More information about the texworks mailing list