Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: setting Locale (I18n) for OK and CANCEL Button?


Message #1 by arsal01@h... on Tue, 14 Jan 2003 17:46:02
	OK, I think I understand your problem.  You are not using a REAL
Spanish version of IE.  You're just using an English version of IE and 
then
you installed Spanish menus and dialog boxes from Windows Update.  Am I
correct?

	I manage to produce the same problem.  I've got a French Win98 and
French IE.  Then I install English GUI for IE.  Everything is then in
English except the confirm dialog : the "Cancel" button label is 
"Annuler".

	I don't know how to convince you, but don't worry, when a Spanish IE
(usually used by a Spanish user) opens the confirms dialog, it will be 
in
Spanish.

	But if you really really want to localise every little bit of thing,
as I said, you have to reinvent your wheel, ie, you have to make your 
own
confirm dialog.

> -----Message d'origine-----
> De : arsal01@h... [mailto:arsal01@h...]
> Envoy=C3=A9 : jeudi 16 janvier 2003 18:14
> =C3=80 : javascript
> Objet : [javascript] RE: setting Locale (I18n) for OK and CANCEL Butt
> on?
>
>
> I understand that part ..
>
> YEs browser menus are appearing in Spanish --
>
> but the problem still exists - i.e confirm dialog shows OK and CANCEL
>
> Thanks
> Arsalan
>
> > 	In what language do your menu items (eg File, Edit,
> etc) appear ?
> If they are in English, that means your browser is NOT Spanish.
>
> 	[Tools->Internet Option->Languages] just let webservers
> choose the
> correct language to use within the page (the info is send in HTTP =3D
> header to
> the server).  It has nothing to do with the language version
> of browser
> (read the text of the dialog box to understand this).
>
> 	Furthermore, this option allows us to choose more than ONE
> language.
> Eg, I'm using a French browser but I could specify Chinese, French 
and
> English.  When I visit a multi-langual web site (which is
> configured to
> accept this functionality), it will do like this :
>
> if Chinese version found
>     send Chinese version
> else
>     if French version found
>         send French version
>     else
>         if English version found
>             send English version
>         else
>             send the default version
>
> 	As to [Start->Control Panel->Regional Settings], it
> just influences
> how your applications (not only browser, but everything) and =3D
> environment
> should behave.  It's mostly used to determine what codepage
> to use if =3D
> the
> application isn't Unicode, or should a comma be interpreted as 
decimal
> symbol.
>

  Return to Index