diff --git a/i18n/ja_JP.json b/i18n/ja_JP.json
new file mode 100644
index 0000000..1c4f4ba
--- /dev/null
+++ b/i18n/ja_JP.json
@@ -0,0 +1,109 @@
+{
+ "wide": "Wide",
+ "isDelete": "削除",
+ "cancel": "取消",
+ "file": "ファイル",
+ "login": "ログイン",
+ "username": "ユーザ名",
+ "current_user": "現在のユーザ",
+ "password": "パスワード",
+ "login_error": "ログインエラー",
+ "run": "実行",
+ "debug": "デバッグ",
+ "help": "ヘルプ",
+ "check_update": "更新をチェック",
+ "report_issues": "問題を報告",
+ "wide_doc": "Wide ドキュメント",
+ "about": "Wide について",
+ "start_page": "スタートページ",
+ "create_file": "新規ファイル",
+ "create": "作成",
+ "create_dir": "新規ディレクトリ",
+ "delete": "削除",
+ "save": "保存",
+ "exit": "終了",
+ "close_all_files": "全てのファイルを閉じる",
+ "save_all_files": "全てを保存",
+ "format": "フォーマット",
+ "goget": "go get",
+ "goinstall": "go install",
+ "build": "ビルド",
+ "build_n_run": "ビルド実行",
+ "editor": "エディタ",
+ "max_editor": "最大化",
+ "restore_editor": "元のサイズに戻す",
+ "unread_notification": "未読の通知",
+ "notification_2": "[gocode] が見つかりません。[Autocomplete] は動作しません。",
+ "notification_3": "[ide_stub] が見つかりません。[Jump to Decl]、[Find Usages] は動作しません。",
+ "goto_line": "指定行にジャンプ",
+ "go": "Go",
+ "tip": "ヒント",
+ "confirm": "確認",
+ "stop": "停止",
+ "output": "出力",
+ "search": "検索",
+ "notification": "通知",
+ "min": "最小化",
+ "restore_side": "ファイルツリーを戻す",
+ "search_text": "テキストを検索",
+ "find": "検索",
+ "find_next": "次を検索",
+ "find_previous": "前を検索",
+ "replace": "置換",
+ "replace_all": "全て置換",
+ "restore_bottom": "ウィンドウを下に戻す",
+ "file_format": "ファイルの拡張子",
+ "keyword": "キーワード",
+ "user_guide": "ユーザガイド",
+ "dev_guide": "開発ガイド",
+ "keyboard_shortcuts": "キーボードショートカット",
+ "ver": "バージョン",
+ "current_ver": "現在のバージョン",
+ "dev_team": "開発チーム",
+ "donate_us": "寄付",
+ "confirm_save": "保存の確認",
+ "workspace": "ワークスペース",
+ "project_address": "プロジェクト",
+ "community": "コミュニティ",
+ "autocomplete": "自動補完",
+ "jump_to_decl": "定義へジャンプ",
+ "show_expr_info": "式の情報を表示",
+ "find_usages": "使用方法を検索する",
+ "delete_line": "行を削除",
+ "save_editor_file": "保存",
+ "save_all_editors_files": "全てを保存",
+ "close_editor": "エディタを閉じる",
+ "full_screen": "全画面",
+ "auto_indent": "自動インデント",
+ "indent": "インデントを増やす",
+ "unindent": "インデントを減らす",
+ "focus": "フォーカス",
+ "switch_tab": "タブを切り替える",
+ "focus_editor": "エディタにフォーカスを与える",
+ "focus_file_tree": "ファイルツリーにフォーカスを与える",
+ "focus_output": "出力にフォーカスを与える",
+ "focus_search": "検索にフォーカスを与える",
+ "focus_notification": "通知にフォーカスを与える",
+ "start-build": "[go build] 開始",
+ "build-succ": "[go build] 成功",
+ "build-error": "[go build] 失敗",
+ "start-test": "[go test] 開始",
+ "test-succ": "[go test] 成功",
+ "test-error": "[go test] 失敗",
+ "start-install": "[go install] 開始",
+ "install-succ": "[go install] 成功",
+ "install-error": "[go install] 失敗",
+ "start-get": "[go get] 開始",
+ "get-succ": "[go get] 成功",
+ "get-error": "[go get] 失敗",
+ "check_version": "更新をチェック中",
+ "new_version_available": "新しいバージョンがあります",
+ "go_env": "Go",
+ "os": "OS",
+ "project": "プロジェクト",
+ "license": "ライセンス",
+ "credits": "クレジット",
+ "uptodate": "最新です",
+ "test": "テスト",
+ "colon": ":"
+}
diff --git a/i18n/locales.go b/i18n/locales.go
index e86e017..02d6946 100644
--- a/i18n/locales.go
+++ b/i18n/locales.go
@@ -23,6 +23,7 @@ func Load() {
// TODO: 自动加载所有语言配置
load("zh_CN")
+ load("ja_JP")
load("en_US")
}
diff --git a/static/css/base-en_US.css b/static/css/base-en_US.css
new file mode 100644
index 0000000..e69de29
diff --git a/static/css/base-ja_JP.css b/static/css/base-ja_JP.css
new file mode 100644
index 0000000..1ec0f2b
--- /dev/null
+++ b/static/css/base-ja_JP.css
@@ -0,0 +1,8 @@
+body {
+ font-family: Helvetica, 'MS Gothic';
+}
+
+input,
+button {
+ font-family: Helvetica, 'MS Gothic';
+}
diff --git a/static/css/base-zh_CN.css b/static/css/base-zh_CN.css
new file mode 100644
index 0000000..9bfc42a
--- /dev/null
+++ b/static/css/base-zh_CN.css
@@ -0,0 +1,8 @@
+body {
+ font-family: Helvetica, 'Microsoft Yahei';
+}
+
+input,
+button {
+ font-family: Helvetica, 'Microsoft Yahei';
+}
diff --git a/static/css/base.css b/static/css/base.css
index a7c2bfd..7f546e8 100644
--- a/static/css/base.css
+++ b/static/css/base.css
@@ -4,7 +4,7 @@ body {
margin: 0;
color: #000;
overflow: hidden;
- font-family: Helvetica, 'Microsoft Yahei';
+ font-family: Helvetica;
}
ul {
@@ -19,7 +19,7 @@ ul {
input,
button {
- font-family: Helvetica, 'Microsoft Yahei';
+ font-family: Helvetica;
}
.fn-left {
diff --git a/views/index.html b/views/index.html
index 597c2e4..4da204a 100644
--- a/views/index.html
+++ b/views/index.html
@@ -14,6 +14,7 @@
+