Easily type Indian languages on Windows using Varnam transliteration engine.
This project is a hard-fork of ime-rs extended to support plugging Varnam as the transliteration engine on native Windows IME.
Download the latest executable "Varnam-Windows-Install.exe" from Releases.
Note
Running the setup executable will prompt you for Administrator
permissions, this is required to register Varnam as an IME service.
The Setup Wizard will guide you through choosing the installation path, choosing languages, and setting the IME environment up.
Varnam's Setup Wizard will automatically register the input method in your operating system. If "Varnam Windows" does not show up in your input language section drawer (Win + Space
), follow these steps:
- Open Settings.
- Navigate to
Time & Language
, then selectLanguage
. - Click on
Add a language
and search for the desired language from the search window pop up. - Click on the installed language and select
Options
. - In the
Keyboard
options, click onAdd a keyboard
and selectVarnam Windows
. Varnam Windows
should now appear as an input method in your language selection drawer.
Make sure to enable Varnam by switching the toggle button in your Task Bar.
Prerequisites:
- Windows 64 bit
- Visual Studio (Including command-line utils:
lib.exe
andgendef.exe
) - Rust and Cargo
- Go
- msys64
- PowerShell
1. Open the project Varnam Windows by opening the file cpp\VarnamWindows.sln
in Visual Studio.
2. Build and compile the bundle:
Build -> Build Varnam Windows
This should:
- Build Govarnam, Rust native IME, and the SampleIME-cpp in sequence.
- Build the necessary DLL, LIB, and PDB files into the
varnam-windows\cpp\x64\Debug
directory. - Fetch the latest language schemes from https://github.com/varnamproject/schemes.
- Import words from the VLF files into the language schemes.
- Setup language choice configuration.
3. Open "Command Prompt" as Administrator, navigate to varnam-windows\cpp\x64\Debug
and register the DLL to install Varnam as the native IME for the supported languages.
regsvr32 "Varnam Windows.dll"
To unregister the DLL, run:
regsvr32 /u "Varnam Windows.dll"
4. Compile the varnam-windows.iss
using Inno Setup to package and generate the Varnam Setup Wizard (Varnam Windows Install.exe
).