(Internationalization) in Javascript Messages......

Hello
does anyone have any idea how to show Chinese/Japanese/French/German
characters in the alert messages of javascript ?
My web pages are able to show all these languages, but would like to know
how to do the same for javascript alert messages.
I have tried the following :
<script language="JavaScript1.3">
function sayThat()
alert("\u00A9 \u00e5");
But the alert messages simply shows up junk, instead of correct characters.
Any ideas....?
Thanks

JavaScript Alerts doesn't support non ASCII charaters.
There is no way to get around this problem.
Kumar.
JSB wrote:
Hello
does anyone have any idea how to show Chinese/Japanese/French/German
characters in the alert messages of javascript ?
My web pages are able to show all these languages, but would like to know
how to do the same for javascript alert messages.
I have tried the following :
<script language="JavaScript1.3">
function sayThat()
alert("\u00A9 \u00e5");
But the alert messages simply shows up junk, instead of correct characters.
Any ideas....?
Thanks

Similar Messages

  • How to use JOptionPane in jsp, instead of javascript message alert box?

    HI,
    How to use JOptionPane in jsp,
    instead of javascript "message alert box"?
    I hate javascript,
    I'd like to only use java in jsp. don't use javascript.
    javascript is client side,
    jsp is server side. i know that.
    how to... instead of javascript box?
    how to use ... message box in webpage?
    don't use applet,,,, don't use javascript,,,
    hm...zzzZzz
    I hate javascript..T.T
    <SCRIPT language=JavaScript>
    alert("hate javascript");
    </SCRIPT>
    ===>>>>
    In this way,,
    JOptionPane.showOptionDialog(null,"I love java")
    I'd like to only use jsp and java and html...in webpage.
    don't use javascript....
    Why? don't sun provide message box in jsp, instead of javascrip box?
    Why?
    Edited by: seong-ki on Nov 4, 2007 8:38 PM

    Drugs are bad, m'kay?

  • Struts internalization for javascript messages

    Hi ALL,
    I am doing an internalization to my struts application... i am using property files for each language (say for example, english, french.. etc,) ... i can get the labels, messages to the struts fields, other texts..
    but how to interact the javascript messages? i don't know how to implement those messages for javascript...,
    please advise me
    Thanks
    Logu

    The javascript message is just template text printed onto the page right?
    So how is it different in concept from any other label?
    You may need to escape the messages for javascript (quotes etc etc) but on the whole you can apply the same i18n principles as you do elsewhere.
    ie
    // instead of this
    <script>
    alert('You did a bad thing');
    </script>
    // something like this
    <script>
    alert('<fmt:message key="badThing"/>');
    </script>

  • Internationalization of Error Message

    Hi, All
    I am using Weblogic 6.1 SP1 and Portal Sever 4.0.
    The requirement is all the site has to be internationalization.
    Right now I am able to have both English and French for all
    the static lable in my JSP by using <i18n:getMessage
    messageName="main_lbl_service"/> and bundle property.
    For all the data in the Oracle Database, I have created an filter
    in JSP to get user specify language item, each item associated with
    a language ID in Catalog.
    My question is about the error message, like the message I want to
    send to user after validation, those message has to be international.
    Let say, in my Validator, I want to send different language message
    to different user who is using French or Chinese. Can I use message
    catalog that is provied by BEA, or I have to use bundle to get the
    message in my validator? If yes, how can I access the BUNDLES
    within my validator?
    Thanks in advance!
    J2EE

    i am puting across the complete scenario of this problem.
    I have created a simple widget to directly enter in the se38 transaction in SAP-ABAP.I have created 2 files.
    My tra.sap file contains---System
    Name="AD4"
    Client="100"
    User
    Name="in016508"
    Password="mandar"
    Language=EN
    Function
    Command=SE38
    Title=ABAP Editor
    Type=Transaction.
    And my se38.kon file contains --
    <?xml version="1.0" encoding="UTF-8"?>
    <widget version="4.5" minimumVersion="2.1">
    <debug>off</debug>
    <window title="Shortcut Widget">
    <name>ShortCut</name>
    <width>128</width>
    <height>128</height>
    <visible>1</visible>
    </window>
    <image src="winter.png">
    <name>IconImage</name>
    <onMultiClick>
    filesystem.open("tra.sap");
    </onMultiClick>
    </image>
    </widget>
    After executing with the help of yahoo widget engine,the widget is not able to login in SAP sysytem and giving error message as--
    Input field contains prohibited characters(already deleated).
    If the user is already loged on the system then widget is running fine.
    widget foundation is also installed on the system.
    So what is the appropriate solution to this problem?

  • How do I fix Javascript message that says "too much recursion"?

    Hi there, every time that I load up or refresh a webpage in Firefox, I'm getting a message popup from Javascript that says "too much recursion" - I have no idea what this means or how to fix it, but it's gotten to a point where it's making it almost impossible to do anything through Firefox as it's popping up so often. Is there a way to make this stop?

    Hello lavendermoon, maybe an installed Extension that have problems with their JavaScript is the issue, to check that '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    *In previous Firefox versions, click on the Firefox button at the top left of the Firefox window and click on ''Help'' (or click on ''Help'' in the Menu bar, if you don't have a Firefox button) then click on ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".
    :[[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    also try to delete in your [http://kb.mozillazine.org/Profile_folder_-_Firefox#Windows profile folder] the [http://kb.mozillazine.org/User.js_file User.js file] you have.
    The user.js file does not exist by default. If you create the file, forget it, if you have not create the file then delete the User.js file, to see if the problem goes away (some programs create and write in the file also).
    thank you

  • How to cancel the event in Item Adding and display javascript message and prevent the page from redirecting to the SharePoint Error Page?

    How to cancel the event in Item Adding without going to the SharePoint Error Page?
    Prevent duplicate item in a SharePoint List
    The following Event Handler code will prevent users from creating duplicate value in "Title" field.
    ItemAdding Event Handler
    public override void ItemAdding(SPItemEventProperties properties)
    base.ItemAdding(properties);
    if (properties.ListTitle.Equals("My List"))
    try
    using(SPSite thisSite = new SPSite(properties.WebUrl))
    SPWeb thisWeb = thisSite.OpenWeb();
    SPList list = thisWeb.Lists[properties.ListId];
    SPQuery query = new SPQuery();
    query.Query = @"<Where><Eq><FieldRef Name='Title' /><Value Type='Text'>" + properties.AfterProperties["Title"] + "</Value></Eq></Where>";
    SPListItemCollection listItem = list.GetItems(query);
    if (listItem.Count > 0)
    properties.Cancel = true;
    properties.ErrorMessage = "Item with this Name already exists. Please create a unique Name.";
    catch (Exception ex)
    PortalLog.LogString("Error occured in event ItemAdding(SPItemEventProperties properties)() @ AAA.BBB.PreventDuplicateItem class. Exception Message:" + ex.Message.ToString());
    throw new SPException("An error occured while processing the My List Feature. Please contact your Portal Administrator");
    Feature.xml
    <?xml version="1.0" encoding="utf-8"?>
    <Feature Id="1c2100ca-bad5-41f5-9707-7bf4edc08383"
    Title="Prevents Duplicate Item"
    Description="Prevents duplicate Name in the "My List" List"
    Version="12.0.0.0"
    Hidden="FALSE"
    Scope="Web"
    DefaultResourceFile="core"
    xmlns="http://schemas.microsoft.com/sharepoint/">
    <ElementManifests>
    <ElementManifest Location="elements.xml"/>
    </ElementManifests>
    </Feature>
    Element.xml
    <?xml version="1.0" encoding="utf-8" ?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Receivers ListTemplateId="100">
    <Receiver>
    <Name>AddingEventHandler</Name>
    <Type>ItemAdding</Type>
    <SequenceNumber>10000</SequenceNumber>
    <Assembly>AAA.BBB, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8003cf0cbff32406</Assembly>
    <Class>AAA.BBB.PreventDuplicateItem</Class>
    <Data></Data>
    <Filter></Filter>
    </Receiver>
    </Receivers>
    </Elements>
    Below link explains adding the list events.
    http://www.dotnetspark.com/kb/1369-step-by-step-guide-to-list-events-handling.aspx
    Reference link:
    http://msdn.microsoft.com/en-us/library/ms437502(v=office.12).aspx
    http://msdn.microsoft.com/en-us/library/ff713710(v=office.12).aspx
    Amalaraja Fernando,
    SharePoint Architect
    Please Mark As Answer if my post solves your problem or Vote As Helpful if a post has been helpful for you. This post is provided "AS IS" with no warrenties and confers no rights.

    Recommended way for binding the list event handler to the list instance is through feature receivers.
    You need to create a feature file like the below sample
    <?xmlversion="1.0"encoding="utf-8"?>
    <Feature xmlns="http://schemas.microsoft.com/sharepoint/"
    Id="{20FF80BB-83D9-41bc-8FFA-E589067AF783}"
    Title="Installs MyFeatureReceiver"
    Description="Installs MyFeatureReceiver" Hidden="False" Version="1.0.0.0" Scope="Site"
    ReceiverClass="ClassLibrary1.MyFeatureReceiver"
    ReceiverAssembly="ClassLibrary1, Version=1.0.0.0, Culture=neutral,
    PublicKeyToken=6c5894e55cb0f391">
    </Feature>For registering/binding the list event handler to the list instance, use the below sample codeusing System;
    using Microsoft.SharePoint;
    namespace ClassLibrary1
        public class MyFeatureReceiver: SPFeatureReceiver
            public override void FeatureActivated(SPFeatureReceiverProperties properties)
                SPSite siteCollection = properties.Feature.Parent as SPSite;
                SPWeb site = siteCollection.AllWebs["Docs"];
                SPList list = site.Lists["MyList"];
                SPEventReceiverDefinition rd = list.EventReceivers.Add();
                rd.Name = "My Event Receiver";
                rd.Class = "ClassLibrary1.MyListEventReceiver1";
                rd.Assembly = "ClassLibrary1, Version=1.0.0.0, Culture=neutral,
                    PublicKeyToken=6c5894e55cb0f391";
                rd.Data = "My Event Receiver data";
                rd.Type = SPEventReceiverType.FieldAdding;
                rd.Update();
            public override void FeatureDeactivating(SPFeatureReceiverProperties properties)
                SPSite sitecollection = properties.Feature.Parent as SPSite;
                SPWeb site = sitecollection.AllWebs["Docs"];
                SPList list = site.Lists["MyList"];
                foreach (SPEventReceiverDefinition rd in list.EventReceivers)
                    if (rd.Name == "My Event Receiver")
                        rd.Delete();
            public override void FeatureInstalled(SPFeatureReceiverProperties properties)
            public override void FeatureUninstalling(SPFeatureReceiverProperties properties)
    }Reference link: http://msdn.microsoft.com/en-us/library/ff713710(v=office.12).aspxOther ways of registering the list event handlers to the List instance are through code, stsadm commands and content types.
    Amalaraja Fernando,
    SharePoint Architect
    Please Mark As Answer if my post solves your problem or Vote As Helpful if a post has been helpful for you. This post is provided "AS IS" with no warrenties and confers no rights.

  • JavaScript message boxes not working

    Hi all.  I am Trying to get a few popup messages to work on a form but have not been successful at all. I did this once before and I did work but on this form I have had no luck.  No popup messages work at all and I get no error message.  Please see if you can help with my script.  if(root.P1.matched.Consent.rawValue == 1) {    if(root.P1.client.variable_option_client.cv6.rawValue == null && root.P1.client.variable_option_client.cv7.rawValue == null && root.P1.client.variable_option_client.cv25.rawValue == null)        xfa.host.messageBox("Please enter at least one contact number and select a product from the Product Section.", "Notice", 1);        root.P1.matched.Consent.rawValue = 0 ;    }    else if ((root.P1.client.variable_option_client.cv6.rawValue != null || root.P1.client.variable_option_client.cv7.rawValue != null) && root.P1.client.variable_option_client.cv25.rawValue == null    && root.P1.client.variable_option_client.cv26.rawValue == null && root.P1.client.variable_option_client.cv27.rawValue == null && root.P1.client.variable_option_client.cv28.rawValue == null)    {        xfa.host.messageBox("Please select a product from the Product Section.", "Notice", 1);        root.P1.matched.Consent.rawValue = 0;    }    else if ((root.P1.client.variable_option_client.cv6.rawValue == null && root.P1.client.variable_option_client.cv7.rawValue == null) && root.P1.client.variable_option_client.cv25.rawValue != null)    {        xfa.host.messageBox("Please enter at least one contact number.", "Notice", 1);        root.P1.matched.Consent.rawValue = 0 ;     }             else if ((root.P1.client.variable_option_client.cv6.rawValue != null || root.P1.client.variable_option_client.cv7.rawValue != null) && root.P1.client.variable_option_client.cv25.rawValue != null)    {           root.P1.matched.EmailSubmitButton1.presence = "visible";           root.P1.matched.EmailSubmitButton2.presence = "visible";           // this is event that triggers the script to lock all fields.           //myScriptObject.LockAllFields(root.P1.client.variable_option_client);            //myScriptObject.LockAllFields(root.P1.client.variable_option_client.cv6);                    if (root.P1.client.variable_option_client.DateTimeField1.$.rawValue > "15:00")                 {                    xfa.host.messageBox("The time is after 3pm. Please inform the customer that they are likely to be contacted on the next working day.");        }     }   }    else  {              root.P1.matched.EmailSubmitButton1.presence = "invisible";              root.P1.matched.EmailSubmitButton2.presence = "invisible"; }  Thanks  Joey

    Hi,
    I think you are missing a bracket in the code. I have put the bracket where I think it is missing ( made it bold and a little bigger too). Having a look at the logic but it looks alright at first glance.
    if(root.P1.matched.Consent.rawValue == 1)
    if(root.P1.client.variable_option_client.cv6.rawValue == null && root.P1.client.variable_option_client.cv7.rawValue == null && root.P1.client.variable_option_client.cv25.rawValue == null)
    xfa.host.messageBox("Please enter at least one contact number and select a product from the Product Section.", "Notice", 1);
    root.P1.matched.Consent.rawValue = 0 ;
    else if ((root.P1.client.variable_option_client.cv6.rawValue != null || root.P1.client.variable_option_client.cv7.rawValue != null) && root.P1.client.variable_option_client.cv25.rawValue == null    && root.P1.client.variable_option_client.cv26.rawValue == null && root.P1.client.variable_option_client.cv27.rawValue == null && root.P1.client.variable_option_client.cv28.rawValue == null)
    xfa.host.messageBox("Please select a product from the Product Section.", "Notice", 1);
    root.P1.matched.Consent.rawValue = 0;
    else if ((root.P1.client.variable_option_client.cv6.rawValue == null && root.P1.client.variable_option_client.cv7.rawValue == null) && root.P1.client.variable_option_client.cv25.rawValue != null)
    xfa.host.messageBox("Please enter at least one contact number.", "Notice", 1);
    root.P1.matched.Consent.rawValue = 0 ;
    else if ((root.P1.client.variable_option_client.cv6.rawValue != null || root.P1.client.variable_option_client.cv7.rawValue != null) && root.P1.client.variable_option_client.cv25.rawValue != null)
    root.P1.matched.EmailSubmitButton1.presence = "visible";
    root.P1.matched.EmailSubmitButton2.presence = "visible";           // this is event that triggers the script to lock all fields.         
    //myScrip tObject.LockAllFields(root.P1.client.variable_option_client);            //myScrip tObject.LockAllFields(root.P1.client.variable_option_client.cv6);                    if (root.P1.client.variable_option_client.DateTimeField1.$.rawValue > "15:00")
    xfa.host.messageBox("The time is after 3pm. Please inform the customer that they are likely to be contacted on the next working day.");
    else
    root.P1.m atched.EmailSubmitButton1.presence = "invisible";              root.P1.m atched.EmailSubmitButton2.presence = "invisible";
    Regards
    Malcolm

  • Internationalization of JRE messages

    I developed a applet and digitally signed its jar. When the user open the applet url, shows up an english warning security message asking if the user wants to install and run it. This message I think is from the JRE. Is there any way of configuring this message to show up in brazilian portuguese ?

    try posting this question on the I18N forum:
    http://forum.java.sun.com/forum.jspa?forumID=16

  • Internationalize the backend messages

    Hi,
    My applications open a popup with backend error message. the message is appearing in english.
    I can able to localize the labels and all into the respective language.but not the application message pop-ups.
    Please help me to solve this.
    Regards,
    Nagaraju

    Hi Rizwan,
    You can find log files in below BODS installed dirve.
    C:\Program Files (x86)\SAP BusinessObjects\Data Services\log
    Please try below link.
    http://wiki.scn.sap.com/wiki/display/EIM/Loading+log+files+%28Error%2C+Trace%2C+Monitor%29+into+a+table
    Thanks & Regards,
    Balamurugan G

  • I18n in javascript, anybody?

    i have a jsp page in which i also include a .js file.
    now i want to internationalize the javascript code as well as jsp code.
    but if the jsp is parsed before the .js file is inlcuded then how do i use the i18n message tag in my javascript code??

    Yes, I struggled with something similar, so I wrote an i18n library for JavaScript. It shares properties files with Java, gets them from the server via Ajax, and also provides currency, calendar and other features. Check it out at http://jsorm.com. GPL-released, so enjoy.

  • Javascript alert boxes are wrapped in Windows 7 with IE 8

    I can't count the number of JavaScript alert boxes I have throughout my systems and they have always made the transition between IE browsers from 6 to 8 without a hitch.  Without a hitch until I setup my first Windows 7 machine.  It is a 64 system that has both 32 & 64 bit IE browsers.
    It doesn't matter which of the two versions I use, the JavaScript messages that I have so carefully crafted with just the proper layout are now wrapped.  The resultant text in the new W7 popups is almost unintelligible because it is so badly scrambled/wrapped on the new white background.
    Since an alert box is simplicty itself, there is no way that I can think of to change the inherent size of the box.
    Has anyone else notice this phenomena???   If so, do you have a way around it short of redoing all of the text in the effected boxes???
    Len
    XP machine's JavaScript Alert popup in IE 8
    W7 machine's JavaScript Alert popup in IE 8 with wrapped text

    HMM I have the same problem. My researches suggest that the Zone.Identifier ADS is still being used for the internet zone, but not the Intranet zone. I too can get an intranet location out of IE, but not by querying Zone.Identifier eg using Powershell. This
    issue is present in XP as well as Win 7. It appears to extend to trusted zone ids.
    One hypothesis is that this is being stored in hidden form to prevent zone ids that decrease security being applied by malware.
    I had thought that maybe the intranet zone id was only present during download - but your experiment suggests otherwise.

  • Event handling in javascript

    I have a jsp page which should display a javascript message prompting the user to save the changes made on a page when he clicks on a link to another view, but only if he has changed the values in any fields in the current page. So I need to capture onChange events for any element in the form.
    Can an onChange event be handled at the window or document level?

    Thanks for the responses. I managed to find the javascript solution to my problem. The following function storeChange() is called when the page is loaded.
    var isDirty = false;
    function storeChange() {
      if(navigator.appName.indexOf("Microsoft Internet Explorer") != -1){
        for (i=0; i < document.form1.elements.length ; i++) {
          document.form1.elements.attachEvent("onchange",setDirtyFlag);
    else if(navigator.appName.indexOf("Netscape") != -1) {
    document.captureEvents(Event.CHANGE);
    document.onchange=setDirtyFlag;
    function setDirtyFlag() {
    isDirty = true;
    So any form element's onChange event triggers the setDirtyFlag() method. On submit of the page, i check this flag to determine if any values were modified. I have tested this code with IE6.0 and NS4.7.

  • Trying to include a  javascript file('.js') in a jsp program

    i built an html static page using a .js file.
    calling this javascript file works perfectly.
    but now when copying the code in my jsp page, it doesn't work anymore...
    Does anybody has a clue ? is it a known issue (i don't think so...) ?
    i removed all special characters in the javascript message...
    i placed an alert message to see if the file included is not found, but i never saw it, so i guess the page finds the javascriptfile and try to execute the code...
    this is weird...

    here it is...
    <html>
    <head>
    <title>Intranet de l&#39;IAAI.</title>
    </head>
    <SCRIPT type="text/JavaScript" src="javascript.js">
    alert('fail');
    </SCRIPT>
    <body topmargin="10" bgcolor="#FFFFFF">
    -------------

  • How to create a popup windown with javascript?

    Hi, every one,
    I made a jsp program. I know we can use win.open, win.close to create, to close a popup window with javascript. But I don't know how to create a popup window ,display some message on this window and there is a button on it for closing this window. Just like follows:
    int mark;
    if(mark==1){
         create popup window, display some message, there is a
    button and click it to close this window.
    } else {
         display error message.
    Any one can help me?
    Thanks in advance.
    peter

    Hi, bdtjdc,
    Thank you for your help and kindness.
    You know, I am a new one in javascript. So,
    1, I only know how to use alert(message) on current page and I don't know how use alert(message) on the next page because I
    need to pass some datas from current jsp page to next one.
    2, when I use the code you gave me as follows, there is no popup window and button:
    if(mark==1){
    %>
    <script language="JavaScript">
    message=message+'enter your message here...<br>';
    message=message+'<form name="form1"><input type="button" name="close" value="close window"
    onClick="window.close()"></form>';
    message='enter your message here...<br>';
    var actwin=window.open("","","menubar=0,width=300,height=300");
    actwin.document.write(message);
    actwin.document.close();
    actwin.focus();
    </script>
    <%
    } else {
    error message;
    if I use the code like this, We have the window and message on it, but there is no button on the window.
    if(mark==1){
    %>
    <script language="JavaScript">
    message='enter your message here...<br>';
    var actwin=window.open("","","menubar=0,width=300,height=300");
    actwin.document.write(message);
    actwin.document.close();
    actwin.focus();
    </script>
    <%
    } else {
         error message;
    What's the problem? Please.
    Thanks again.
    Peter

  • I'm getting this error message.

    Every time I load firefox 3.6, a dozen javascript message pops out. This is the first one:
    Exception: asyncLoad :: {"message":"$.getJSON is not a function","fileName":"chrome://browser/content/browser.xul -> http://mntr.babcdn.com/mntr/1.0.6.1/mtffxcore.js?v=10","lineNumber":271,"stack":"(\"http://smart.montiera.com/smart/bnrSrv.srf?noa=8\",\"leftBar\")@chrome://browser/content/browser.xul -> http://mntr.babcdn.com/mntr/1.0.6.1/mtffxcore.js?v=10:271\u000a()@chrome://browser/content/browser.xul -> http://mntr.babcdn.com/mntr/bbyln/1.0.3.8/ffx/bbylnApp.js:356\u000aOnload([object Event])@chrome://browser/content/browser.xul -> http://mntr.babcdn.com/mntr/bbyln/1.0.3.8/ffx/bbylnApp.js:29\u000a"}

    For general library squiffiness following an upgrade or crash the easiest thing is to restore your last backup, but I guess if it were that simple you wouldn't be here.
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these andcopy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    PS There is also a new iTunes build to download today, so might be worth getting that. A new iTunes should always load an older library file.
    tt2

Maybe you are looking for