Piece 国际化
了解如何将 Piece 翻译为多种语言
```bash theme={null}
npm run cli pieces generate-translation-file PIECE_FOLDER_NAME
```
<Tip>
对于开源 Piece,你可以使用 [Crowdin 项目](https://crowdin.com/project/activepieces) 翻译成不同语言。这些翻译将自动同步回你的代码。
</Tip>
<img src="https://mintcdn.com/activepieces/ki8mFooo8mAmhMdP/resources/i18n-pieces.png?fit=max&auto=format&n=ki8mFooo8mAmhMdP&q=85&s=47b264ac0f3dd11a4ddac55c8b2d0cea" alt="语言环境" width="317" height="615" data-path="resources/i18n-pieces.png" />
<br />
在构建器中,你的 Piece 现在将以翻译后的语言显示:
<img src="https://mintcdn.com/activepieces/ki8mFooo8mAmhMdP/resources/french-webhooks.png?fit=max&auto=format&n=ki8mFooo8mAmhMdP&q=85&s=ac22fe9c3ecfb574f9f36bb63605e2e6" alt="法语的 Webhooks" width="567" height="845" data-path="resources/french-webhooks.png" />