This library is not mobile compatible yet because there is no reliable way to handle text input events through virtual keyboards on phones. Here are some things that you could contribute to: ContributingĪll pull requests are welcome. ![]() Please submit issues through the github issue tracker. Once all the dependencies are installed, if you run npm start it starts webpack-dev-server which has live reload, all the compilation and everything needed for you to test the application while developing on a browser. If anyone wants to contribute, automated UI testing would be a great place to do that. TestingĬurrently, all the testing is manual. Buildingīuilding is really easy, just run npm run build which will fire up webpack with proper production configuration and build the compiled version on the dist directory. You can also disable transliteration by calling disableTransliteration(transliterationInput) any time. Then towards the end of your body tag, add the following to enable transliteration on any input or textarea element: Simply include the from the dist folder in a script tag on the head of your document like this:Īdd an input or textarea element in your body: Then run npm start to start the webpack development server that has a test page, live reload, scss compilation, typescript compilation and everything needed for development. Use npm install to install all the required node packages. I decided to recreate the client from scratch and use the same backend for transliteration. I found out that the backend server Google was using is still alive and is being used by different production services like Google Keyboard for Android. Even though it is deprecated, the API still works, however it has a lot of bugs in different browsers and does not support SSL anymore which is pretty much a requirement for most web applications now. Unfortunately like most projects, Google decided to kill the API. Now, for visual learners, here is a video tutorial that explains this process.Google had their official input tools that supported transliteration that allowed people to type in languages like Nepali and Arabic using Romanized English which changed the way people typed in a lot of parts of the world. ![]() That means, to type "भारत" you need to write "bhaarat". Now try typing something in notepad file. How to Type: To type in Sanskrit, Click on "En" button on task-bar, near clock (bottom right on your screen), and there, select Sanskrit. Step 3: When the installation finishes, that's it! You are done installing Sanskrit font! Once, the download finishes, double click or run the downloaded file to begin installation. Step 2: The setup file will start to download. Sanskrit Input Tools can be downloaded here. Update: Google seems to have discontinued the download option. ![]() Let's select Sanskrit and click the download button. Step 1: Go to Google Input Tools for windows and select the languages you want to type in. Here, I'll explain a method using which you will be writing in Sanskrit (Devanagari font) within 5 minutes! Especially, when it comes to Sanskrit or other Indian languages, many people get tangled up with fonts, installing software and lots of other mess! Let's take a look at how you can use Devanagari script on your PC and android phone. Many times it becomes difficult to type in languages other than English.
0 Comments
Leave a Reply. |