Typing Russian stress marks on macOS

While Russian text intended for native speakers doesn’t show accented vowel characters to point out the syllabic stress (ударение) , many texts intended for learners often do have these marks. But how to apply these marks when typing?

Typically, for Latin keyboards on macOS, you can hold down the key (like long-press on iOS) and a popup dialog will show you options for that character. But in the standard Russian phonetic keyboard it doesn’t work. Hold down the e key and you’ll get the option for the letter ë (yes, it’s regarded as a separate letter in Russian - the essential but misbegotten ë .)

So there’s the problem. Stress marks1 are occasionally needed but are nearly impossible to type.

Solution

The solution is a little complicated and it requires some modifications to the instructions noted here on Ask Metafilter.

Here are the steps to follow:

  1. Download the .keylayout file Russian - Phonetic Accents.keylayout from this guy’s public Dropbox. If the idea of that creeps you out and you trust me slightly more, or if that link goes down, you can download it from my site.
  2. Move this .keylayout file to ~/Library/Keyboard Layouts. You will need to authenticate as an Administrator for this computer. Alternatively, you can download the key layout modification application Ukulele, install it and use it to open the “Russian - Phonetic Accents.keylayout” file that you downloaded in step one and then use Ukulele to install the keyboard. If you don’t completely know your way around macOS then that might be a safer approach. Either way, you may have to restart or log out and log in for this to take effect.
  3. Go to System Preferences > Keyboard > Input Sources
  4. Click the (+) button to add a keyboard layout. Scroll down to the bottom of the list of languages to find “Others”
  5. Click on “Others” and you’ll see the new keyboard. Install it be clicking “Add”.
  6. If you type in both Russian and English, then you probably already have the input menu displayed in the menu bar, but if not, it’s activated at System Preferences > Keyboard > Input Sources and select “Show Input menu in menu bar.” Now you should be see all of your input sources in the keyboard and character menu bar item:

  1. To type a character with stress marks, just type ⌥ + ‘, that’s option-apostrophe followed by the Russian vowel that you when to mark.

Alternative

There is a slightly more cumbersome alternative approach to going(nearly) straight to the Unicode character your intend to type. But if you only rarely need to input these stress-marked vowels, it might be worth exploring. Here are the steps:

  1. If you don’t have the input menu displayed in the menu bar, you’ll need to activate it now by going to System Preferences > Keyboard > Input Sources and selecting “Show Input menu in menu bar.”
  2. Now from the Input menu, select “Show Emoji & Symbols.”
  3. Select the ⚙ button at the top left. > “Customize List…”
  4. Select Code Tables > Unicode
  5. Now when you want to add a stress mark on a vowel, return to the character menu (Input menu, select “Show Emoji & Symbols”), select Unicode > 00000300 Combining Diacritical Marks and find row “0300”. Drag glyph 0301 (the second one in on that row) to a location just after the vowel you want to mark.

If you encounter any problems, feel free to contact me and I can talk you through the process.

References


  1. I somewhat loosely interchange the terms “accented characters” and “stress marks”. Although they change the pronounciation of vowels like accents in languages such as French, it’s only because they indicate the syllabic stress location ударение in the word and that in turn changes the pronunciation. It’s not an entirely pedantic point so I’ve used the terms interchangeably. ↩︎