Skip to content

Navigation Menu

Sign in
Sign up
matsuo edited this page May 17, 2025 · 2 revisions

言語ファイル

  • 言語ファイルについて
    • 言語ファイルは、Windowsのiniファイル
    • iniファイルはWindows2000以降、Unicodeに対応している
  • ソースツリーでは installer\release\lang_utf8 フォルダにある
    • このファイルの文字コードを変換して実際に使用するiniファイルを作成する
    • 作成/修正する時は、lngファイルをUTF-8で扱う
  • インストール先
    • {app}\lang_utf16le フォルダに、utf16le に変換したものがコピーされる
      • 通常はこちらが使われる
    • {app}\lang フォルダに、言語ごとのエンコードに変換したものがコピーされる
      • Windows 9x のとき、このフォルダのファイルを読み込む

国際化するメッセージを追加する

Add new language

  • copy {source tree}\installer\release\lang_utf8\English.lng to {app}\lang_utf16le\Newlang.lng as UTF16LE encoding
    • English.lng has latest messages. It is updated as needed by the TeraTerm Project.
  • edit TERATERM.INI like UILanguageFile=lang_utf16le\Newlang.lng
  • translate each messages
    • run Tera Term to check
  • send Newlang.lng to TeraTerm Project

After sending the Newlang.lng, please monitor updates to the English.lng file, which we manage.

  • the TeraTerm Project updates English.lng file as needed
  • when you detect an update, please translate only the differences and send them to me
  • we can then update our source tree, the changes will be included in the next release

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /