Documentation · Hotkey and layouts

Lang Switcher layout flag in the tray: how to turn it on

The tray icon can show the flag of the layout you’re typing in: “Settings…” → “General” → “Layout flag in the tray”. Click the flag to open the Windows list of layouts, or right-click it for the tray menu.

What the flag is

Turn on “Layout flag in the tray”, and the Lang Switcher tray icon becomes the flag of the keyboard layout you’re typing in. Switch layouts, and the flag changes too. Click the flag, and a list of layouts opens.

ENGRUSAlt + ShiftENGRUS
ENGRUSAlt + ShiftENGRUS
The flag on the taskbar: Alt+Shift switches from the English layout to the Russian one, a click on the flag opens the list of layouts, and picking English brings it back.
  • The flag goes by the country Windows gives for the layout’s language: English (United States) gets the US flag, English (United Kingdom) the British one. Two layouts from one country share a flag, and the icon’s tooltip tells them apart.
  • No flag for that country in the program? You get a small tile with two letters of the language instead.
  • The tooltip shows the name of the layout’s language.
  • While the program is suspended, the flag is gray and paler. An unread letter puts a dot on it.
  • In a program on the exclusions list, the flag still shows the layout.

How to turn it on

Open the tray menu → “Settings…” → “General” and turn on “Layout flag in the tray”. The change takes effect right away: the icon turns into the flag, and there’s nothing else to click. The flag is off by default. In the settings file, it’s [general] tray_flag = true.

12:00Lang Switcher — SettingsGeneralHotkeyLayoutsExclusionsDiagnosticsPanda KoderSETTINGSGeneralStartup, sound, tray flag, language and lookStart when I sign inSound feedbackFix the selected textLayout flag in the trayNEWThe program icon shows the flagof the current layoutTell me about program updatesInterface languageEnglishAppearanceMatch systemLightDarkCloseLANG SWITCHERworkingSuspendPauseSettings…Start when I sign inWrite to the author…AboutExit1234
12:00GeneralGeneralLayout flag in the trayCloseLANG SWITCHERworkingSuspendPauseSettings…Write to the author…AboutExit1234
Click the icon → “Settings…” → “General” → turn on “Layout flag in the tray”, and the icon on the taskbar turns into the flag.

How to keep the flag on the taskbar

If the flag is hidden under the ^ arrow by the clock, move the icon onto the taskbar.

Windows 11: Settings → Personalization → Taskbar. Expand “Other system tray icons” and turn on Lang Switcher.

12:00SettingsPersonalizationPersonalizationTaskbarPersonalization › TaskbarOther system tray iconsLang Switcher1234
12:00SettingsPersonalizationPersonalizationTaskbarPersonalization › TaskbarOther system tray iconsLang Switcher1234
Windows 11: Settings → Personalization → Taskbar → expand “Other system tray icons” → turn on Lang Switcher, and the flag moves onto the taskbar.

Windows 10: Settings → Personalization → Taskbar → “Select which icons appear on the taskbar”, and turn on Lang Switcher.

12:00SettingsPersonalizationPersonalizationTaskbarTaskbarSelect whichicons appear onthe taskbarSelect whichicons appear onthe taskbarLang Switcher1234
12:00SettingsPersonalizationPersonalizationTaskbarTaskbarSelect which icons appearon the taskbarSelect which icons appearon the taskbarLang Switcher1234
Windows 10: Settings → Personalization → Taskbar → “Select which icons appear on the taskbar” → turn on Lang Switcher.

On both, you can also get there by right-clicking the taskbar and choosing “Taskbar settings”.

Clicking the flag

A left click on the flag opens the Windows list of layouts, the same one you get by clicking the input language icon by the clock. Pick a layout, and the window you were typing in becomes active again and gets that layout. Esc, a click outside the list or picking the current layout changes nothing.

With the flag on, the tray menu (“Settings…”, “Suspend” and the rest) opens with a right click: the left click now belongs to the list of layouts.

12:00LANG SWITCHERworkingSuspendPauseSettings…Start when I sign inWrite to the author…AboutExitright-click12
12:00LANG SWITCHERworkingSuspendPauseSettings…Write to the author…AboutExitright-click12
A right click on the flag opens the program’s menu; a left click opens the list of layouts, as in the first picture on the page.

If there’s no language icon by the clock

If the input language icon by the clock is hidden, or the Windows list doesn’t open within a second and a half, the flag shows a list of its own, much like the one in Windows 11:

  • the heading “Keyboard layout”;
  • a row for each layout: the language code (ENG, RUS) and the name, as in the settings window, with the Windows name of the layout in lighter text below; the current layout is marked with a bar on the left;
  • the “More keyboard settings” link at the bottom.
12:00Keyboard layoutENGEnglish (United States)RUSРусский (Россия)More keyboard settings
12:00Keyboard layoutENGEnglish (United States)RUSРусский (Россия)More keyboard settings
The program’s own list: the code and name of each layout, a bar by the current one, and the “More keyboard settings” link at the bottom.

This list works with the keyboard too: the arrow keys, Home and End, Enter or Space to pick, Esc to close. Once you pick a layout, the window you were typing in becomes active again, and the program switches it to that layout itself.

Known issue: after you click in a text field in Microsoft Edge, a layout picked in this list sometimes doesn’t get through to Edge, and the same can happen when you switch layouts with Windows’ own keys. As far as Windows is concerned, the layout has switched, but Edge keeps typing in the previous one until you restart it. This is Edge’s own behavior: it happens even when Lang Switcher isn’t running.

How to turn it off

Right-click the flag → “Settings…” → “General” and turn off “Layout flag in the tray”. The icon goes back to normal at once, and a left click opens the menu again.

12:00Lang Switcher — SettingsGeneralHotkeyLayoutsExclusionsDiagnosticsPanda KoderSETTINGSGeneralStartup, sound, tray flag, language and lookStart when I sign inSound feedbackFix the selected textLayout flag in the trayNEWThe program icon shows the flagof the current layoutTell me about program updatesInterface languageEnglishAppearanceMatch systemLightDarkCloseLANG SWITCHERworkingSuspendPauseSettings…Start when I sign inWrite to the author…AboutExitright-click1234
12:00GeneralGeneralLayout flag in the trayCloseLANG SWITCHERworkingSuspendPauseSettings…Write to the author…AboutExitright-click1234
Right-click the flag → “Settings…” → “General” → turn off “Layout flag in the tray”, and the usual program icon is back on the taskbar.

Questions and problemson GitHub Issues ↗ or by email: send.me@panda-pishet-kod.dev