Coder Social home page Coder Social logo

vtranslit's People

Contributors

vipranarayan14 avatar

Stargazers

 avatar  avatar

Forkers

sanchaya

vtranslit's Issues

some issue wrt scheme.about.code

return _scheme.about.code === schemeCode;
                       ^

TypeError: Cannot read property 'code' of undefined
at /home/karthik/Apps/myApp/node_modules/vtranslit/dist/vtranslit.npm.js:1003:28
at Array.find ()
. ......

Add support for usage of multiple scripts at once

Feature

Add support for usage of multiple scripts at once.

vTranslit should translit the string in #<scheme-name>{<string>} to the given scheme-name.

Example

#Latn{Who are you?}
#Deva{kastvam?}
#Taml{yAr nI?}

The above given paragraph should be translited to:

Who are you?
कस्त्वम्?
யார் நீ?

change translit-mode markers

Currently, the markers '#{' and '}#' is used to toggle between scripts.

But those markers are difficult to use while typing.

Instead, '//' and '//' can be used as 'marker-open-translit-mode' and 'marker-close-translit-mode' respectively.

'@' bug

When translitMode is set to 1 (i.e. transliterate only the string between markers):
The space char after a string immediately preceded by '@' is eaten.

When the multi-scheme output is enabled (i.e. toScheme is set to Multi):
There is no way to skip '@' from being treated as marker.

add support for toggling between scripts

Feature

Add support for toggling between scripts while two scripts are used.

[vTranslit] should translit only the content inside #{}# to another add leave the rest untranslited.

Example:

My name is #{rAmaH}#

Above string should be translited the to:

My name is रामः

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.