Jump to content

Change language of Javascript dialog box buttons


Guest vtfan99
 Share

Recommended Posts

Guest vtfan99

I am currently developing an ASP.NET application that supports both English and Hebrew languages. The site makes use of javascript for confirmation of various items. I am able to pass both Hebrew and English strings into my scripts and display them with no problem in the dialog boxes (alert, prompt, confirm, window.beforeunload). My question: is there any way to change the text of the buttons on these dialogs? When viewing in the "Hebrew" version, the alert box for example, will display the correct hebrew string that I pass it, but the OK button will still be in English. This occurs even when the machine has a Hebrew Windows OS version installed. Does anyone have any information on this?Thanks in advance

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...