feat: implement in Japanese#5
feat: implement in Japanese#5r1cA18 wants to merge 1 commit intogithub:mainfrom r1cA18:feature/implement-in-japanese
Conversation
There was a problem hiding this comment.
Pull Request Overview
This pull request implements comprehensive Japanese localization for the Specify CLI tool, translating all user-facing text from English to Japanese. Additionally, it adds a local configuration file to enable specific MCP permissions. The changes provide full Japanese language support for CLI users while maintaining functionality.
- Complete Japanese translation of all CLI messages, help text, and command descriptions
- Translation of template files for specifications, plans, and task generation
- Addition of local settings file for MCP permission configuration
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/specify_cli/init.py | Complete Japanese localization of CLI interface, help text, error messages, and user prompts |
| templates/tasks-template.md | Full Japanese translation of task template structure and documentation |
| templates/spec-template.md | Japanese translation of specification template format and guidelines |
| templates/plan-template.md | Complete Japanese localization of implementation plan template |
| templates/commands/tasks.md | Japanese translation of tasks command documentation |
| templates/commands/specify.md | Japanese translation of specify command documentation |
| templates/commands/plan.md | Japanese translation of plan command documentation |
| templates/agent-file-template.md | Japanese translation of agent file template structure |
| .claude/settings.local.json | New configuration file enabling mcp__serena__list_dir permission |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| Specify CLI - Specifyプロジェクトのセットアップツール | ||
|
|
||
| Usage: | ||
| uvx specify-cli.py init <project-name> | ||
| 使用方法: | ||
| uvx specify-cli.py init <プロジェクト名> | ||
| uvx specify-cli.py init --here | ||
|
|
||
| Or install globally: | ||
| またはグローバルインストール: | ||
| uv tool install --from specify-cli.py specify-cli | ||
| specify init <project-name> | ||
| specify init <プロジェクト名> | ||
| specify init --here |
There was a problem hiding this comment.
The module docstring should maintain the original English documentation for technical accuracy, with Japanese translations provided separately for user-facing content. Technical documentation and API references are typically kept in English for consistency with the broader development ecosystem.
| """階層的なステップをトラッキングして表示。Claude Codeのツリー出力と同様のスタイル。 | ||
| アタッチされたリフレッシュコールバックによる自動更新をサポート。 |
There was a problem hiding this comment.
Class docstrings should remain in English as they document the internal API for developers. Japanese translations should be limited to user-facing messages and interface text.
| """階層的なステップをトラッキングして表示。Claude Codeのツリー出力と同様のスタイル。 | |
| アタッチされたリフレッシュコールバックによる自動更新をサポート。 | |
| """Tracks and displays hierarchical steps in a tree-style format, similar to Claude Code's output. | |
| Supports automatic UI refresh via an attached callback. |
|
|
||
| def check_tool(tool: str, install_hint: str) -> bool: | ||
| """Check if a tool is installed.""" | ||
| """ツールがインストールされているか確認。""" |
There was a problem hiding this comment.
Function docstrings should remain in English for API documentation consistency. Only user-facing output should be translated to Japanese.
| """ツールがインストールされているか確認。""" | |
| """Check if the tool is installed.""" |
| @app.callback() | ||
| def callback(ctx: typer.Context): | ||
| """Show banner when no subcommand is provided.""" | ||
| """サブコマンドが提供されない場合にバナーを表示。""" |
There was a problem hiding this comment.
Function docstrings should remain in English for consistency with development documentation standards. Japanese should be used only for user-facing messages.
| """サブコマンドが提供されない場合にバナーを表示。""" | |
| """Show the banner when no subcommand is provided.""" |
|
I meant to make a PR to the fork, but accidentally did it here. Sorry about that. |
This pull request introduces comprehensive Japanese localization for the
specify_clitool, translating all user-facing messages, help texts, and command-line prompts into Japanese. Additionally, it adds a local settings file to allow themcp__serena__list_dirpermission. The most important changes are grouped below:Japanese Localization of CLI Tool:
src/specify_cli/__init__.pyhave been translated from English to Japanese, including the tagline, command descriptions, and error/warning messages. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22]Configuration/Permissions:
.claude/settings.local.jsonto allow themcp__serena__list_dirpermission, enabling directory listing for the relevant tool.These changes provide full Japanese language support for the CLI and adjust tool permissions for local development.