Skip to content

Ururimi

Hitamo ururimi rwawe

Kanda kuri paji imwe mu rundi rurimi.

EnglishEnglishenAfrikaansAfrikaansafአማርኛAmharicamالعربيةArabicarঅসমীয়াAssameseasAzərbaycanAzerbaijaniazБашҡортBashkirbaБългарскиBulgarianbgभोजपुरीBhojpuribhoবাংলাBanglabnབོད་སྐད་Tibetanboबड़ोBodobrxBosanskiBosnianbsCatalàCatalancaČeštinaCzechcsCymraegWelshcyDanskDanishdaDeutschGermandeडोगरीDogridoiDolnoserbšćinaLower SorbiandsbދިވެހިބަސްDivehidvΕλληνικάGreekelEspañolSpanishesEestiEstonianetEuskaraBasqueeuفارسیPersianfaSuomiFinnishfiFilipinoFilipinofilVakavitiFijianfjFøroysktFaroesefoFrançaisFrenchfrFrançais (Canada)French (Canada)fr-CAGaeilgeIrishgaGalegoGalicianglकोंकणीKonkanigomગુજરાતીGujaratiguHausaHausahaעבריתHebrewheहिन्दीHindihiछत्तीसगढ़ीChhattisgarhihneHrvatskiCroatianhrHornjoserbsceUpper SorbianhsbHaitian CreoleHaitian CreolehtMagyarHungarianhuՀայերենArmenianhyIndonesiaIndonesianidÌgbòIgboigInuinnaqtunInuinnaqtuniktÍslenskaIcelandicisItalianoItalianitᐃᓄᒃᑎᑐᑦInuktitutiuInuktitut (Latin)Inuktitut (Latin)iu-Latn日本語JapanesejaქართულიGeorgiankaҚазақ ТіліKazakhkkខ្មែរKhmerkmKurmancîKurdish (Northern)kmrಕನ್ನಡKannadakn한국어KoreankoكٲشُرKashmiriksکوردیی ناوەندیKurdish (Central)kuКыргызчаKyrgyzkyLëtzebuergeschLuxembourgishlbLingálaLingalalnລາວLaoloLietuviųLithuanianltLugandaGandalugLatviešuLatvianlv中文 (文言文)Chinese (Literary)lzhमैथिलीMaithilimaiMalagasyMalagasymgTe Reo MāoriMāorimiМакедонскиMacedonianmkമലയാളംMalayalammlМонгол хэлMongolian (Cyrillic)mn-Cyrlᠮᠣᠩᠭᠣᠯ ᠬᠡᠯᠡMongolian (Traditional)mn-MongমৈতৈলোনManipurimniमराठीMarathimrMelayuMalaymsMaltiMaltesemtHmong DawHmong Dawmwwမြန်မာMyanmar (Burmese)myNorsk BokmålNorwegian BokmålnbनेपालीNepalineNederlandsDutchnlSesotho sa LeboaSesotho sa LeboansoChinyanjaChichewanyaଓଡ଼ିଆOdiaorHñähñuQuerétaro OtomiotqਪੰਜਾਬੀPunjabipaPolskiPolishplدریDariprsپښتوPashtopsPortuguês (Brasil)Portuguese (Brazil)ptPortuguês (Portugal)Portuguese (Portugal)pt-PTRomânăRomanianroРусскийRussianruIkirundiRundirunKinyarwandaKinyarwandarwسنڌيSindhisdසිංහලSinhalasiSlovenčinaSlovakskSlovenščinaSlovenianslGagana SāmoaSamoansmchiShonaShonasnSoomaaliSomalisoShqipAlbaniansqСрпски (ћирилица)Serbian (Cyrillic)sr-CyrlSrpski (latinica)Serbian (Latin)sr-LatnSesothoSesothostSvenskaSwedishsvKiswahiliSwahiliswதமிழ்TamiltaతెలుగుTeluguteไทยThaithትግርTigrinyatiTürkmen DiliTurkmentkLea fakatongaTongantoTürkçeTurkishtrТатарTatarttReo TahitiTahitiantyئۇيغۇرچەUyghurugУкраїнськаUkrainianukاردوUrduurUzbek (Latin)Uzbek (Latin)uzTiếng ViệtVietnameseviisiXhosaisiXhosaxhÈdè YorùbáYorubayoYucatec MayaYucatec Mayayua粵語Cantonese (Traditional)yue中文 (简体)Chinese Simplifiedzh-Hans中文 (繁體)Chinese Traditionalzh-HantisiZuluisiZuluzu

Reference

Inputs & outputs

Ibicuruzwa byose kandi byemewe muri dosiye ya repo config. Iyo byombi bimaze gushyirwa mu bikorwa, ibikorwa by'indashyikirwa biratsinda.

