Documentation · Settings
Lang Switcher settings, section by section
Five sections: “General”, “Hotkey”, “Layouts”, “Exclusions” and “Diagnostics”, and every change takes effect at once. A few settings exist only in the settings file.
How to open it
Click the tray icon with either mouse button and choose “Settings…”; if the icon shows the layout flag, right-click it. The “Lang Switcher — Settings” window opens: five sections on the left, the one you pick on the right, and a single “Close” button at the bottom.
There’s nothing to save: a change takes effect at once and goes straight into the settings file. A switch, an appearance button, a choice in a list or a box in the layout list acts the moment you click it; a new hotkey, as soon as you press it; an exclusion, when you click “Add” or “Remove”; the layout order, when you click “Up” or “Down”. If the file can’t be written, the change is undone, and the top of the section says “The settings could not be saved. The change was not applied.”
1. General
- “Start when I sign in” is the same switch as in the tray menu: the program starts with Windows, with no UAC prompt.
- “Sound feedback” plays a click for every press of the hotkey: a double click means the word was replaced or the layout switched, a single click means the press did nothing, and a dull thud means the program refused.
- With “Fix the selected text” turned off, the hotkey works only on the word you just typed.
- “Layout flag in the tray” turns the tray icon into the flag of the layout you’re typing in, and a click on the flag opens the Windows list of layouts. It’s off by default. More on this: Layout flag in the tray.
- “Tell me about program updates” shows the update window by the tray icon after an important update: what’s new and where to read about it (How to update). It’s on by default, and the same switch is in the “From the author” window.
- “Interface language” offers 66 languages: the language of Windows, English, the languages of your keyboard layouts and Russian at the top, and the rest below a line, each under its own name. The program’s windows switch to the new language without a restart. Most of these translations were made without native speakers, so mistakes are possible. If you spot one, click “Found a mistake in the translation?” under the list: it opens the feedback wizard with two fields, “What does it say now?” and “What should it say?”. The button is there in every interface language except Russian, and it isn’t shown while the top of the section says a change couldn’t be saved.
- “Appearance” can be “Match system”, “Light” or “Dark”.
2. Hotkey
“Key” shows the current hotkey, and “Set” changes it. A single key works, and so do combinations with Ctrl, Alt or Shift, a double Shift and a Ctrl+Alt tap. A new hotkey works right away. The default is Pause.
Above the field, you choose “One key” or “Two keys”. With two, each key has one job: “Fix typed text” only fixes, and “Switch layout” only switches the layout; “Remove” clears the second key. For details, see the hotkey page.
3. Layouts
With two layouts, there’s nothing to do here: the word goes to the other one. With three or more:
- In “Pair” mode, you choose “Source” and “Target”, and the word goes from one to the other; the other layouts stay out of it.
- In “Several layouts” mode, each press moves the word to the next layout in the cycle, and after the last one you get back what you typed. In the list under “Cycle: the tick takes part, the buttons set the order”, check the layouts you want, and use “Up” and “Down” to set the order. A cycle can hold up to eight layouts.
When you add a layout in Windows, the program picks it up as soon as you switch to another window or field.
4. Exclusions
Lang Switcher doesn’t work in the programs listed here. To add one, either click “Pick a program window” under “Automatically” and switch to that program within 5 seconds, or type its process name, such as game.exe, under “Manually” and click “Add”. To remove names, select them and click “Remove”. In an excluded program, nothing you type is remembered, and the hotkey goes to the program itself. This is for games with anti-cheat protection and for programs that read the keyboard directly, bypassing Windows.
For details, see Exclusions.
5. Diagnostics
- “Keep a journal” makes the program record its own events in a journal: only operation names and error codes, not a single keystroke. It’s off by default. “Journal folder” shows where the journal is, and “Open the journal folder” opens it.
- “Save the journal” writes the journal right away; for two seconds the button says “Journal saved”.
- “Write to the author…” opens the feedback wizard: it puts the text together and sends it to me only when you press “Send”.
Below that is what the program is doing right now:
- a dot and “Working”, “Suspended” or “Restart needed”;
- “Fixes: …”, the layouts the program fixes text between, or “No layouts chosen”;
- “Key: …”, the current hotkey; with two keys, the same line adds “Layout switch: …”;
- “Start when I sign in: on” or “…: off”.
These lines are updated when the window opens and after every change. “Details for the author” opens a small window with the lines meant for me: whether the keyboard hook is working (or “The keyboard hook is not installed”), how many layouts the session has, whether autostart is in the registry, which pair of layouts is in effect (in “Several layouts” mode, which cycle) and whether choosing a layout ever failed. “Copy” puts them on the clipboard, so you can paste them into a message to me.
“Restart needed” and a grayed-out “Resume — restart needed” in the tray menu mean the same thing: key processing turned itself off after errors. Choose “Exit” and start the program again. If it happens again, write to me and attach the journal.
Only in the file
The window doesn’t show everything. These settings live only in %APPDATA%\:
- how many seconds it takes for a word to be forgotten:
[buffer] idle_timeout_s, 300 by default,0for never; - how the text is replaced:
[replacement] method; the default,auto, suits almost everyone; - the clipboard pauses when selected text is converted:
[selection] clipboard_timeout_msandclipboard_;restore_ delay_ ms - letters and news from my feed:
[letters] feed; no window has a switch for them.
Edit the file while the program isn’t running: it rewrites the file from memory, and your comments won’t survive.
See also
Questions and problemson GitHub Issues ↗ or by email: send.me@panda-pishet-kod.dev