Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(macOS): a log out or restart is needed for the locale switching to take effect #6527

Closed
MakaraSok opened this issue Apr 13, 2022 · 2 comments

Comments

@MakaraSok
Copy link
Collaborator

MakaraSok commented Apr 13, 2022

Describe the bug

While testing this PR (#6501), for the locale switching to take effect, the os is required to be logged out or restarted.

With the current latest beta version (15.0.232-beta), switch the system language to Amharic and see the error where the Keyman menu doesn't switch to the language (see below).

Right after switching the locale to Amharic (before logging out and/or restarting)

Big Sur Monterey
image

When logging out and logging back in, the menu is now shown in Amharic.

Big Sur Monterey
image

Expected behavior

The UI language should have switch to the select language immediately without logging out nor restarting the machine.


Keyman for macOS:

  • OS: macOS Big Sur v11.0.1 and Monterey v12.3.1
  • Keyman version: 15.0.232-beta
  • Target Application: Keyman
@MakaraSok MakaraSok changed the title bug(macOS): a log out or restart is needed for the local switching to take effect bug(macOS): a log out or restart is needed for the locale switching to take effect Apr 13, 2022
@sgschantz
Copy link
Contributor

@MakaraSok @bharanidharanj I don't believe this is a bug as the system provides a dialog that warns that a restart made may be needed:

image

In the case of a system extension like Keyman, a restart seems reasonable, but there is also a helpful feature added in MacOS Catalina that is useful for testing. Users can add Keyman as an app in the Language & Region settings and set the language specifically for Keyman. When doing so, the system will ask if you want to restart the app. With this setting, I have not had to restart the Keyman, and it has applied the localization for the selected language.

image

If there are issues with a restart being needed sometimes and sometimes not, then it may be because the language was added for the first time as opposed to just being moved up as the preferred language.

@sgschantz sgschantz added this to the B15S7 milestone Apr 29, 2022
@mcdurdin mcdurdin modified the milestones: B15S7, A16S1 May 3, 2022
@MakaraSok
Copy link
Collaborator Author

Quoted from https://www.addictivetips.com/mac-os/change-language-mac/

If the language that you install is fully supported, it will be installed as a primary language. Your system will need to restart to apply the change.
If the language that you install is only partially supported, you do not need to restart the Mac.

This might be the confusing part.

Let's close this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants