PHP code tool hiển thị ngôn ngữ tiếng Nhật Japan language

0
642

Sublime Text 3 is one of the best and most highly recommended text editors for coders of all levels. In order to make full use of Sublime Text in a Japanese environment, there are a few packages that need to be installed.

Download: Subslime Text 3

First up, on a Windows system, IME Support for the input of Japanese characters. Then, UTF-8 to display the characters correctly and allow copy and paste from other applications. On a Mac, the Codec33 package may also be required if the installed version of Python is not complete enough.Add IME Support (Windows only)

In order to properly input Japanese text which uses double byte characters, it is necessary to add the IMESupport package.

  1. Open the Package Control search dialogue with Command+Shift+P or Ctrl+Shift+P. Alternatively open it from the Sublime Text menu with Preferences > Browse Packages.
  2. Enter Install and select Package Control: Install Package from the list
  3. Enter IMESupport and select the displayed package.
  4. Restart Sublime Text if prompted.

Add UTF-8 support

To properly display Japanese characters across environments and platforms a package to convert Shift-JIS to UTF-8 format is required.
The goto package here is ConvertToUTF8.

  1. Open the Package Control search dialogue with Command+Shift+P or Ctrl+Shift+P. Alternatively from the Sublime Text menu with Preferences > Browse Packages.
  2. Enter Install and select Package Control: Install Package from the list
  3. Enter ConvertToUTF8 and select the displayed package.
  4. Restart Sublime Text if prompted.

For Mac Users: Install Codecs33

In some cases the ConvertToUTF8 plugin may not function 100% correctly. This is due to limitations of the Python embedded in Sublime Text. This can be fixed by adding the Codecs33 plugin which specifically addresses this problem.

  1. Open the Package Control search dialogue with Command+Shift+P or Ctrl+Shift+P. Alternatively from the Sublime Text menu with Preferences > Browse Packages.
  2. Enter Codecs33 and select the displayed package.
  3. Restart Sublime Text if prompted.

Mình đã lập trình web app nhiều dự án cho khách hàng bằng tiếng Nhật và Sublime Text 3 hỗ trợ rất tốt, nếu các bạn làm theo hướng dẫn bên trên không được, để lại comment mình cho các bạn cùng học hỏi.

Chúc các bạn thành công

BÌNH LUẬN

Vui lòng nhập bình luận của bạn
Vui lòng nhập tên của bạn ở đây

5 + 1 =