{"id":13669245,"url":"https://github.com/laravel-ja/comja5","last_synced_at":"2025-12-13T05:55:23.402Z","repository":{"id":26723712,"uuid":"30181186","full_name":"laravel-ja/comja5","owner":"laravel-ja","description":"コメント日本語変換","archived":false,"fork":false,"pushed_at":"2018-04-06T10:00:00.000Z","size":213,"stargazers_count":33,"open_issues_count":1,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-26T15:54:03.450Z","etag":null,"topics":["japanese","laravel","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laravel-ja.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-02T10:04:15.000Z","updated_at":"2023-12-05T10:47:50.000Z","dependencies_parsed_at":"2022-07-25T16:18:12.692Z","dependency_job_id":null,"html_url":"https://github.com/laravel-ja/comja5","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/laravel-ja/comja5","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-ja%2Fcomja5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-ja%2Fcomja5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-ja%2Fcomja5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-ja%2Fcomja5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laravel-ja","download_url":"https://codeload.github.com/laravel-ja/comja5/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-ja%2Fcomja5/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27701207,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-13T02:00:09.769Z","response_time":147,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["japanese","laravel","php"],"created_at":"2024-08-02T08:01:07.462Z","updated_at":"2025-12-13T05:55:23.381Z","avatar_url":"https://github.com/laravel-ja.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# comja5\n\n\u003e Laravel5.5LTSがリリースされました。このパッケージはフレームワーク初心者の理解を手助けするため、リソースの翻訳を提供してきました。しかし、Laravelは高機能化が進み、既に初心者に勧められるほどシンプルではなくなりました。そこで、翻訳機能の更新は停止することにしました。\n\u003e\n\u003e 日本語(ja)の翻訳（言語）ファイル中、バリデーションエラーメッセージに関わる、validation.phpのみ当面保守していきます。\n\nA translation command for comments in files of laravel/laravel repository to Japanese. In addition\n\nLaravel5のlaravel/laravelリポジトリーに含まれているファイルのコメントを日本語に翻訳します。\n\nそのほか、おまけ機能として、タブの４空白変換とja言語ファイル生成ができます。\n\n\u003e 注意：コマンドはインストール直後のプロジェクトで実行してください。翻訳機能は英語の文字列を日本語へ変換しています。既にコーディングしたプロジェクトでは、意図しない箇所が変換される可能性があります。\n\n### インストール\n\n**プロジェクトのみにインストールする**\n\nプロジェクトのルートディレクトリ(composer.jsonファイルがある場所)で実行してください。\n\n~~~\ncomposer require laravel-ja/comja5\n~~~\n\n修正後、composer updateを実行してください。\n\n**グローバルにインストールする**\n\n~~~\ncomposer global require laravel-ja/comja5\n~~~\n\nホームディレクトリーの.composer/vendor/binに実行パスが通っていることを確認してください。\n\n\u003e 注意：\"dev-master\"は開発/デバッグ中のリポジトリのため、動作しないことがあります。\n\n### 実行\n\nコマンドの実行は、Laravelをインストールしたディレクトリーのトップで行います。\n\n**プロジェクトにインストールした場合**\n\nvendor/binの中にcomja5コマンドが作成されています。プロジェクトのルートディレクトリーで以下のように実行してください。オプションの説明が表示されます。\n\n~~~\nvendor/bin/comja5\n~~~\n\n**グローバルにインストールした場合**\n\n~~~\ncomja5\n~~~\n\nWindowsの場合、コマンドがプロンプトやパワーシェルに出力するコードはSJISです。\n\n翻訳したファイルの日本語はUTF8、改行コードは*nix形式です。\n\n### 実行時オプション\n\n#### -c もしくは --comment\n\nlaravel/laravelリポジトリーに含まれている、コメントを翻訳します。\n\n#### -t[=空白数] もしくは --tab[=空白数]\n\nタブを指定した数の空白に変換します。デフォルトは４文字です。\n\n#### -f もしくは --file\n\n日本語の言語ファイルをresouces/lang/jaディレクトリー下に生成します。\n\n#### -r もしくは --remove\n\nコメント行、空行を削除します。\n\n#### -a もしくは --all\n\nコメント翻訳、タブ変換、言語ファイル生成を実行します。\n\n#### -A\n\nコメント削除、タブ変換、言語ファイル生成を実行します。\n\n### アンインストール\n\n翻訳すれば、後は用済みです。インストール時にrequireセクションに付け加えたパッケージ指定を削除し、再度composer.jsonを実行します。\n\n### 不具合の報告\n\nGitHubでも良いですが、Twitterの@HiroKwsでも、Laravelに関するチャットを行っているlarachat-jp.slack.com（招待制：招待状はlarachat.jp@gmail.comまで）でも結構です。\n\n### Licence/Rights\n\nCopyright by Hirohisa Kawase\n\nLicensed by MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaravel-ja%2Fcomja5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaravel-ja%2Fcomja5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaravel-ja%2Fcomja5/lists"}