Add Urdu Quran Transliteration to Devanagari Script#27
Draft
Copilot wants to merge 2 commits into
Draft
Conversation
… output file Co-authored-by: druvx13 <131332414+druvx13@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Transliterate Urdu Quran text to Devanagari script
Add Urdu Quran Transliteration to Devanagari Script
Feb 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Transliterates the complete Urdu Quran translation (
quran_urdu_jalandhry.txt) into Devanagari script, producing a new output file. Verse number indicators and Surah titles are preserved as-is; only the Urdu (Arabic-script) text is converted.New:
src/urdu_to_devanagari.pyCharacter-level Urdu → Devanagari engine covering:
پ ٹ چ ڈ ڑ ک گ ہ ے ی ں)بھ→भ,کھ→ख,گھ→घ,چھ→छ, etc.ا→ā,و→o/व(context-sensitive),ی→ī,ے→े,یٰ→āاور→और,اے→ए,ای→ई्)الله→अल्लाह,ہے→है,ہیں→हैं,نہیں→नहीं۔→।,،→,,؟→?Updated:
src/gentxtforquran.pytransliterate_urdu_to_devanagarifrom the new moduleUrdu-Devanagari-SuraAyahformat handler — regenerates the Devanagari file directly fromdata/ur.jalandhry.txtNew:
output/quran_urdu_devanagari_jalandhry.txt[N:N]prefixes unchanged; 0 residual Arabic characters in verse text; 602,284 Devanagari characters generated💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.