Joined: 19 Jun 2010 Posts: 2178 Location: Burghaslach, Germany somewhere also known as "Hosla"
Posted: Sun 12 Jun 2011, 14:03 Post_subject:
Re: PPowerOff 001 Sub_title: A localizable poweroff/restart/restart X/logout dialog
To localize this thingy, open /usr/bin/ppoweroff and see how locales work, it's very easy
Please have a look at my version where localization is made by GNU gettext.
It is very easy too.
- You can inspect other languages without having installed the locale using the system variable LANGUAGE.
- no English language file
- improved usability by keyboard shortcuts e.g. _cancel makes Alt-C short for cancel. this can be done in every language.
e.g. to see it in arabic type in console:
included languages are: ar de el es fr iw ru and sv (for nooby )
The translations are, of course just g**gle's . (made by gxlat)
Attached pet installs it as gpoweroff so that there is no conflict.
run it alternatively to ppoweroff 8 languages included