Skip to content

Reo

A ma'iti i to outou reo

A taui i ni'a i te hoê â api na roto i te tahi atu reo.

English English en Afrikaans Afrikaans af አማርኛ Amharic am العربية Arabic ar অসমীয়া Assamese as Azərbaycan Azerbaijani az Башҡорт Bashkir ba Български Bulgarian bg भोजपुरी Bhojpuri bho বাংলা Bangla bn བོད་སྐད་ Tibetan bo बड़ो Bodo brx Bosanski Bosnian bs Català Catalan ca Čeština Czech cs Cymraeg Welsh cy Dansk Danish da Deutsch German de डोगरी Dogri doi Dolnoserbšćina Lower Sorbian dsb ދިވެހިބަސް Divehi dv Ελληνικά Greek el Español Spanish es Eesti Estonian et Euskara Basque eu فارسی Persian fa Suomi Finnish fi Filipino Filipino fil Vakaviti Fijian fj Føroyskt Faroese fo Français French fr Français (Canada) French (Canada) fr-CA Gaeilge Irish ga Galego Galician gl कोंकणी Konkani gom ગુજરાતી Gujarati gu Hausa Hausa ha עברית Hebrew he हिन्दी Hindi hi छत्तीसगढ़ी Chhattisgarhi hne Hrvatski Croatian hr Hornjoserbsce Upper Sorbian hsb Haitian Creole Haitian Creole ht Magyar Hungarian hu Հայերեն Armenian hy Indonesia Indonesian id Ìgbò Igbo ig Inuinnaqtun Inuinnaqtun ikt Íslenska Icelandic is Italiano Italian it ᐃᓄᒃᑎᑐᑦ Inuktitut iu Inuktitut (Latin) Inuktitut (Latin) iu-Latn 日本語 Japanese ja ქართული Georgian ka Қазақ Тілі Kazakh kk ខ្មែរ Khmer km Kurmancî Kurdish (Northern) kmr ಕನ್ನಡ Kannada kn 한국어 Korean ko كٲشُر Kashmiri ks کوردیی ناوەندی Kurdish (Central) ku Кыргызча Kyrgyz ky Lëtzebuergesch Luxembourgish lb Lingála Lingala ln ລາວ Lao lo Lietuvių Lithuanian lt Luganda Ganda lug Latviešu Latvian lv 中文 (文言文) Chinese (Literary) lzh मैथिली Maithili mai Malagasy Malagasy mg Te Reo Māori Māori mi Македонски Macedonian mk മലയാളം Malayalam ml Монгол хэл Mongolian (Cyrillic) mn-Cyrl ᠮᠣᠩᠭᠣᠯ ᠬᠡᠯᠡ Mongolian (Traditional) mn-Mong মৈতৈলোন Manipuri mni मराठी Marathi mr Melayu Malay ms Malti Maltese mt Hmong Daw Hmong Daw mww မြန်မာ Myanmar (Burmese) my Norsk Bokmål Norwegian Bokmål nb नेपाली Nepali ne Nederlands Dutch nl Sesotho sa Leboa Sesotho sa Leboa nso Chinyanja Chichewa nya ଓଡ଼ିଆ Odia or Hñähñu Querétaro Otomi otq ਪੰਜਾਬੀ Punjabi pa Polski Polish pl دری Dari prs پښتو Pashto ps Português (Brasil) Portuguese (Brazil) pt Português (Portugal) Portuguese (Portugal) pt-PT Română Romanian ro Русский Russian ru Ikirundi Rundi run Kinyarwanda Kinyarwanda rw سنڌي Sindhi sd සිංහල Sinhala si Slovenčina Slovak sk Slovenščina Slovenian sl Gagana Sāmoa Samoan sm chiShona Shona sn Soomaali Somali so Shqip Albanian sq Српски (ћирилица) Serbian (Cyrillic) sr-Cyrl Srpski (latinica) Serbian (Latin) sr-Latn Sesotho Sesotho st Svenska Swedish sv Kiswahili Swahili sw தமிழ் Tamil ta తెలుగు Telugu te ไทย Thai th ትግር Tigrinya ti Türkmen Dili Turkmen tk Lea fakatonga Tongan to Türkçe Turkish tr Татар Tatar tt Reo Tahiti Tahitian ty ئۇيغۇرچە Uyghur ug Українська Ukrainian uk اردو Urdu ur Uzbek (Latin) Uzbek (Latin) uz Tiếng Việt Vietnamese vi isiXhosa isiXhosa xh Èdè Yorùbá Yoruba yo Yucatec Maya Yucatec Maya yua 粵語 Cantonese (Traditional) yue 中文 (简体) Chinese Simplified zh-Hans 中文 (繁體) Chinese Traditional zh-Hant isiZulu isiZulu zu

