winboat icon indicating copy to clipboard operation
winboat copied to clipboard

[Bug] Can't switch languages

Open AngelBePro opened this issue 2 months ago • 3 comments

What version of WinBoat are you running?

v0.8.7

Your Environment

Distro: Arch DE: KDE Plasma

I have powerpoint started using the apps section in winboat. Switching my language for my system doesn't seem to work. I also tried alt+shift, but that doesnt work.

Steps to Reproduce / Context

Open any app trough the apps section.

Logs

winboat.log install.log

Expected Behavior

Start typing in another language.

Current Behavior

Always typing in English.

Possible Solution

pressing a key combo changes the language on the container, as currently even adding a language to the container doesn't fix the issue.

Quality Notice

  • [x] I have checked the issue tracker and verified that this bug is a unique case.

AngelBePro avatar Oct 08 '25 13:10 AngelBePro

Experiencing the same issue. Running on PikaOS 4 with GNOME.

Fortunately, keyboard language can be changed and used as expected in Windows Desktop as a workaround.

This is quite inconvenient as an international user on a keyboard that's not just US English. Getting keyboard layout switching implemented on the apps would be nice.

laptoppe avatar Oct 16 '25 01:10 laptoppe

I have the same issue here (Japanese keyboard / input). Can switch the language by loading the Windows desktop and using the button next to the clock, but if just loading an application, the usual shortcuts don't work. Additionally, the Japanese Henkann keys don't get passed through to the VM (a FreeRDP configuration issue?).

adamRHargreaves avatar Oct 21 '25 05:10 adamRHargreaves

I have the same issue. But found a scuffed workaround, which may be could be used to fix it? So, when I open for example Word, I also open powershell alongside it. I made a script as such:

$languages = Get-WinUserLanguageList
$current = $languages[0].LanguageTag

if ($current -eq "en-US") {
    Set-WinUserLanguageList -LanguageList uk-UA,en-US -Force
} else {
    Set-WinUserLanguageList -LanguageList en-US,uk-UA -Force
}

here change uk-UA to whatever language you want (it should be installed in the system though as an alternative language) I then put this script in powershell's home directory under new scripts folder. eg C:\WINDOWS\System32\WindowsPowerShell\v1.0\scripts\langSwitch.ps1 Then, when PowerShell is opened I simply run .\scripts\langSwitch.ps1 and it switches the typing language for the system, including Word. The powershell window then can be left open to keep switching the language as needed.

Edit: found a less scuffed solution, that requires a third party app. Download and install AutoHotKey (https://github.com/AutoHotkey/AutoHotkey) (I installed v2), then make a script like this with extention .ahk:


#Requires AutoHotkey v2

;listens for Ctrl+`  to run the ps1 script, you can change it to some other shortcut, although some won't work. I tested shift alt and win space, these don't work.
^`::
{
    Run('powershell.exe -NoProfile -WindowStyle Hidden -File "<full-path-to-previous-.ps1-code>"',, "Hide")
    return
}

;listens for Ctrl+\ then exits the code
^\::
{
    ExitApp
}

and then same procedure as before. open powershell first. then run like this: Start-Process ".\scripts\langSwitch_v2.ahk" and you have a working language switcher (albeit with different shortcuts). You can remove -WindowStyle Hidden and ,, "Hide" if you wish to not hide the powershell popup. it does take a second to switch the languages - it's not instant.

Lionel-Logue avatar Oct 28 '25 12:10 Lionel-Logue