Click here to Skip to main content
15,881,413 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I want to create an application in which i want to give user the facility of entering data in marathi language. My application is in marathi, i had display all controls like label calendar in marathi its running properly for displaying data in marathi but i am facing problem for textbox. How can i do for taking input from user in marathi font?
Posted

You will need to set the Font property of the textbox to the font that you are interested in, say "Shusha", for example. The user would need to enter the correct sequence of keystrokes for the textbox to display it right. When using "Shusha" font, the word "Bhaasha" would need the following sequence of characters - "BaaYaa". Try it out.
 
Share this answer
 
The user needs to set their machine to use this font. That's all. You can't force the font for one textbox, as far as I know. The user needs their machine set up to use that font. otherwise, you'd have to provide some other means, such as an on screen keyboard, or code that sets the locale when the textbox focuses ( not sure if this is even possible ).
 
Share this answer
 
If you have Marathi keyboard and font installed in your system, you can type it in textbox.

I think there shouldnt be any problem with that. ;)
 
Share this answer
 
hi Christian,

as you told "you'd have to provide some other means, such as an on screen keyboard, or code that sets the locale when the textbox focuses"

can you give me sample for how to use screen keyboard.

I had tried code to set locale when the text focuses but it's not working.
 
Share this answer
 
People here say, you must have font's installed on your system to get this working.

May i ask them how google transliteration works. I do not have required fonts installed on my computer but i can still see converted text.

You may check out some sites given below and do some R&D.
Check out if they provide an api.

Sorry forgot the links:
http://www.quillpad.in/marathi/[^]

http://t13n.googlecode.com/svn/trunk/blet/docs/help_mr.html[^]

http://service.monusoft.com/HindiTypePad.htm[^]

Check out the scripts if u get any help

Thanks
 
Share this answer
 
v2
Just Download your marathi font to your system...
and copy/paste it on your Website root Folder , Than Create Manually Font-Face of your marathi language.

For Example...

CSS
@font-face {
    font-family: myFirstFont;
    src: url(sansation_light.woff);  //your marathi font path
}

.txt {
    font-family: myFirstFont;       // apply it to your textbox  
}


Note: If it Solve Your problem, Please accept this for clicking on Accept Answer Button.

Thanks
AARIF SHAIKH
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900