Dev.to WebDev ๐Ÿ›  Dev ๐Ÿ‘ 0 ๐Ÿ“– 2 min read

Changed Nonenglishtext to English.

๐ŸŽฎ MOKSHA Devlog โ€” Commit db000bac Author: pj90 (@weirdcodesofficial) Date: August 9, 2026 Changes: 110 lines (73 additions, 37 deletions) ๐Ÿ“ Commit Message Text-fix: Changed Nonenglishtext to Englis

๐ŸŽฎ MOKSHA Devlog โ€” Commit db000bac

Author: pj90 (@weirdcodesofficial)

Date: August 9, 2026

Changes: 110 lines (73 additions, 37 deletions)

๐Ÿ“ Commit Message

Text-fix: Changed Nonenglishtext to English.

๐Ÿ”ง What Changed

This commit standardizes English transliteration throughout the game's UI, documentation, and game mechanics. The goal is to improve accessibility and readability by replacing diacritical Sanskrit transliterations with their common English equivalents.

Key Updates:

  1. Emoji UI Corrections (index.html)
  • Updated touch-screen button icons for consistency

  • Changed ๐ŸŒฟ โ†’ ๐Ÿ™ for the "s" key

  • Changed ๐Ÿ™ โ†’ ๐Ÿ™Œ for the "w" key

  1. Internationalization (i18n) Expansion (src/i18n.js)
  • Added 8 new UI strings in both Hindi and English:

    • Pause menu: title, resume, restart, quit
    • Shastra (knowledge) overlay: title and subtitle
    • Tutorial dismiss prompt
    • Loading screen text
  • Fixed Sanskrit diacritics โ†’ English:

    • Yogavasiแนฃแนญha โ†’ Yogavashishtha
    • Vikshepa (fixed acute accent)
  1. Language System Updates (src/main.js)
  • Implemented dynamic language switching for:

    • Pause overlay (stambhana/เคธเฅเคคเคฎเฅเคญเคจ)
    • Shastra knowledge overlay
    • Loading screen text
  • Ensures UI responds instantly to language preference changes

  1. Game Documentation Overhaul (src/shastra.js)
  • Replaced all Sanskrit diacritical marks with English equivalents:

    • ฤ€tman โ†’ Atman
    • Mฤyฤ โ†’ Maya
    • Puแน‡ya / Pฤpa โ†’ Punya / Papa
    • Nฤma โ†’ Naama
    • Chetanฤ โ†’ Chetana
    • Kแน›pฤ โ†’ Kripa
    • Prฤrabdha โ†’ Prarabdha
    • ลšฤstra / ลšaแน…kha โ†’ Shastra / Shankha
  • Updated Bhagavad Gita reference: 4.37 (now without diacritic)

  • Updated Upanishad citations: Katha, Brihadaranyaka

  1. UI Rendering (src/render.js)
  • Tutorial dismiss button now uses the new i18n system instead of hardcoded text

๐ŸŽฏ Impact

  • โœ… Improved Accessibility: English-speaking players can more easily read and understand game terminology

  • โœ… Internationalization-Ready: Proper i18n system now manages all UI strings, making future language additions seamless

  • โœ… Better Consistency: Standardized transliteration across all game elements (UI, docs, and mechanics)

  • โœ… User Experience: Pause menu and shastra overlay now properly update when players switch languages mid-game

๐Ÿ“Š Files Modified

  • index.html (2 additions, 2 deletions)

  • src/i18n.js (18 additions, 2 deletions)

  • src/main.js (20 additions, 0 deletions)

  • src/render.js (1 addition, 1 deletion)

  • src/shastra.js (32 additions, 32 deletions)

๐ŸŽญ Thematic Note

Despite the technical simplification to Roman script, the commit preserves the deep philosophical essence of the gameโ€”blending Vedantic concepts (Moksha, Atman, Karma, Maya) with modern game design. The accessibility improvement ensures more players can engage with MOKSHA's rich spiritual narrative without linguistic barriers.

๐Ÿ“ฐ Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes โ€” full credit and traffic to the original publisher.