Scipeáil chuig an ábhar

Teanga

Roghnaigh do theanga

Athraigh go dtí an leathanach céanna i dteanga eile.

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

Tagairt

Soláthraithe aistriúcháin

Roghnaigh soláthraí aistriúcháin amháin in aghaidh an rith - Azure AI Translator, AWS Translate, nó Google Cloud Translation - taobh thiar de dhromchla API aontaithe amháin. Iompraíonn an t-aistritheoir mar an gcéanna beag beann ar an soláthraí; Ní hionann ach na dintiúir a dhéanamh.

Ar an leathanach seo

    Fully backward compatible: provider defaults to azure, so existing Azure workflows keep working unchanged — no edits required.

    Soláthraí á roghnú

    Socraigh an t-ionchur provider go azure (réamhshocrú), aws, nó google, ansin soláthraigh dintiúir an tsoláthraí sin. Ní úsáidtear ach soláthraí amháin in aghaidh an ghlao gníomhaíochta; tarmligeann an gníomh go deterministically chuig an SDK meaitseála taobh thiar de mhonarcha.

    Comparáid idir soláthraithe

    Azure AI Translator
    Luach an tsoláthraí
    Azure (réamhshocrú)
    SDK
    @azure-rest/ai-translation-text

    subscriptionKey, críochphointe, réigiún (roghnach)

    AWS Aistrigh
    Luach an tsoláthraí
    AWS
    SDK
    @aws-sdk/client-translate

    OIDC / slabhra réamhshocraithe, nó awsAccessKeyId + awsSecretAccessKey; awsRegion

    Aistriúchán Google Cloud
    Luach an tsoláthraí
    Google
    SDK
    @google-cloud/translate

    googleApiKey NÓ googleCredentials (cuntas seirbhíse JSON)

    Azure AI Translator (réamhshocrú)

    An soláthraí réamhshocraithe. Acmhainn Azure AI Translator a sholáthar agus pas a fháil subscriptionKey, endpoint, agus roghnach region. Is é seo an chumraíocht chéanna a úsáideann sreafaí oibre atá ann cheana féin.

    Official Azure docs

    .github/workflows/translate.yml
    jobs:
    translate:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v5
    - id: translator
    uses: IEvangelist/resource-translator@v3
    with:
    provider: |
    azure:
    subscriptionKey: ${{ secrets.TRANSLATOR_KEY }}
    endpoint: ${{ secrets.TRANSLATOR_ENDPOINT }}
    region: ${{ secrets.TRANSLATOR_REGION }}
    sourceLocale: en
    toLocales: '["es","fr","de"]'

    AWS Aistrigh

    Úsáidí @aws-sdk/client-translate. Is fearr leat OIDC trí aws-actions/configure-aws-credentials ionas nach stóráiltear rúin fhadsaoil - léann an gníomh slabhra dintiúir réamhshocraithe AWS SDK. De rogha air sin, pas a fháil awsAccessKeyId agus awsSecretAccessKey go sainráite. Tá réigiún ag teastáil i gcónaí, trí awsRegion nó an athróg timpeallachta AWS_REGION.

    Official AWS docs

    OIDC (molta)

    .github/workflows/translate.yml
    permissions:
    id-token: write # for aws-actions/configure-aws-credentials OIDC
    contents: write
    pull-requests: write
    jobs:
    translate:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v5
    - uses: aws-actions/configure-aws-credentials@v4
    with:
    role-to-assume: arn:aws:iam::123456789012:role/gh-actions-translate
    aws-region: us-east-1
    - id: translator
    uses: IEvangelist/resource-translator@v3
    with:
    provider: |
    aws:
    region: us-east-1 # or rely on AWS_REGION from the step above
    formality: FORMAL
    brevity: true
    sourceLocale: en
    toLocales: '["es","fr","de"]'

    Chun eochracha statacha a úsáid in ionad OIDC, scaoil an chéim aws-actions/configure-aws-credentials agus pas awsAccessKeyId / awsSecretAccessKey (via secrets) móide awsRegion.

    Aistriúchán Google Cloud

    Úsáidí @google-cloud/translate (v2). Fíordheimhnigh le heochair API (googleApiKey) nó le dintiúr JSON cuntais seirbhíse (googleCredentials). Soláthraigh ceann amháin go díreach; Baintear googleProjectId roghnach as an dintiúr nuair a fhágtar ar lár é.

    Official Google docs

    .github/workflows/translate.yml
    jobs:
    translate:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v5
    - id: translator
    uses: IEvangelist/resource-translator@v3
    with:
    provider: |
    google:
    # Provide EITHER a service-account JSON credential...
    credentials: ${{ secrets.GCP_TRANSLATE_CREDENTIALS }}
    # ...OR an API key:
    # apiKey: ${{ secrets.GCP_TRANSLATE_API_KEY }}
    model: nmt
    sourceLocale: en
    toLocales: '["es","fr","de"]'

    Mapáil sonraitheoirí intinne

    Déantar sonraitheoirí a bhaineann go sonrach le soláthraí a mhapáil nuair a bhíonn coibhéis ann. Titeann gach rud eile ar ais go mainneachtainí ciallmhara ionas go bhfanann iompar comhsheasmhach.

    textType
    Azure
    textType (plain / html)
    AWS
    Neamhaird déanta (gan scorán)
    Google
    formáid (téacs / html)
    profanityAction
    Azure
    Tacaíocht iomlán
    AWS
    Marcáilte / Scriosta → chumhdach
    Google
    Neamhaird Déanta
    categoryId
    Azure
    Aistritheoir Saincheaptha
    AWS
    Neamhaird Déanta
    Google
    Neamhaird Déanta
    allowFallback
    Azure
    Tacaithe
    AWS
    Neamhaird Déanta
    Google
    Neamhaird Déanta
    awsFormality
    Azure
    Ignored
    AWS
    Formality setting
    Google
    Ignored
    awsBrevity
    Azure
    Ignored
    AWS
    Brevity mode
    Google
    Ignored
    awsTerminologyNames
    Azure
    Ignored
    AWS
    Custom terminology
    Google
    Ignored
    awsParallelDataNames
    Azure
    Ignored
    AWS
    Parallel data
    Google
    Ignored
    googleModel
    Azure
    Ignored
    AWS
    Ignored
    Google
    Translation model
    googleApiEndpoint
    Azure
    Ignored
    AWS
    Ignored
    Google
    API endpoint override

    Tá difríocht idir cóid logánta de réir soláthraí

    Úsáideann gach soláthraí a chóid áitiúil féin (mar shampla tá Sínis Simplithe zh-Hans ar Azure, zh ar AWS, agus zh-CN ar Google). Téann cóid tríd mar atá agus tiomáineann siad na hainmneacha comhaid aschuir, mar sin roghnaigh toLocales luachanna a thacaíonn le do sholáthraí roghnaithe.