Microsoft Indic Language Input Tool

Add Microsoft Indic Language Input Tool to your website

You can now add the Web Version of Microsoft Indic Language Input Tool (ILIT) to your website so that your visitors can easily enter Hindi text on the site. This facilitates easy search, form-filling and discussions in Hindi on your site by anyone who visits it.

This service is provided free for non-commercial use only.

Adding the Web Version of ILIT to your website is as easy as copying and pasting a small fragment of HTML into your page source. You may use it in one of two modes:

  1. Opt-out Mode: Transliteration will be enabled in all supported text input fields on your page unless otherwise specified. To prevent transliteration within an input field, you will need to set an attribute on it. This is the default mode and is recommended if you want most or all of your page to be Hindi input-enabled.

    Instructions for Opt-out Mode

  2. Opt-in Mode: Transliteration will be disabled in all supported text input fields on your page unless otherwise specified. To allow transliteration within an input field, you will need to set an attribute on it. This is recommended if you want only a few input fields on your page to be Hindi input-enabled.

    Instructions for Opt-in Mode

Browser Support

In Microsoft Internet Explorer, Mozilla Firefox, Safari and Google Chrome, all input fields are supported, i.e. plain text fields as well as rich text fields. In Opera, only plain text fields are supported.

Instructions for Opt-out Mode

  1. Copy and paste the following code within the body element of your page or site template.

    Note that the above code enables Hindi input. To use another language, you may replace Hindi in the filename above with the name of the language you wish to use.

  2. If you wish to prevent (i.e. opt out of) transliteration in a particular input field, add the attribute declaration MicrosoftILITWebAttach="false" to the opening tag as follows.

    For a textarea

    <textarea ... MicrosoftILITWebAttach="false">

    For an input tag (of type text, search or unspecified but NOT password)

    <input ... MicrosoftILITWebAttach="false">

    For a rich text input div (using contentEditable)

    <div contentEditable="true" ... MicrosoftILITWebAttach="false">

    For a rich text input within an iframe (using contentEditable or designMode on contained document)

    <iframe ... MicrosoftILITWebAttach="false">

  3. You are required to attribute the transliteration feature to Microsoft. Copy and paste the following code at the appropriate place in your page or site template.

    This will result in the following image appearing on your page. This image links to the Microsoft Indic Language Input Tool site.

    Transliteration by Microsoft

Note

This script is provided to you on an "as-is" basis. Use of this script by you shall be purely at your own risk and Microsoft shall not be liable, directly or indirectly towards any consequences arising from such use. You may use this script only for non-commercial uses such as research, academic use or personal use. Any use other than this shall need prior written permission from Microsoft. Microsoft reserves the right to alter, modify, change or remove the script or any parts thereof without prior notice.

By implementing the code provided above into your website or application, you agree to the Terms of Use and agree to obtain the informed consent of your users for the transmission to and use of data by Microsoft as described in the Indic Language Input Tool Privacy Statement.


Instructions for Opt-in Mode

  1. Copy and paste the following code within the body element of your page or site template.

    Note that the above code enables Hindi input. To use another language, you may replace Hindi in the filename above with the name of the language you wish to use.

  2. If you wish to allow (i.e. opt in to) transliteration in a particular input field, add the attribute declaration MicrosoftILITWebAttach="true" to the opening tag as follows.

    For a textarea

    <textarea ... MicrosoftILITWebAttach="true">

    For an input tag (of type text, search or unspecified but NOT password)

    <input ... MicrosoftILITWebAttach="true">

    For a rich text input div (using contentEditable)

    <div contentEditable="true" ... MicrosoftILITWebAttach="true">

    For a rich text input within an iframe (using contentEditable or designMode on contained document)

    <iframe ... MicrosoftILITWebAttach="true">

  3. You are required to attribute the transliteration feature to Microsoft. Copy and paste the following code at the appropriate place in your page or site template.

    This will result in the following image appearing on your page. This image links to the Microsoft Indic Language Input Tool site.

    Transliteration by Microsoft

Note

This script is provided to you on an "as-is" basis. Use of this script by you shall be purely at your own risk and Microsoft shall not be liable, directly or indirectly towards any consequences arising from such use. You may use this script only for non-commercial uses such as research, academic use or personal use. Any use other than this shall need prior written permission from Microsoft. Microsoft reserves the right to alter, modify, change or remove the script or any parts thereof without prior notice.

By implementing the code provided above into your website or application, you agree to the Terms of Use and agree to obtain the informed consent of your users for the transmission to and use of data by Microsoft as described in the Indic Language Input Tool Privacy Statement.