Buka tunu maa

Te mau maa

Te mau hoho'a matauhia no te haponoraa i te mau iritiraa : monorepos, glossaries, custom categories, dry runs, and sound control.

I ni'a i teie api

    A iriti i te hoê aniraa i muri a'e i te hororaa tata'itahi

    translate.yml (excerpt)
    - id: translate
    uses: IEvangelist/resource-translator@v3
    with:
    sourceLocale: en
    subscriptionKey: ${{ secrets.TRANSLATOR_KEY }}
    endpoint: ${{ secrets.TRANSLATOR_ENDPOINT }}
    region: ${{ secrets.TRANSLATOR_REGION }}
    - if: steps.translate.outputs.has-new-translations == 'true'
    uses: peter-evans/create-pull-request@v7
    with:
    branch: machine-translation
    title: ${{ steps.translate.outputs.summary-title }}
    body: ${{ steps.translate.outputs.summary-details }}
    labels: localization

    Monorepos : iritiraa no te puohu

    with:
    sourceLocale: en
    include: |
    apps/web/**/*.en.resx
    packages/shared/**/*.en.json
    exclude: |
    **/dist/**
    **/__tests__/**

    Glossary no te mau i'oa e te mau parau no te mau tao'a

    A tuu i te hoê .github/resource-translator.yml i roto i te repo :

    .github/resource-translator.yml
    glossary:
    Acme: Contoso
    Octocat: Octocat
    ".NET": ".NET"
    "C++": "C++"

    E i muri a'e i te faaohipahia te mau ta'o no te iritiraa, no reira, e tape'a noa te iritiraa matini i te tapa'o ta outou e au a'e noa'tu e, ua taui te hoho'a i te reira no te hoê â i'oa.

    Tuhaa no te taata iriti parau (ohipa / tuhaa fenua)

    with:
    sourceLocale: en
    subscriptionKey: ${{ secrets.TRANSLATOR_KEY }}
    endpoint: ${{ secrets.TRANSLATOR_ENDPOINT }}
    categoryId: 1234abcd-5678-90ef-...

    A haapiipii i te hoê pŭpŭ Azure Custom Translator i ni'a i te hoê pŭpŭ o te haru mai i te mau ta'o e te ta'iraa o ta outou ohipa (ture, rapaauraa, tapihooraa, ohipa aravihi i roto i te ohipa, e te tahi atu â) e a horo'a i ta'na ID na roto i te categoryId. Teie te rave'a ta'iraa puai roa a'e ta Azure e horo'a nei.

    Te hi'opo'araa i te ta'iraa + te faaheporaa etaeta

    .github/resource-translator.yml
    # .github/resource-translator.yml
    # Industry / domain — choose your tone via a Custom Translator category
    categoryId: legal-en
    # Treat profanity strictly for content aimed at younger audiences
    profanityAction: Marked
    profanityMarker: Tag
    # Fail the run rather than silently fall back to the general model
    allowFallback: false

    A amui i te hoê categoryId Custom Translator e te profanityAction e te allowFallback: false no te haapapû i te hoê reo tamau e eita e manuïa i te tereraa ohipa mai te mea e, aita e faanahoraa no te hoê o te mau vahi ta outou i opua.

    Dry run hou a tu'ama ai i te tereraa ohipa

    with:
    dryRun: true
    failOnError: false

    E horo'a noa mai te ohipa i te mau haapotoraa e te hoê haapotoraa taahiraa, aita râ e putu'ite i papa'ihia. A amui atu i te failOnError: false no te faaite i te mau fifi atoa ei faaararaa a faahiti noa ai outou.