Re: error message language

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



An example snippet ~ line 102 in display_messages.php -

'<a href="'.$base_uri.'src/login.php" target="'.$frame_top.'">'.
         _("Go to the login page / Retourner &aacute; la page 
d'acc&eacute;s.") . '</a></b></font></td></tr>'.

These where put in to display english/french messages to users that may 
or may not be logged in, and may or may not have selected an appropriate 
language.  The messages themselves seem to be hard coded in the templates.


Paul Lesniewski wrote:
> On 5/25/07, Drew Adams <dadams@xxxxxxxxxx> wrote:
>> Hello,
>>
>> I was wondering if there is a better way of changing the error messages,
>> than to editing the templates (like the messages found in
>> functions/display_message.php).  I have had to extend the message to be
>> bi-lingual,  and thought I would check in, since what I am doing is a
>
> What does a "bi-lingual" error message look like?  SM has a
> fully-gettext-compliant translation system.  If you change the
> language in the SM interface, error messages will be automatically
> translated into the current interface language, unless that
> translation set is incomplete, in which case you should help finish it
> off.
>
> Go to:  http://squirrelmail.org/wiki/DocumentationHome  and then
> search for "Internationalization".
>
>
>> less than elegant way to deal of with the problem.  Each time I apply an
>> updates, I have to carry the changes across manually to the new 
>> template.
>>
>> Thanks for any guidance anyone can provide.
>>
>> Drew Adams
>>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux