- Add Activepieces fork with SmoothSchedule custom piece - Create integrations app with Activepieces service layer - Add embed token endpoint for iframe integration - Create Automations page with embedded workflow builder - Add sidebar visibility fix for embed mode - Add list inactive customers endpoint to Public API - Include SmoothSchedule triggers: event created/updated/cancelled - Include SmoothSchedule actions: create/update/cancel events, list resources/services/customers 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
---
|
|
title: 'Piece i18n'
|
|
description: 'Learn about translating pieces to multiple locales'
|
|
icon: 'globe'
|
|
---
|
|
|
|
<Steps>
|
|
<Step title="Generate">
|
|
Run the following command to create a translation file with all the strings that need translation in your piece
|
|
```bash
|
|
npm run cli pieces generate-translation-file PIECE_FOLDER_NAME
|
|
```
|
|
</Step>
|
|
<Step title="Translate">
|
|
Make a copy of `packages/pieces/<community_or_custom>/<your_piece>/src/i18n/translation.json`, name it `<locale>.json` i.e fr.json and translate the values.
|
|
<Tip>
|
|
For open source pieces, you can use the [Crowdin project](https://crowdin.com/project/activepieces) to translate to different languages. These translations will automatically sync back to your code.
|
|
</Tip>
|
|
</Step>
|
|
|
|
<Step title="Test Locally">
|
|
After following the steps to [setup your development environment](/build-pieces/building-pieces/development-setup), click the small cog icon next to the logo in your dashboard and change the locale.
|
|
|
|

|
|
<br></br>
|
|
|
|
In the builder your piece will now appear in the translated language:
|
|

|
|
</Step>
|
|
|
|
<Step title="Publish">
|
|
Follow the docs here to [publish your piece](/build-pieces/sharing-pieces/overview)
|
|
|
|
</Step>
|
|
|
|
</Steps> |