pelikhan/action-continuous-translation

This action uses GitHub Models and remark to incrementally translate markdown documents in your repository.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
langThe ISO code(s) of the target language(s) for translation (comma-separated values).nofr
sourceThe ISO code of the source language for translation. Defaults to 'en' (English).noen
filename_templateTemplate (jinja) for the translated file names.no{{dirname}}/{{basename}}.{{lang}}{{extname}}
instructionsAdditional prompting instructions that will be injected in the translation prompt.no
instructions_fileFile containing additional prompting instructions that will be injected in the translation prompt.no
translations_dirDirectory where the translations will be stored. Defaults to 'translations'.notranslations
starlight_dirRoot directory for the Astro Starlight documentation.no
starlight_baseBase path for the Astro Starlight documentation.no
glossary_fileA markdown file containing the glossary of the projectno
max_translation_tokensMaximum number of tokens to process in a translation LLM call.no8000
max_validation_tokensMaximum number of tokens to process in a validation LLM call.no2000
filesFiles to process, separated by semi columns (;). .md,.mdxno
debugEnable debug logging (https://microsoft.github.io/genaiscript/reference/scripts/logging/).no
model_aliasA YAML-like list of model aliases and model id: `translation: github:openai/gpt-4o`no
openai_api_keyOpenAI API keyno
openai_api_baseOpenAI API base URLno
azure_openai_api_endpointAzure OpenAI endpoint. In the Azure Portal, open your Azure OpenAI resource, Keys and Endpoints, copy Endpoint.no
azure_openai_api_keyAzure OpenAI API key. **You do NOT need this if you are using Microsoft Entra ID.no
azure_openai_subscription_idAzure OpenAI subscription ID to list available deployments (Microsoft Entra only).no
azure_openai_api_versionAzure OpenAI API version.no
azure_openai_api_credentialsAzure OpenAI API credentials type. Leave as 'default' unless you have a special Azure setup.no
azure_ai_inference_api_keyAzure AI Inference keyno
azure_ai_inference_api_endpointAzure Serverless OpenAI endpointno
azure_ai_inference_api_versionAzure Serverless OpenAI API versionno
azure_ai_inference_api_credentialsAzure Serverless OpenAI API credentials typeno
github_tokenGitHub token with `models: read` permission at least (https://microsoft.github.io/genaiscript/reference/github-actions/#github-models-permissions).no
namedescription
textThe generated text output.