Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2501

Common actions and transl

From "Karsten Wutzke" <karsten.wutzke@THRWHITE.remove-dii-this>
Subject Common actions and transl
Message-ID <1190283744.200201.89220@w3g2000hsg.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
Date 2011-04-27 15:39 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Hello!

I'm wondering about repeatingly occurring actions in an application or
application framework. Most often, actions are repeated *many* times
inside an application, today most of them also need to be localized so
that the actual button will reflect the user readable state.

"ok" ----"en_US"----> "OK", "Accept", "o"
"ok" ----"de_DE"----> "OK", "Akzeptieren", "a"
"ok" ----"fr_FR"----> "OK", "Accepter", "a" ???

"cancel" ----"en_US"----> "OK", "Cancel", "c"
"cancel" ----"de_DE"----> "OK", "Abbrechen", "a"
"cancel" ----"fr_FR"----> "OK", "Annuler", "a" ???

.
.
.

These actions are:

ok
cancel
yes
no
accept
decline
apply
revert/restore/reset (defaults)
close
retry
next
previous
up
down
back
help

The above are mostly actions that are found in dialogs. Many other
common actions via menus include:

FILE
new
open
save
save as
close
print
exit

EDIT
undo
redo
cut
copy
paste
delete
search
searchon

VIEW
scaleup
scaledown

EXTRAS?
addons
plugins
settings
...?

HELP
help
jreinfo
about

Common popup actions could be:

cut (again)
copy (again)
paste (again)
delete (again)
properties
...

The UPPERCASE entries are groups (e.g. resulting in a JMenu or nothing
as when displaying a JPopupMenu)
... (list not complete)

By concept the approach is comparable to what "icon sets" deliver. An
icon set delivers a set of common images for all kinds of
applications, an "action set" would deliver localized text, tooltips,
mnemonics, and sometimes accelerators.

Are there any (somewhat) standardized ResourceBundles available
somewhere that *translate* all/most of the common action descriptions
for the most common locales/languages? Does such a thing exist at all?
Has anyone ever written such a thing?

The problem about writing one myself is I only speak English and
German, some French, but after that I'd depend on people from other
countries or use some translating tool *g*. I'd have no problem
starting such an effort and provide that solution to the rest of the
world.

I'd be happy to start with the common *dialog* actions listed at the
very top.

I could really use your input on the topic, but any useful help is
greatly appreciated!

Karsten

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Common actions and transl "Karsten Wutzke" <karsten.wutzke@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
  Re: Common actions and tr "Karsten Wutzke" <karsten.wutzke@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
  Re: Common actions and tr "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
    Re: Common actions and tr "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
  Re: Common actions and tr "Laurent D.A.M. MENTEN" <laurent.d.a.m..menten@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000

csiph-web