Skip to content

Latest commit

 

History

History
96 lines (66 loc) · 2.56 KB

i18n.md

File metadata and controls

96 lines (66 loc) · 2.56 KB

Internationalization

The application supports internationalization (I18N). There are multiple components to editing and previewing internationalized text documents. These include:

  • Fonts
  • Language

Both fonts and language must be set for non-Latin-based text.

Fonts

The text editors and preview panel have independent font settings. For all Chinese, Japanese, and Korean (CJK) fonts, you may have to type in the font family name directly.

For example, CJK font families for the editor have the following names:

  • Noto Sans CJK KR --- Korean font
  • Noto Sans CJK JP --- Japanese font
  • Noto Sans CJK HN --- Chinese font
  • Noto Sans CJK SC --- Simplified Chinese font

While CJK font familes for the preview have the following names:

  • Noto Serif CJK KR --- Korean font
  • Noto Serif CJK JP --- Japanese font
  • Noto Serif CJK HN --- Chinese font
  • Noto Serif CJK SC --- Simplified Chinese font

Editor

Complete the following steps to change the editor font:

  1. Click Edit → Preferences.
  2. Click Fonts.
  3. Click Change under Editor Font.
  4. Find the font name by typing or scrolling.
  5. Click the desired font family.
  6. Click OK.
  7. Click Apply.

The text editor font is changed.

Note the following:

  • The font must be installed in the system for this to work.
  • You may have to edit the font name if it cannot be selected from the list.
  • Setting the editor font also sets the statistics panel font.

Preview

The preview panel uses regular and monospace fonts.

Regular

Complete the following steps to change the regular preview font:

  1. Click Edit → Preferences.
  2. Click Fonts.
  3. Click Change under Preview Font for the Preview pane font name.
  4. Find the font name by typing or scrolling.
  5. Click the desired font family.
  6. Click OK.
  7. Click Apply.

The regular preview font is changed.

Monospace

Complete the following steps to change the monospace preview font:

  1. Click Edit → Preferences.
  2. Click Fonts.
  3. Click Change under Preview Font for the Monospace font name.
  4. Find the font name by typing or scrolling.
  5. Click the desired font family.
  6. Click OK.
  7. Click Apply.

The monospace font is changed.

Language

Language settings control the locale that the application uses. When using a CJK font, for example, the application must also be instructed to use a particular locale. Change the locale as follows:

  1. Click Edit → Preferences.
  2. Click Language.
  3. Select a value for Locale.
  4. Click Apply.

The language is set.