>> I'm installing the latest Squirrelmail on a FreeBSD system and
>> everything, so far, is working well, except ...
>>
>> I have a client that would like some of the 'labels' to have different
>> text. For example, instead of "Compose" he would like the label to say
>> "Write Mail", instead of "Inbox" on the left-hand side he would like
>> "INBOX/RECV", and instead of "Toggle All" he'd like "Select/De-select
>> Messages" ...
>>
>> I took a quick look at the source and didn't see the obvious -- to me,
>> anyhow -- way of doing this. Any advice would be appreciated. I
>> apologize in advance if this is located someplace in the FAQ or
>> Support section of the Web site -- I did check, but again didn't find
>> anything obvious to me.
>
>
> Thanks for looking hard on your own first.  You didn't find anything,
> cuz it's not really there.  There is a message_icons, er I think that's
> actually called "image buttons" plugin that puts images in the place of
> some of those links, but nothing exactly like you asked for.  One
> possibility is to create your own translation files with the
> translations for those text items in it; you'll have to refer to
> Internationalization docs to see how to do it (not difficult).  The
> catch here is that EVERYONE using the same language on that same SM
> installation gets the same text changes, and the changes don't carry
> over to other languages unless you fix all translations.
>
> The bigger and better answer to this question is that SM is headed
> toward templating, and when that's done, you'll be able to do whatever
> you want to the interface, independent of the back end.  But don't hold
> your breath on this one just yet.


If you have an installation of SquirrelMail that's only used by your
client, you could hack the source, even though that's not a good solution.
(I recommend the translation solution Paul suggested instead.) All strings
showing up as links and lables are using the format:

_("This is the text to show")

All you have to do is to replace it with:

_("This is my new text")

But be aware, all translations will cease to work.

Sincerly,
Fredrik.



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to