Kuri uru rupapuro

    See Configuration for the YAML schema and loading order.

    Inputs required

    sourceLocale

    Source locale (e.g. en) used to find resource files such as **/*.en.resx. Yoherejwe kandi ku muyobozi nk'uko from=<locale>.

    Provider selection & credentials

    Choose one provider per run with provider. Tanga gusa ibyangombwa by'umutanga watoranijwe — reba ubuyobozi bw'Inputs & outputs kugirango ushyireho byuzuye.

    provider
    Default
    azure

    Igisubizo: azure (default), aws, cyangwa google. Only one provider is used per action call.

    subscriptionKey
    Default
    none

    Azure AI Translator subscription key. Birakenewe azure. Pass via secrets.

    endpoint
    Default
    none

    Azure Translator endpoint URL, e.g. https://api.cognitive.microsofttranslator.com/. Byari bikenewe azure.

    awsAccessKeyId
    Default
    none

    AWS access key ID. Optional — omit (with awsSecretAccessKey) to use the AWS default credential chain / OIDC. Pass via secrets.

    awsSecretAccessKey
    Default
    none

    Bye Bye Secret Entry Key Agomba gutangwa hamwe n'awsAccessKeyId. Pass via secrets.

    awsSessionToken
    Default
    none

    Optional AWS session token for temporary credentials. Pass via secrets.

    awsRegion
    Default
    none

    Akarere ka Nyamasheke kahawe inshingano zo gusemura imikoreshereze y'ubutaka (I us-east-1 foto/Umurengezi R) Birakenewe aws keretse iyo AWS_REGION yashyizweho mu rwego rwo kubungabunga ibidukikije.

    awsFormality
    Default
    none

    AWS Translate formality setting: FORMAL or INFORMAL.

    awsBrevity
    Default
    none

    When true, enables AWS Translate brevity mode for supported language pairs.

    awsTerminologyNames
    Default
    none

    AWS Translate custom terminology resource names. Accepts a JSON array or comma-separated values.

    awsParallelDataNames
    Default
    none

    AWS Translate parallel data resource names. Accepts a JSON array or comma-separated values.

    googleApiKey
    Default
    none

    Urufunguzo rwa API ya Google Cloud Tanga iyi CYANGWA googleCredentials google. Pass via secrets.

    googleCredentials
    Default
    none

    Google Cloud service-account key as a JSON string. Tanga iyi CYANGWA googleApiKey google. Pass via secrets.

    googleProjectId
    Default
    none

    Optional Google Cloud project id. Usually inferred from the service-account credential.

    googleModel
    Default
    none

    Google Cloud Translation model, e.g. nmt or base.

    googleApiEndpoint
    Default
    none

    Optional Google Cloud Translation API endpoint override.

    googleAutoRetry
    Default
    none

    Optional Google Cloud Translation automatic retry toggle. Leave unset to use the Google client default.

    Common optional inputs

    region
    Default
    none

    Translator resource region (omit for global resources).

    toLocales
    Default
    Bose bashyigikiwe

    Locales to translate to. Yemera JSON array (["fr","de"]) cyangwa ibipimo bitandukanywa na koma.

    include
    Default
    none

    Newline-separated glob patterns; gusa inyandiko zihuje n'izo zihindurwa.

    exclude
    Default
    none

    Newline-separated glob patterns; Matching files are skipped (applied after include).

    configPath
    Default
    .github/resource-translator.yml

    Inzira y'umurongo wa YAML config file (ijyanye n'umuzi w'akazi).

    changeDetection
    Default
    smart

    Smart 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.

    statePath
    Default
    .github/resource-translator-state.json

    Path 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.

    snapshotOnly
    Default
    false

    When 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.

    dryRun
    Default
    false

    Mu gihe true, jya uhindura inyandiko n'inyandiko zinyuranye, ariko ntuzigere wandika.

    failOnError
    Default
    true

    When true, unexpected errors fail the action; Iyo false amakosa aba ari umuburo.

    Azure Translator request inputs

    These map directly into Azure AI Translator v3 query parameters and apply to the Azure provider. textType and profanityAction are also mapped to AWS/Google where an equivalent exists (see the providers guide); Ibisigaye ni Azure-only. Buri wese aba ari amahitamo ye; The Translator defaults apply when unset.

    categoryId
    Default
    general

    Azure Custom Translator category — the industry/domain/tone knob. Bye Bye ?category=....

    textType
    Default
    plain

    plain cyangwa html. Use html only when your resource values are real HTML fragments.

    profanityAction
    Default
    NoAction

    NoAction, Marked, cyangwa Deleted. Genzura uburyo amagambo y'urukozasoni akoreshwa mu buhinduzi.

    profanityMarker
    Default
    Asterisk

    Asterisk cyangwa Tag. Only significant when profanityAction is Marked.

    allowFallback
    Default
    true (Translator default)

    Iyo false, umusemuzi asubiza ikosa aho gusubira muri sisitemu rusange niba categoryId yawe idafite aho igenewe.

    apiVersion
    Default
    3.0

    Translator REST API version.

    Resilience & placeholder protection

    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.

    maxRetries
    Default
    5

    Maximum retry attempts on transient HTTP responses (408, 425, 429, 500, 502, 503, 504). Umubare w'abahamagara kuri buri busabe ni 1 + maxRetries.

    retryBackoffMs
    Default
    30000

    Cap (in milliseconds) on any single backoff sleep. The action honors Azure's Retry-After response header exactly when present; otherwise it uses jittered exponential backoff capped at this value.

    protectPlaceholders
    Default
    true

    When 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 afterward. Disable only when your source intentionally contains literal placeholder-shaped text that should be translated.

    customPlaceholderPatterns
    Default
    none

    Newline-separated regexes (without delimiters) added to the default placeholder set, e.g. <<.+?>> for custom token syntax.

    noTranslatePatterns
    Default
    none

    Newline-separated glob patterns matched against parser-level keys (JSON dotted path, RESX name, PO msgid, XLIFF unit id, INI / restext key). Imfunguzo zihuza zikurwa ku busabe bw'Umusemuzi hanyuma zinyura hamwe n'agaciro k'inkomoko yazo.

    Ibicuruzwa

    summary-title

    Short PR-title-friendly summary, e.g. Machine-translated 320 files, a total of 5,418 translations.

    summary-details

    Markdown summary suitable for a PR body or job summary.

    has-new-translations

    'true' igihe hasohotse ubuhinduzi bushya bumwe cyangwa bwinshi.