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. For example, doubled vowels are long, all underdots are typed ‘.’ (‘.s’ = ष्, ‘.r’ = ऋ, ‘.R’ = ॠ, ‘.m’ = ं, etc.), ‘sh’ = श्, etc.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. You can open the file below in a text editor to see the mappings.
0 Comments
Leave a Reply. |