Skip to content

Commit

Permalink
✨ Add Keyboard's Toggle language indicator (#383)
Browse files Browse the repository at this point in the history
HUMORCE authored Jan 27, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 493c689 commit d01c8e3
Showing 3 changed files with 65 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 65 additions & 0 deletions docs/keyboard/toggle-language-indicator.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
title: Toggle language indicator | Keyboard
description: Toggle the language indicator visibility while switching input sources.
head:
- - meta
- property: 'og:title'
content: macOS defaults > Keyboard > Toggle language indicator
- - meta
- property: 'og:description'
content: Toggle the language indicator visibility while switching input sources.
---

# Toggle language indicator

Turn off the language indicator while switching input sources.

**Tested on macOS**:

- Sonoma

**Parameter type**: bool

## Requirements

- User must have at least <a href="x-apple.systempreferences:com.apple.preference.keyboard?InputSources">2 Input Sources set up in the Keyboard settings</a>

## Set to `true` (default value)

Turn on the language indicator while switching input sources.

```bash
defaults write kCFPreferencesAnyApplication TSMLanguageIndicatorEnabled -bool "true"
```

<img
src="./images/toggle-language-indicator/on.png"
alt="Example output with value set to true"
width="740" height="494" style="height: auto"
/>

## Set to `false`

Turn off the language indicator while switching input sources.

```bash
defaults write kCFPreferencesAnyApplication TSMLanguageIndicatorEnabled -bool "false"
```

<img
src="./images/toggle-language-indicator/off.png"
alt="Example output with value set to false"
width="740" height="494" style="height: auto"
/>

## Read current value

```bash
defaults read kCFPreferencesAnyApplication TSMLanguageIndicatorEnabled
```

## Reset to default value

```bash
defaults delete kCFPreferencesAnyApplication TSMLanguageIndicatorEnabled
```

0 comments on commit d01c8e3

Please sign in to comment.