Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Daniel Quinlan <quinlan@pa...> - 2003-02-03 23:54:53
I'm trying to figure out the best way to add "Languages" configuration
to the SAproxy configuration dialog (probably on the existing "Settings"
tab). This is for the SA test that detects languages or locales that
are undesired by the recipient. The text configuration options that
this will tie into are "ok_languages" and "ok_locales".
In the Deersoft version, I think they just have a single checkbox to
turn the languages checking on or off. Then, they have a large number
of radio buttons to select which individual languages are okay (there
are some 64 languages supported right now, I don't think they had all 64
listed, but I didn't count when I last saw it either). That's clearly
the easy way to go, but it seems a bit clunky to me.
I'm thinking about:
- a Checkbox labeled "Accept any language"
- a Listbox to show the current list of "Accepted Languages" to be used
if the checkbox is not checked
- a Combobox (or single selection Listbox) with the complete list of
- an "Add" and "Remove" button that either adds the selected item from
the "Available Languages" Combobox or removes the selected item from
the "Accepted Languages" Listbox
Does that seem like the best way to do this? It seems a little on the
hairy side (to get it working), but I can't think of a better way.
Daniel Quinlan Linux, open source, and
http://www.pathname.com/~quinlan/ anti-spam consulting