Sanskrit Transliteration Converter
Adds a transliteration tool for Sanskrit (Roman to Hebrew script) via shortcode [sanskrit_transliterator].
by Vraja Das · github.com/vraja-pro/vedabase-english-hebrew-converter
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/vraja-pro/vedabase-english-hebrew-converter/archive/refs/heads/main.zipThis WordPress plugin adds a Sanskrit transliteration tool that converts Romanized Sanskrit (with diacritics) into Hebrew script. The tool can be embedded in any post or page using the shortcode:
[sanskrit_transliterator]
📦 Installation
- Download the plugin ZIP.
- In your WordPress Admin, go to Plugins > Add New > Upload Plugin.
- Upload the ZIP, install and activate the plugin.
- Use the shortcode
[sanskrit_transliterator]in any post/page to display the converter.
✨ Features
- Converts input from Roman script to Hebrew script with phonetic precision.
- Supports two modes for input:
- Vedabase (ScaGoudy font)
- Web (Sans-Serif standard input)
- Outputs in Hebrew using either:
- FrankRuehl font
- Web-safe Hebrew font
🔠 Conversion Logic
Roman to Internal SanSerif Mapping (when from Vedabase mode):
| Vedabase (ScaGoudy) | Web (Sans-Serif) |
|---|---|
| å | ṛ |
| ä | ā |
| ö | ṭ |
| ù | ḥ |
| ë | ṇ |
| ò | ḍ |
| ç | ś |
| à | ḿ |
| é | ī |
| ü | ū |
| è | ṝ |
| ì | ń |
| ï | ļ |
| ÿ | ṣ |
| ṣ | 0 |
Roman (SanSerif or Web) → Hebrew Conversion
Vowels:
| Roman | Hebrew |
|---|---|
| ai | ַיְ |
| au | ַוּ |
| a | ַ |
| ā | אָ |
| i | י |
| ī | ִי |
| u | וּ |
| ū | ֻוּ |
| e | ֵ |
| o | וֹ |
Special Consonants:
| Roman | Hebrew |
|---|---|
| ṛ, ṝ | רִּי, qי |
| ṭ | ט |
| ḍ | דּ |
| ṣ | מּ |
| ś | שׂ |
| ḿ | מּ |
| ḥ | הּ |
| ṇ | נּ |
| ń | נ֗ |
| ñ | נֿ |
| ļ | לּ |
| ṇ | נּ |
| ḍ | דּ |
| ṭ | ט |
| ṣ | שׁ |
| ḥ | הּ |
| ṁ | מ / םּ (depends on context) |
| ṅ | נֹ |
| ḷ | לּ |
Standard Consonants:
| Roman | Hebrew |
|---|---|
| a | א |
| b | בּ |
| c | צ׳ |
| d | ד |
| e | א |
| g | ג |
| h | ה |
| j | שׂ |
| k | ק |
| l | ל |
| m | מ |
| n | נ |
| p | פּ |
| r | ר |
| s | ס |
| t | ת |
| v | ו |
| y | י |
| z | ז |
Final Hebrew Forms (applied at word-end):
| Regular | Final |
|---|---|
| מ | ם |
| נ | ן |
| מּ | םּ |
| צ׳ | ץ׳ |
🛠 Notes
- The script applies regex-based transliteration rules including context-aware substitutions.
- Some consonants (e.g., ṁ) change based on position (middle vs. word end).
- Font switching affects only visual display — not logic.
🧾 License
MIT or GPL — feel free to modify and reuse.
📬 Contact
Open issues or submit improvements via GitHub.