See Enteekateeka for the YAML schema and loading order.
Ebikozesebwa ebyetaagisa
sourceLocaleSource locale (e.g. en) used to find resource files such as **/*.en.resx. Era yasindikibwa eri omuwaabi nga from=<locale>.
Provider selection & credentials
Choose one provider per run with provider. Supply only the selected provider's credentials — see the Inputs & outputs guide for full setup.
providerOkuvvuunula: azure (default), aws, oba google. Omuweereza omu yekka y'akozesebwa ku buli kuyita kw'ekikolwa.
subscriptionKeyAzure AI Translator subscription key. Obwetaavu bw'azure bye bye secrets
endpointAzure Translator endpoint URL, e.g. https://api.cognitive.microsofttranslator.com/. Bye bye azure
awsAccessKeyIdAWS access key ID. Optional — omit (with awsSecretAccessKey) to use the AWS default credential chain / OIDC. bye bye secrets
awsSecretAccessKeyKyama Kyama Kyagulanyi Ssentamu Ateekwa okuba ng'ali wamu n'awsAccessKeyId. bye bye secrets
awsSessionTokenOptional AWS session token for temporary credentials. Pass through secrets.
awsRegionAkakiiko k'ebyokulonda kategeezezza nti akakiiko k'ebyokulonda kategeezezza nti akakiiko k'ebyokulonda kategeezezza us-east-1 nti akakiiko k'ebyokulonda kategeezezza nti Okuggyako ng'aws kikolebwa mu ngeri ey'enjawulo okuggyako ng'AWS_REGION mu mbeera y'obutonde bw'ensi.
awsFormalityAWS Translate formality setting: FORMAL or INFORMAL.
awsBrevityWhen true, enables AWS Translate brevity mode for supported language pairs.
awsTerminologyNamesAWS Translate custom terminology resource names. Accepts a JSON array or comma-separated values.
awsParallelDataNamesAWS Translate parallel data resource names. Accepts a JSON array or comma-separated values.
googleApiKeyGoogle Cloud API key. Kitegeeza nga bwâ€TMonootera googleCredentials google â€TMolina. Pass through secrets.
googleCredentialsGoogle Cloud service-account key as a JSON string. Kitegeeza nga bwâ€TMonootera googleApiKey google â€TMolina. Pass through secrets.
googleProjectIdOptional Google Cloud project id. Usually inferred from the service-account credential.
googleModelGoogle Cloud Translation model, e.g. nmt or base.
googleApiEndpointOptional Google Cloud Translation API endpoint override.
googleAutoRetryOptional Google Cloud Translation automatic retry toggle. Leave unset to use the Google client default.
Common optional inputs
regionTranslator resource region (omit for global resources).
toLocalesEbifo by'okuvvuunula Mu ngeri y'emu, kiwandikawo ennamba ya JSON (["fr","de"]) oba emiwendo egy'enjawulo egy'enjawulo.
includeNewline-separated glob patterns; Ebiwandiiko ebikwatagana byokka bye bivvuunulwa.
excludeNewline-separated glob patterns; matching files are skipped (applied after include).
configPathMu ngeri y'emu, ekifaananyi ky'
changeDetectionSmart change detection mode. smart translates only keys whose source value, target presence, state entry, or translation-affecting settings require it. Use disabled or false to send every eligible key on every run.
statePathPath to the compact deterministic smart change-detection state manifest. Defaults to .github/resource-translator-state.json; commit it so future runs can audit and reuse unchanged translations.
snapshotOnlyWhen true, create/update the smart change-detection manifest from existing source and target files without calling a translation provider or writing target resource files. Useful when bootstrapping statePath while a provider is unavailable.
dryRunBw'true okuvvuunula n'okuvvuunula ebiwandiiko naye towandiika biwandiiko.
failOnErrorWhen true, unexpected errors fail the action; Bwe false, ensobi ziba kulabula.
Azure Translator request inputs
These map directly on Azure AI Translator v3 query parameters and apply to the Azure provider. textType and profanityAction are also mapped to AWS/Google where an equivalent exist (see the providers guide); Ebisigadde bya Azure byokka. Buli kimu kiba kya kusalawo; the Translator defaults apply when unset.
categoryIdAzure Custom Translator category — the industry/domain/tone knob. Mu ngeri y'emu n'atuuka ku ntikko ng'?category=....
textTypeplain oba html. Use html only when your resource values are real HTML fragments.
profanityActionNoAction, Marked, oba Deleted. Mu ngeri y'emu, Bayibuli eraga engeri ebigambo ebivvuunulwa gye bikozesebwa mu kuvvuunula.
profanityMarkerAsterisk oba Tag. Kitegeeza nga profanityAction Marked.
allowFallbackWhen false, Translator returns an error instead of falling back to the general system if your categoryId has no deployment for a target locale.
apiVersionTranslator REST API version.
Obugumiikiriza n'obukuumi bw'ebifo
These inputs control how the action behaves when Translator throttles your request and how it shields placeholder tokens like {{name}} or {0} from being mangled during translation.
maxRetriesMaximum retry attempts on transient HTTP responses (408, 425, 429, 500, 502, 503, 504). Omuwendo gw'essimu za HTTP buli kusaba guli 1 + maxRetries.
retryBackoffMsCap (in milliseconds) on any single backoff sleep. Ekikolwa kino kiwa ekitiibwa omutwe gwa Azure's Retry-After response kyennyini nga kiriwo; otherwise it uses jittered exponential backoff capped at this value.
protectPlaceholdersWhen true (default), placeholders such as {{name}}, ${var}, {0}, {0:N2}, %s, %1$s and HTML entities are replaced with sentinel tokens before translation and restored later. Disable only when your source intentionally contains literal placeholder-shaped text that should be translated.
customPlaceholderPatternsNewline-separated regexes (without delimiters) added to the default placeholder set, e.g. <<.+?>> for custom token syntax.
noTranslatePatternsNewline-divided glob patterns matched against parser-level keys (JSON dotted path, RESX name, PO msgid, XLIFF unit id, INI/restext key). Matching keys are dropped from the Translator request and pass through with their source value preserved.
Ebivaamu
summary-titleShort PR-title-friendly summary, e.g. Machine-translated 320 files, a total of 5,418 translations.
summary-detailsMarkdown summary suitable for a PR body or job summary.
has-new-translations'true' lwe baafulumizibwa enkyusa emu oba okusingawo empya.