Language Settings

Synap Editor supports Korean, English, Japanese, Chinese (Simplified, Traditional), and Vietnamese.

Default Language

Use the editor.lang.default key to set the default language. The default language is the language shown when the user's browser language is not one of the languages provided by Synap Editor.

// synapeditor.config.js
{
  'editor.lang.default': 'ko' // ko, en, ja, zh, zh_tw, vi
}

For languages other than Korean and English, you must load the corresponding language pack before setting the language.

Forced Language

To always serve a specific language regardless of the user's environment, use the editor.lang key.

// synapeditor.config.js
{
  'editor.lang': 'ko' // ko, en, ja, zh, zh_tw, vi
}

For languages other than Korean and English, you must load the corresponding language pack before setting the language.

Applying a Language Pack

Include the language packs you need from the language pack files you received.

<!-- index.html -->
<script src="synapeditor/lang/ja.js"></script>
<script src="synapeditor/lang/vi.js"></script>
<script src="synapeditor/lang/zh.js"></script>
<script src="synapeditor/lang/zh_tw.js"></script>

[Example: language set to English]

Editor with English language setting

Related Information

  • Font Settings