Skip to content

i18n(ja): add install-and-setup.mdx#13619

Merged
morinokami merged 9 commits intowithastro:mainfrom
mochi-yu:add-install-guide
Apr 11, 2026
Merged

i18n(ja): add install-and-setup.mdx#13619
morinokami merged 9 commits intowithastro:mainfrom
mochi-yu:add-install-guide

Conversation

@mochi-yu
Copy link
Copy Markdown
Contributor

@mochi-yu mochi-yu commented Mar 28, 2026

Description (required)

以下の手順で install-and-setup.mdx の翻訳を追加しました。

  1. b19bf51: i18n(ja): remove translations outdated by v6 changes #13357 で削除された install-and-setup.mdx を復元
  2. fe56568: install-and-setup.mdx を最新の英語版の内容に追従して更新
  3. 989c94f: install-and-setup.mdx の見出しへリンクを貼っている箇所を修正

fe56568 の変更差分を見ていただけると、古い版のドキュメントからの更新内容がわかりやすいかと思います。

相談

- astro.config.mjs
- package-lock.json または`yarn.lock``pnpm-lock.yaml`など
- package.json
- tsconfig.json

こちらの lint で 321L が落ちてしまっています。

ただ、こちらは package-lock.json の後ろにスペースを開けることで以下のように表示され、

image

半角スペースがないと以下のように表示されてしまいます。

image

英語の表示では、前者の方を意図しているのかなと思っています。

image

こちらどのように対応するのが良いでしょうか。

Related issues & labels (optional)

  • Closes #
  • Suggested label: i18n

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 28, 2026

Deploy Preview for astro-docs-2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit c8678c3
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/69da75a6bfc2ef0008421cd9
😎 Deploy Preview https://deploy-preview-13619--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot added the i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help! label Mar 28, 2026
@astrobot-houston
Copy link
Copy Markdown
Contributor

astrobot-houston commented Mar 28, 2026

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
ja/basics/project-structure.mdx Localization changed, will be marked as complete.
ja/guides/migrate-to-astro/from-docusaurus.mdx Localization changed, will be marked as complete.
ja/guides/migrate-to-astro/from-sveltekit.mdx Localization changed, will be marked as complete.
ja/guides/migrate-to-astro/from-vuepress.mdx Localization changed, will be marked as complete.
ja/guides/migrate-to-astro/from-wordpress.mdx Localization changed, will be marked as complete.
ja/install-and-setup.mdx Localization added, will be marked as complete.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@morinokami
Copy link
Copy Markdown
Member

@mochi-yu こちら対応ありがとうございます!Lint への対応の件ですが、基本的には英語版に合わせる必要があるかなと思います(というか、いただいたスクリーンショットを見る限り合わせないとおかしい)。問題になる箇所だけ Lint を disable するなどはできませんかね?

@mochi-yu
Copy link
Copy Markdown
Contributor Author

mochi-yu commented Apr 5, 2026

@mochi-yu こちら対応ありがとうございます!Lint への対応の件ですが、基本的には英語版に合わせる必要があるかなと思います(というか、いただいたスクリーンショットを見る限り合わせないとおかしい)。問題になる箇所だけ Lint を disable するなどはできませんかね?

@morinokami レビューありがとうございます!
textlint のドキュメントを見ていましたが、少し影響範囲が大きくなりそうで時間もかかってしまう気がしています。インストールページで早めに翻訳があった方が良いのかなとも思っています。
スタイルは崩れるが lint エラーが出ない形でマージしてしまい、追って別 PR で lint ignore の対応をするのはどうかと考えていますがいかがでしょうか。

現象としては、以下のように lint の ignore をしようとすると、 MDX のエラーが出ます。

image image

Copy link
Copy Markdown
Member

@morinokami morinokami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

こちらレビューが遅れてしまいすみません、細かい点について二つ気付いたため、対応をお願いします 🙏

また

スタイルは崩れるが lint エラーが出ない形でマージしてしまい、追って別 PR で lint ignore の対応をするのはどうかと考えていますがいかがでしょうか。

についてはいただいた方針で問題ないです!


## CLIでのインストール時のフラグ

`create astro`すべての質問に「yes」と答える、Houstonアニメーションをスキップするなど)や、新しいプロジェクトの内容(Gitの有無、インテグレーションの追加など)を変えるフラグを付けられます。
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここが括弧が対応しておらず、訳文として不完全になっているようです。すみませんが修正をお願いします 🙏

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix: 1640ba0


### インテグレーションを追加する

`create astro`に`--add`を付けると、新規プロジェクトの作成と同時に[`astro add`に対応した](/ja/guides/integrations/)公式またはコミュニティのインテグレーションを追加できます。
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

英文では official integrations がリンクとなっているため、ここでも「公式」などをリンクとすべきと思います。

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix: c8678c3

@mochi-yu mochi-yu requested a review from morinokami April 11, 2026 16:24
Copy link
Copy Markdown
Member

@morinokami morinokami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 対応ありがとうございました!

@morinokami morinokami merged commit cf23254 into withastro:main Apr 11, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants