Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7887773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:40:06+00:00 2026-06-03T05:40:06+00:00

I have two languages set in my windows settings – Czech (default) and English

  • 0

I have two languages set in my windows settings – Czech (default) and English (for programming). I want to switch between them in powershell.

I generally work in Czech language, and it is my default language on my PC. So whenever I (re)start any app, it starts with Czech keyboard layout.

But I am programming with English layout. So I always need to tap Alt+Shift when I am starting new programming app – i.e. powershell window.

Is there some way to do this with some command in powershell? Or in C#, possibly through some win32 api call (as I could make myself small cmdlet for this)?

I found this question (and some others), but I didn’t understand it(them) much…

I never worked with Win API, so I don’t know what exactly is possible and how to work with it…

Does somebody has some cmdlet or little tutorial how to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T05:40:07+00:00Added an answer on June 3, 2026 at 5:40 am

    I found nice and very easy solution! There is WASP project on Codeplex. This project allows to manipulate windows, send keys to them and send clicks to them.

    Solution for my problem is to import the WASP module when powershell is starting, then select powershell window (using WASP) and send Alt+Shift keystroke to it (using WASP).

    Here is the code to include to the powershell profile.ps1 file in order to change language to the next one:

    Import-Module WASP
    Select-Window powershell | Send-Keys "%+" # '%' = ALT key, '+' = SHIFT key
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to test whether two languages have a string in common. Both of
I currently have two supported languages: English and Spanish. Thus I have two main.strings
I have an application that is supposed to be localized (two languages, english being
I have an app that is localized for two languages: English and Danish. If
in my project i have two supported languages (german - de, and english -
I am developing windows application which supports two language Arabic and English. I want
Well as I have posted earlier too...I have created a site in two languages.One
I have menu, that is on two different languages.My problem is that, on each
I'm building a site which will provide product information in two languages: English and
In other languages I have two sets of operators, or and || , which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.