

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
28 messages in net.sourceforge.lists.courier-sqwebmail[sqwebmail] Re: stale processes and m17n| From | Sent On | Attachments |
|---|---|---|
| oth...@freeshell.org | Dec 21, 2004 1:57 pm | |
| Brian Candler | Dec 28, 2004 3:11 am | |
| Sam Varshavchik | Dec 28, 2004 4:16 am | |
| Paul L. Allen | Dec 28, 2004 11:32 am | |
| oth...@freeshell.org | Dec 28, 2004 7:45 pm | |
| oth...@freeshell.org | Dec 28, 2004 8:45 pm | |
| oth...@freeshell.org | Dec 28, 2004 9:02 pm | |
| Paul L. Allen | Dec 29, 2004 3:28 am | |
| oth...@freeshell.org | Dec 29, 2004 11:39 am | |
| Paul L. Allen | Dec 29, 2004 1:18 pm | |
| oth...@freeshell.org | Dec 29, 2004 2:34 pm | |
| Paul L. Allen | Dec 29, 2004 4:50 pm | |
| oth...@freeshell.org | Dec 29, 2004 9:08 pm | |
| Brian Candler | Dec 30, 2004 1:10 am | |
| Brian Candler | Dec 30, 2004 2:29 am | |
| Paul L. Allen | Dec 30, 2004 9:56 am | |
| Paul L. Allen | Dec 30, 2004 12:15 pm | |
| oth...@freeshell.org | Dec 30, 2004 2:39 pm | |
| oth...@freeshell.org | Dec 30, 2004 3:14 pm | |
| Paul L. Allen | Dec 30, 2004 4:07 pm | |
| Brian Candler | Dec 31, 2004 2:40 am | |
| Laurent Wacrenier | Dec 31, 2004 3:00 am | |
| Paul L. Allen | Dec 31, 2004 3:41 am | |
| Brian Candler | Dec 31, 2004 4:11 am | |
| Pawel Tecza | Dec 31, 2004 4:47 am | |
| Laurent Wacrenier | Dec 31, 2004 5:22 am | |
| Brian Candler | Jan 1, 2005 4:45 am | |
| Brian Candler | Jan 1, 2005 5:17 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [sqwebmail] Re: stale processes and m17n | Actions... |
|---|---|---|
| From: | Paul L. Allen (pl...@softflare.com) | |
| Date: | Dec 28, 2004 11:32:32 am | |
| List: | net.sourceforge.lists.courier-sqwebmail | |
Brian Candler writes:
In that case, I think what is needed rather than a fixed ispell language per user, is the ability to select the ispell language from a drop-down list in the message composition screen.
That would be useful in multi-lingual environments, but the language preference sent by the browser should be pre-selected.
Does anyone know if there is a flag to ispell which will cause it to list all the available languages?
On some systems ispell is really aspell. And the aspell docs indicate it's going to be merged into pspell. The only way I can see of listing aspell languages is to go through its dictionary files, and the problem with that is they have names that start with things like "american" rather than using ISO language codes. Not insuperable, but at build time you'd have to detect what ispell really was and pick the appropriate look-up table (to be used at run-time because dictionaries may be added later).
At the moment, the language strings are buried in the templates: for example things like
[#$FOLDERTITLE=Folder - #]
That's an unfortunate example - you have to look through the code to figure out what it does. :)
A simpler example is:
<td align="right">Domain: </td> <td align="left">[#h#] </td>
Changing the Domain line to, say,
<td align="right">[#S593#]</td>
or something like that (I didn't delve through the code to see if that conflicts with existing usage, but the idea is to assign a unique identifier to each bit of text) would do the trick. There are more complicated solutions of dealing with translations but they seem to be kitchen sink jobs that actually slow down the process of getting translations done, require the installation of packages that most people don't have, are hard to drive, etc.
Qmailadmin uses language files with names like pt-BR and contents like
000 ISO-8859-1 001 Menu principal 002 Conta de correio [...]
Anyone with a text editor can produce a translation for another language and drop it in. No special tools needed, no steep learning curve. The file can be sent to Sam for inclusion in the next distribution (possibly better to have a separate zip of these as well so that people don't have to upgrade sqwebmail to get a new language).
The qmailadmin method works. Looking at sources I have lying around, three years after the translation scheme was put in place there were 17 supported languages and four years after there were 19 supported languages (I suspect the slow-down in translations occurred because of lack of demand for other languages). Nineteen languages isn't a lot, but it's a lot more than sqwebmail has, and qmailadmin gets a lot less use than sqwebmail. I think that with a translation scheme along these lines we'd see a lot of translations appear in a matter of months.
* As a nice bonus, login.html / expired.html / invalid.html would become the same page, but substituting in a different language string message. That makes it easier again for people customising pages.
That would probably require a bit of conditional coding to display or not display the expired or invalid message so that the relevant message IDs could be embedded on the page (it makes translation easier if you can see where "S495 Invalid Login" appears because some strings may be ambiguous when read out of context).
-- Paul Allen Softflare Support







