> I want to change some of the text shown by Squirrelmail (as a specific
> example I'd like the login page to say 'User name' rather than just
> 'Name').
> 
> Obviously I can just change the text in src/login.php from _("Name:")
to
> _("Login name:") but won't this break the translations since (as I
> understand it - but I may well be wrong) the string inside _() is used
> as an index into the .mo files.
> 
> Is the right thing to do to create a directory under locale for the
> default language and put the new strings in there?  Or is there a
better
> way that I'm missing?

That's a great approach to making the change in a way that won't break
your upgrades.  It should be the best way to do so as long as the
default wording in other languages *IS* acceptable to you.  Otherwise,
you'll need to change it all anyway.

Do keep in mind that if your language isn't English, that you'll need to
maintain  your own translation file and not overwrite it with what is
provided by SM.

Another place to get some good feedback on this is on the I18N mailing
list.

Cheers,

  - Paul



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to