Skip to content

i18n(zh-cn): Add new guides/integrations.mdx translation - #13841

Merged
yanthomasdev merged 4 commits into
withastro:mainfrom
isyuah:i18n/guides/integrations
May 22, 2026
Merged

i18n(zh-cn): Add new guides/integrations.mdx translation#13841
yanthomasdev merged 4 commits into
withastro:mainfrom
isyuah:i18n/guides/integrations

Conversation

@isyuah

@isyuah isyuah commented May 6, 2026

Copy link
Copy Markdown
Contributor

Description (required)

Translate guides/integrations.mdx into Chinese (Simplified).
guides/integrations.mdx 翻译为简体中文。

Related issues & labels (optional)

  • Closes #
  • Suggested label: documentation, i18n, zh-cn

First-time contributor to Astro Docs?

  • Discord username: _isyuah

Copilot AI review requested due to automatic review settings May 6, 2026 09:02
@netlify

netlify Bot commented May 6, 2026

Copy link
Copy Markdown

Deploy Preview for astro-docs-2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 982fc3b
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/6a10a4f100a3250008820a53
😎 Deploy Preview https://deploy-preview-13841--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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 May 6, 2026
@astrobot-houston

astrobot-houston commented May 6, 2026

Copy link
Copy Markdown
Contributor

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
zh-cn/guides/integrations.mdx Localization added, will be marked as complete.
zh-cn/guides/on-demand-rendering.mdx Localization changed, will be marked as complete.
zh-cn/guides/upgrade-to/v3.mdx Localization changed, will be marked as complete.
zh-cn/guides/upgrade-to/v4.mdx Localization changed, will be marked as complete.
zh-cn/guides/upgrade-to/v5.mdx Localization changed, will be marked as complete.
zh-cn/reference/cli-reference.mdx Localization changed, will be marked as complete.
zh-cn/reference/content-loader-reference.mdx Localization changed, will be marked as complete.
zh-cn/reference/errors/client-address-not-available.mdx Localization changed, will be marked as complete. 🔄️
zh-cn/reference/errors/no-matching-renderer.mdx Localization changed, 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.

@astrobot-houston

Copy link
Copy Markdown
Contributor

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉

Here’s what will happen next:

  1. Our GitHub bots will run to check your changes.
    If they spot any broken links you will see some error messages on this PR.
    Don’t hesitate to ask any questions if you’re not sure what these mean!

  2. In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳.

  3. One or more of our maintainers will take a look and may ask you to make changes.
    We try to be responsive, but don’t worry if this takes a few days.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a new Simplified Chinese (zh-cn) translation of the “Working with integrations” guide, expanding the localized documentation set for Astro integrations.

Changes:

  • Introduces src/content/docs/zh-cn/guides/integrations.mdx with full translated content, including examples, callouts, and tables.
  • Preserves the original guide structure (sections for adding, configuring, upgrading, removing, and publishing integrations/components).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


## 自动配置集成

Astro 包含一个 `astro add` 命令,可以自动设置官方集成。一些社区插件也可以通过该命令添加。请查看每个集成的官方文档,确认是否支持 `astro add`,或者必须手动安装。

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.

Done


集成库会从你的 `package.json` 中读取 `name`、`description`、`repository` 和 `homepage` 数据。

头像是在库中突出展示你品牌的绝佳机会!一旦你的包发布后,你可以[提交一个 Github issue](https://github.com/withastro/astro.build/issues/new/choose) 并附上你的头像,我们会将其添加到你的列表中。

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.

Done


Astro 集成始终通过 `astro.config.mjs` 文件中的 `integrations` 属性添加。

将集成导入到你的 Astro 项目有三种常见方式:

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.

Done

@yanthomasdev yanthomasdev left a comment

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.

LGTM! Good work!

@yanthomasdev
yanthomasdev merged commit 44dd131 into withastro:main May 22, 2026
12 checks passed
@isyuah
isyuah deleted the i18n/guides/integrations branch May 23, 2026 10:23
tarikrital pushed a commit to tarikrital/astro-docs that referenced this pull request Jul 6, 2026
…#13841)

@lunaria-track:src/content/docs/zh-cn/guides/integrations.mdx


Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
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.

4 participants