Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Change Keyboard Language in OS X: Full Guide

· 6 min read · Home Tech

In this article
  1. Understanding Keyboard Languages and Input Sources
  2. How to Add a New Keyboard Language
  3. Switching Between Keyboard Languages
  4. Customizing Keyboard Shortcuts for Switching
  5. Using the Input Source Menu Bar Icon
  6. Common Problems and Troubleshooting
  7. Comparison with Other Operating Systems
  8. Frequently Asked Questions

To change the keyboard language in OS X (macOS), open System Preferences > Keyboard > Input Sources, click the + button, select your desired language and keyboard layout, then add it. After adding, you can switch between languages using a keyboard shortcut or the menu bar icon.

Understanding Keyboard Languages and Input Sources

In OS X, the term "keyboard language" refers to the input source—the mapping between physical keys and the characters they produce. This is different from the system language (the language used for menus and dialogs) and the region format (which affects dates, currency, and measurement units). Changing the input source does not change the system language; it only affects what characters appear when you type.

Each input source corresponds to a specific keyboard layout, such as U.S., British, French, German, Spanish, Russian, Chinese (Pinyin), and many others. Some layouts are designed for a particular physical keyboard, while others are software-based and can be used with any keyboard. For example, the U.S. International layout allows you to type accented characters using dead keys, even on a standard U.S. keyboard.

How to Add a New Keyboard Language

Adding a new keyboard language in OS X is straightforward. Here are the steps:

  1. Open System Preferences from the Apple menu (the icon in the top-left corner).
  2. Click on Keyboard.
  3. Go to the Input Sources tab.
  4. Click the + button at the bottom of the left-hand list.
  5. In the search field, type the language or layout you want (e.g., "French" or "Dvorak").
  6. Select the specific layout from the list (e.g., "French - AZERTY").
  7. Click Add.

Once added, the new input source will appear in the left-hand list. You can reorder the list by dragging, and the first item will be the default for new documents. To remove a layout, select it and click the – button.

Switching Between Keyboard Languages

After adding multiple input sources, you can switch between them in several ways:

  • Menu bar icon: If the input source icon (usually a flag or a character like "US") is visible in the menu bar, click it and select the desired layout.
  • Keyboard shortcut: By default, pressing Command+Space switches to the previous input source, and Option+Command+Space cycles through all available sources. You can change these shortcuts in the Shortcuts tab of the Keyboard preferences.
  • Caps Lock: In newer versions of macOS, you can set Caps Lock to toggle between input sources (if you enable it in Keyboard preferences).

When you switch, the menu bar icon updates to reflect the active layout. Some apps may also show a small indicator in the text field.

Customizing Keyboard Shortcuts for Switching

If the default shortcuts conflict with other apps (like Spotlight), you can change them. Go to System Preferences > Keyboard > Shortcuts > Input Sources. Here you can reassign the shortcuts for "Select the previous input source" and "Select the next input source." Click on the current shortcut and press the new key combination. Make sure to choose a combination that doesn't conflict with common system or app shortcuts.

Using the Input Source Menu Bar Icon

If the input source icon is not visible in the menu bar, you can enable it. In System Preferences > Keyboard > Input Sources, check the box for Show Input menu in menu bar. The icon will appear on the right side of the menu bar. Clicking it shows a list of all added input sources, along with options like "Show Keyboard Viewer" and "Open Keyboard Preferences."

The Keyboard Viewer is a handy tool that displays an on-screen keyboard showing which characters each key produces with the current layout. This is especially useful when you're learning a new layout or when you're using a physical keyboard that doesn't match the layout (e.g., using a U.S. keyboard with a French layout).

Common Problems and Troubleshooting

Sometimes users encounter issues when changing keyboard languages. Here are a few common ones:

  • Keyboard shortcut not working: If Command+Space doesn't switch, check if Spotlight is using the same shortcut. Go to System Preferences > Keyboard > Shortcuts > Spotlight and disable or change the Spotlight shortcut, then assign a new one for input sources.
  • Layout doesn't match physical keyboard: If the characters you type don't match the keys you press, you may have selected a layout that doesn't correspond to your physical keyboard. For example, the French AZERTY layout expects an AZERTY keyboard. Use the Keyboard Viewer to see the mapping.
  • Input source reverts after restart: Some apps or system settings may reset the input source. Make sure the desired layout is at the top of the list in Input Sources, and check if the issue is specific to a particular app (some apps have their own input source settings).
  • Cannot add a specific language: If a language doesn't appear in the list, it may not be supported as an input source, or you may need to enable it under Keyboard > Input Sources > Edit (if available). For some languages, you may need to install additional keyboard layouts from third-party sources, but be cautious about security.

Comparison with Other Operating Systems

Changing keyboard languages in OS X is similar to other operating systems but has some differences. On Windows, you add languages through Settings > Time & Language > Language, and you switch with Win+Space. On Linux (with GNOME), you add input sources in Settings > Region & Language, and switch with Super+Space. OS X's approach is more integrated with the system, and the keyboard viewer is a built-in feature that many other systems lack.

One unique aspect of OS X is the ability to use input sources that are not tied to a specific language, such as Unicode Hex Input (which allows you to type any Unicode character by entering its code) or Dvorak (an alternative keyboard layout). This flexibility is useful for programmers, linguists, and people with specific typing needs.

Frequently Asked Questions

Why doesn't the keyboard language change for all apps?

Each app can have its own input source setting. If you switch languages in one app and it doesn't affect another, check if the other app has a specific input source selected in its Edit menu (or via the menu bar icon). You can also enable "Allow a different input source for each document" in System Preferences > Keyboard > Input Sources, which gives you per-document control.

How do I set a default keyboard language for all new documents?

The first input source in the list in System Preferences > Keyboard > Input Sources is the default for new documents. Drag your preferred layout to the top of the list. This will be used unless you manually switch to another.

Can I use multiple keyboard languages at the same time?

Yes, you can add as many input sources as you like and switch between them instantly. You can also enable the Show Input menu in menu bar option to see which one is active and switch with a click.

What is the difference between "Keyboard Language" and "System Language"?

Keyboard language (input source) determines what characters appear when you press keys. System language determines the language of menus, dialogs, and system messages. You can change them independently. For example, you can have the system in English but type in Russian.

Does changing the keyboard language affect my physical keyboard?

No, it only changes the software mapping. Your physical keyboard remains the same. If you use a layout that doesn't match your physical keys, you'll need to refer to the on-screen Keyboard Viewer to know which key produces which character.