diff --git a/Dockerfile b/Dockerfile index e5a4126..26aa68e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM crowdin/cli:4.7.1 +FROM crowdin/cli:4.8.0 RUN apk --no-cache add curl git git-lfs jq gnupg; diff --git a/README.md b/README.md index 680a228..aa997c0 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ A GitHub action to manage and synchronize localization resources with your Crowd [**`AI Localization`**](/docs/AI.md) [![test](https://github.com/crowdin/github-action/actions/workflows/test-action.yml/badge.svg)](https://github.com/crowdin/github-action/actions/workflows/test-action.yml) -[![GitHub Used by](https://img.shields.io/static/v1?label=Used%20by&message=10k&color=brightgreen&logo=github&cacheSeconds=10000)](https://github.com/crowdin/github-action/network/dependents?package_id=UGFja2FnZS0yOTQyNTU3MzA0) +[![GitHub Used by](https://img.shields.io/static/v1?label=Used%20by&message=11k&color=brightgreen&logo=github&cacheSeconds=10000)](https://github.com/crowdin/github-action/network/dependents?package_id=UGFja2FnZS0yOTQyNTU3MzA0) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/crowdin/github-action?cacheSeconds=5000&logo=github)](https://github.com/crowdin/github-action/releases/latest) [![GitHub contributors](https://img.shields.io/github/contributors/crowdin/github-action?cacheSeconds=5000)](https://github.com/crowdin/github-action/graphs/contributors) [![GitHub](https://img.shields.io/github/license/crowdin/github-action?cacheSeconds=50000)](https://github.com/crowdin/github-action/blob/master/LICENSE) diff --git a/docs/AI.md b/docs/AI.md index beced30..2782e17 100644 --- a/docs/AI.md +++ b/docs/AI.md @@ -87,6 +87,9 @@ jobs: CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} ``` +> [!TIP] +> For more control over your workflow, see additional [Triggers](EXAMPLES.md#triggers) examples including cron schedules, manual triggers, and file-based triggers. + ## Providing Context for AI Context is crucial for accurate and high-quality translations. With the enhanced context, AI produces production-quality translations that were previously only possible with human input. @@ -144,9 +147,9 @@ Then, add the following steps to your GitHub Actions workflow to extract the con ```yaml # Upload sources step -- uses: actions/setup-node@vv +- uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '22' - name: Extract Context for AI run: | @@ -186,3 +189,8 @@ Crowdin also allows you to provide screenshots to the AI to help it better under - [For iOS Projects](https://crowdin.github.io/mobile-sdk-ios/guides/screenshots-automation) Integrate automated screenshot generation into your CI/CD pipeline to give AI the context it needs for better translations. + +## See more + +- [Crowdin AI](https://support.crowdin.com/crowdin-ai/) +- [Usage of AI localization with Crowdin branches](https://github.com/crowdin/github-action/discussions/280)