[ic] Translating Error Messages

Kevin Walsh interchange-users@interchange.redhat.com
Thu Feb 7 18:01:01 2002


> > > Iīm relatevely newbbie and writing you from Spain. I have made I new
> > > catalog
> > > from Foundation in Spanish, but there are some errors I canīt found in
> > > anywhere like "Username already exists" when I can create a new account,
> > > or
> > > "Invalid Username or Password".
> > >
> > > Can anyone tell me where those messages are to translate them. Thank you
> > > in
> > > advance.
> > >
> > Those messages are defined in lib/Vend/UserDB.pm and are displayed
> > using the errmsg() sub (in lib/Vend/Util.pm).  The errmsg() routine
> > will translate the text for you as long as you have set up the text
> > in either your catalogue's locale database or the global one.
> >
> > So, just create a translation for the "Invalid Username or Password."
> > string in one of the locale tables and Interchange will use it.  Do
> > the same for any other message you want to translate.
> >
> Ok. It is working perfectly. But now I have a problem. I have a hosting
> account, and I donīt think the server want to make that change, because it
> will translate all the catalogs under it, I think.
>
> Iīve seen something not finished yet (but I canīt remember where) about
> locale errors. Is there any way to use these or any other fix to translate
> that error messages just for my catalogs?
>
As I said earlier, you may use your catalogue's locale database or the
global one.  You may do whatever you want in your local tables.

I moved your reply from the top of this email, to the end, where it
belongs if it is to remain in context.  I only do that once.

--
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/