Files
OmniRoute/bin/cli/locales/ja.json
Diego Rodrigues de Sa e Souza 79d03575ee feat(cli): suporte i18n completo — 42 locales, --lang flag, config lang get/set/list (#2285)
feat(cli): suporte i18n completo — 42 locales, --lang flag, config lang get/set/list

- 42 locale files in bin/cli/locales/ (en + pt-BR fully translated, 29 with common/program, 11 scaffolds)
- --lang <code> global flag for per-execution override
- config lang get/set/list subcommands
- Locale persistence via ~/.omniroute/.env
- Path traversal protection via regex validation in normalize()
- Script generate-locales.mjs for scaffolding new locales
- Unit tests for lang commands + normalization security

Integrated into release/v3.8.0
2026-05-15 13:14:14 -03:00

30 lines
1.4 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"common": {
"error": "エラー: {message}",
"serverOffline": "OmniRouteサーバーはオフラインです。起動: omniroute serve",
"authRequired": "認証が必要です。OMNIROUTE_API_KEYを設定するか実行してください: omniroute setup",
"rateLimited": "リクエスト制限を超えました。{seconds}秒後に再試行してください。",
"timeout": "{ms}ms後にリクエストがタイムアウトしました。",
"success": "完了。",
"yes": "はい",
"no": "いいえ",
"confirm": "よろしいですか?(はい/いいえ)",
"dryRun": "[シミュレーション] 実行予定: {action}",
"cancelled": "キャンセルしました。",
"jsonOpt": "JSON形式で出力",
"yesOpt": "確認をスキップ"
},
"program": {
"description": "OmniRoute — 自動フォールバック付きスマートAIルーター",
"version": "バージョンを表示して終了",
"output": "出力形式 (table, json, jsonl, csv)",
"quiet": "重要でない出力を抑制",
"no_color": "カラー出力を無効化",
"timeout": "HTTPリクエストタイムアウトミリ秒",
"api_key": "OmniRouteサーバーのAPIキー",
"base_url": "OmniRouteサーバーのベースURL",
"context": "このコマンドで使用するサーバーコンテキスト/プロファイル",
"lang": "CLI表示言語を設定OMNIROUTE_LANGを上書き"
}
}