Skip to content

varnamproject/varnam-windows

Repository files navigation

binserve logo

VarnamIME for Windows

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.


Installation

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 Windows IME Installer

Using Varnam

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:

  1. Open Settings.
  2. Navigate to Time & Language, then select Language.
  3. Click on Add a language and search for the desired language from the search window pop up.
  4. Click on the installed language and select Options.
  5. In the Keyboard options, click on Add a keyboard and select Varnam Windows.
  6. 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.

Varnam Toggle Switch Varnam Screenshot

Build

Prerequisites:

Setup:

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:

  1. Build Govarnam, Rust native IME, and the SampleIME-cpp in sequence.
  2. Build the necessary DLL, LIB, and PDB files into the varnam-windows\cpp\x64\Debug directory.
  3. Fetch the latest language schemes from https://github.com/varnamproject/schemes.
  4. Import words from the VLF files into the language schemes.
  5. 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).