The PointFire Localizer is a GitHub Action which allows you to localize your SharePoint Framework (SPFx) solutions with the help of the Azure AI Translator.
Required The API key for the Azure AI Translator API.
Note
You can get the API key by following the instructions on the get your authentication keys and endpoint documentation page.
Required The region of the Azure AI Translator API.
Optional The URL of the Azure AI Translator API. Default "https://api.cognitive.microsofttranslator.com/"
.
Optional The default locale of the SPFx solution. Default "en-us"
.
Optional The locales to localize the SPFx solution to (comma-separated). Default ""
.
Note
When you don't specify any locales, it will use the locale files found in the same directory as that of the default locale file.
Optional Write to the GitHub Actions Job Summary. Default false
.
- name: PointFire Localizer
uses: IceFireStudios/pointfire-localizer-action@v1.0.0
with:
api-key: ${{ secrets.TRANSLATOR_API_KEY }}
api-region: "westeurope"
default-locale: "en-us"
locales: "nl-nl,fr-fr,de-de"
summary: true