and/or Switching between languages of desktop (xwin.mo required)
EDIT: jwm menu, desktop icons and wbar titles /EDIT
EDIT: and rox right click text /EDIT
Needed: mo file of that app in /usr/share/locale(<LANGUAGE>/textdomain.mo (or the entire langpack)
Code: Select all
# set_LANGUAGE_and_launch_app -h
usage: set_LANGUAGE_and_launch_app textdomain [ "app [ argument(s) ]..." ]
app only needed if different from textdomain
choose a language from available textdomains
app will be launched in chosen language or English if cancelled
-h this help
-v version
Examples:
set_LANGUAGE_and_launch_app xwin
set_LANGUAGE_and_launch_app geany "geany /root/my-applications/bin/README-my-applications-bin.txt"
#
EDIT
version 1.2
fit for use with Firstrun (quicksetup) now
EDIT
version 1.1
roxOpenWith(right-click) text (ex:Search with Pfind) translatable now
EDIT
version 1.0
support for wbar simpler now
EDIT
version 0.7
support for wbar added
EDIT
version 0.6
use desktop icon (from languageicon.org) only for changing desktop language
EDIT
version 0.5
use jwm menu only for changing desktop language
EDIT
version 0.4
- apps launched from menu come up in language of menu
- console prompts language for languages other than original language
EDIT
version 0.3 can switch jwm menu and rox desktop between several installed languages