Wednesday, December 5, 2007

how to writ in hindi in your blog

Google Help > Blogger Help > Publish and Archive > Posting & Editing > Getting Started
How do I use the transliteration feature?
What is Transliteration?
Blogger offers an automatic transliteration option for converting Roman characters to the Devanāgarī characters used in Hindi. This lets you type Hindi words phonetically in English script and still have them appear in their correct alphabet. Note that this is not the same as translation -- it is the sound of the words that are converted from one alphabet to the other, not their meaning. For example, typing "hamesha" transliterates into Hindi as:
Enabling the Transliteration Feature
To enable this feature, go to the Settings Basics page and select "Yes" for the transliteration option. This setting will affect all blogs on your account, similar to the Compose Mode setting.
Once you've done that, go to your post editor and you'll see a new button there. A yellow label points it out for you the first time you use it. Simply click the "X" in the top right corner to make it disappear.
Typing with Transliteration
This button toggles the transliteration feature on and off. (You can also use Ctrl-G as a shortcut.) When it is on, it affects the title and labels, as well as the body of your post. The letters of a word will appear as you type them until you reach the end of the word. As soon as you type a space or a punctuation mark, the letters will be converted to Devanāgarī characters, like this:
If you prefer to do the transliteration all at once, rather than as you go, you can type your text with the transliteration button turned off. Then select all your text and click the button. Everything selected will be transliterated at once, and you can go back and edit it as desired. (Note: This only works in the body of the post, and not in the title or labels.)
The transliteration will attempt to match the sounds of the letters as accurately as possible between the two alphabets. If you find that it is incorrect, however, you can fix it.
Correcting and Editing Words
When you find a word you want to change, just click on it once, using the left mouse button. This displays a short menu of alternate spellings, as well as an option to switch back to the original Roman characters you typed, or to edit the word further.
If you choose the "Edit..." option, you'll see the word in an Edit mode that provides on-the-fly suggestions for the next letter in the sequence. Click on the letter you want to enter next, it will be added to the word, and suggestions for the following letter will come up. You can also continue typing from your keyboard as well, if you prefer, and the characters will be entered according to this chart. Type a space or press the Enter key to end the word and go back to normal typing mode.
The suggestions provided in the "Edit..." option are limited to letters which could reasonably follow the ones already typed. Each button shows some English text in gray, which indicates the part of the last syllable that you have already typed. The text in bold indicates what you can type to get the Hindi letter displayed on that button. Alternatively, you can just click the button and it will add the correct letter for you. If a button is green, that means that the letter is phonetically similar to the last typed syllable, and clicking on the button will replace it.
On-Screen Keyboard
If you want complete control over the choice of letters, click the keyboard icon to the right of the word you're editing. A full on-screen keyboard comes up, and you can simply click the letters you want to insert them into your text.
Matras (accent marks) are shown with dotted circles to indicate that they can be applied to different letters. To use them, first click the letter you want to use, then click the matra you want to apply to it.
Type a space, punctuation mark or the Enter key to end the word and go back to normal typing mode, or just click the "X" icon on the keyboard to remove it.
Saving Corrected Transliterations
Whenever you type a word and the Hindi transliteration is not the one you wanted, you can correct it using the editing features described above. When you do this, the new transliteration is remembered for you. If you type the same word again in the future, it will then be transliterated correctly based on your saved preference. These corrections are stored to help us improve our service.
Installing and Viewing Hindi Fonts
Blogger uses Unicode to encode the Hindi characters in your post. Unicode is a system of representing text and symbols and is supported by all modern browsers and operating systems.
If you use Internet Explorer 6+ in Windows Vista/XP/2000, you should have no problems in viewing and editing Hindi text correctly. Mozilla Firefox requires support for complex text layout, otherwise it might display the Hindi text incorrectly. The support for complex text layout is usually turned off by default, but this Wikipedia article gives a detailed explanation on how to turn it on in various operating systems.
Notes:
The transliteration feature is only supported in Internet Explorer versions 6.0 and higher on Windows, and Firefox 1.5 and higher on Windows and Linux. It is not supported on Macs.
The transliteration button is only available in Compose Mode. All the other editing features of Compose Mode will continue to work normally with transliterated text, and you can also copy and paste text to work with into the editor.
For a complete mapping of which Roman characters will be converted into which Devanāgarī characters, please see this article. Note that this is a static mapping that only applies in Edit mode. When you are simply typing as usual, a more complex algorithm is used to determine the correct characters to display based on the sound of each overall word.
If you see a message saying that the transliteration service is unavailable, check your internet connection. This feature requires a live internet connection, as all the transliteration is done on Google's servers and sent back to your browser while you work on your post.
For further help with transliteration, please see the Blogger Help Group.
function getText(url) {
var request = newRequest();
request.onreadystatechange = function(){
if(request.readyState == 4 && request.status == 200)
displayResults(request.responseText);
}
request.open("GET", url);
request.send(null);
};
function newRequest(){
if (window.XMLHttpRequest) { // Mozilla, Safari, etc.
return new XMLHttpRequest();
} else if (window.ActiveXObject) { // IE
return new ActiveXObject("Microsoft.XMLHTTP");
}
}
function displayResults(htmlContent){
if(htmlContent.length > 1){
document.getElementById('u2uResultsContent').innerHTML = htmlContent; // set the content
document.getElementById('u2uResultsDiv').style.display = ""; // make it visible
}
}
// get the text from the search page
//getText('search.py?type=f&query=transliteration&ctx=en%3Asearchbox&Action.Search=%C2%A0%C2%A0%C2%A0Search%C2%A0%C2%A0%C2%A0&mode=groupsHTML&answer=58226')

Other users are saying...
Re: Transliteration in Bloggerto write parts of a post in Hindi and the rest in English, you could switch between the transliteration and the normal mode by d...by Blogger Employee Helper - Apr 2, 2007 - 58 messages
Re: Hindi Blog - Transliteration Feature - Problematic Cursor movementtough time with the transliteration feature. When I type new characters in the blogpost they do not appear where the cursor is. ...by Rat - Oct 13, 2007 - 4 messages
Transliteration into TeluguHi, Transliteration into Hindi is great in the Blogger Editor, but how do I do the same into Telugu? It's a bi...

No comments:

समय