Skip to content

This project helps you to translate a library of characters.It is sensitive to changes on your page. If an element changes on your page, It updates characters in the updated element if there is any.

License

Notifications You must be signed in to change notification settings

A-Kasaaian/js-character-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-character-translator

This project helps you to translate a library of characters.It is sensitive to changes on your page. If an element changes on your page, It updates characters in the updated element if there is any. It is also sensitive to input and textarea fields, if anyone type in an input or textarea on your page, they'll see translated characters instead of what they have typed. Sample: http://codepen.io/alirezakasaaian/pen/EyvNrb

How to use it

Requirment: jQuery

1- Add string.js after jQuery and before end of body tag. It is containing a library for your characters and their translations. It is a sample code which translates english numbers on left hand to persian numbers on right hand. you can translate any character to any:

2- Add translate.js after string.js enjoy it :)

About

This project helps you to translate a library of characters.It is sensitive to changes on your page. If an element changes on your page, It updates characters in the updated element if there is any.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published