Fordítási munkafolyamatok¶
A Weblate használata javítja a fordítások minőségét, csökkenti a kézi munkát, és közelebb hozza egymáshoz a lokalizációban részt vevőket. Ön dönti el, hogy a Weblate funkciói közül mennyit kíván kihasználni.
Az alábbi lista nem teljes – a bemutatott példák alapján más munkafolyamatokat is kialakíthat.
Munkafolyamat testreszabása¶
In addition to configuration at Projektkonfiguráció and Összetevőkonfiguráció (as Felülvizsgálatok engedélyezése, Javaslatok engedélyezése, Javaslatok szavazása, and Javaslatok automatikus elfogadása), the translation workflow can be customized per language.
Webhelyszintű testreszabás elérhető a Nyelvi definíciók módosítása során.
Projektszintű testreszabás elérhető az adott projekt minden nyelvi oldalán.
Minden munkafolyamat-beállítás felülírható, az egyetlen korlátozás, hogy a Felülvizsgálatok engedélyezése beállítást bekapcsolt állapotban kell hagyni, és csak nyelvspecifikus testreszabásban tiltható le.
A következő meglévő beállítás érvényesül:
Projekt–nyelv testreszabása
Nyelvi testreszabás
Projekt/összetevő beállítások
Megjegyzés
Figyeljen oda a webhelyszintű felülírás használatakor, mivel ez minden projektre érvényes lesz (kivéve, ha az adott nyelvre projektspecifikus felülírás van érvényben).
Limiting translation languages¶
Several settings can limit translation languages. They address different stages of the translation lifecycle and can be combined:
- Control requests for languages that do not exist yet
Configure Új fordítás hozzáadása at workspace, project, category, or component level. Categories and components can inherit this setting; see Settings inheritance. You can let users contact maintainers, point them to translation instructions, create the language file automatically, or disable adding new translations.
Project admins can still add a translation when Weblate can create its file. For components that do not inherit the project setting, change Új fordítás hozzáadása individually or automate the changes using
PATCH /api/components/(string:project)/(string:component)/.To allow existing project languages while requesting approval for new ones, select Create existing project languages; contact maintainers for new languages. A language qualifies when any non-glossary component in the project has a target translation for it, even with no translated strings. Source-only languages and glossary translations do not qualify. This applies across categories, including shared components and components the contributor cannot access.
Maintainers approve a language by creating its first target translation. Removing the last qualifying translation removes eligibility. Component overrides that allow unrestricted language creation can also introduce an eligible language. Project and category submissions use the languages present at the start of the operation, so component processing order does not affect the result.
Project and category submissions modify only components owned by that project or category. To add a language to a shared component, use its own language creation page; the owning project’s eligibility and permissions apply there.
The REST translation creation endpoint returns HTTP 403 for languages requiring approval; submit these requests through the web interface. The permission to add several languages does not bypass this policy. Maintainers and trusted add-ons retain their existing creation permissions, and repository file discovery is unaffected.
Disabling new translations controls user requests. It does not stop discovery of translation files added to the repository or automatic glossary language synchronization.
- Limit which translation files Weblate discovers or creates
Configure Nyelvi szűrő on each component. For example,
^(de|en|fr)$limits the component to translation files whose language code isde,en, orfr. The filter applies while scanning the component file mask and when creating a new translation file; it does not change permissions for translations that are already present.Language filters are configured per component, with no project-wide language allowlist. To apply a filter across many components, automate the changes using
PATCH /api/components/(string:project)/(string:component)/.- Grant translation access only for selected languages
Use language-scoped teams when different users should be able to translate different languages. A team can only grant permissions, so remove any broader translation permission that would otherwise apply to the same users.
- Restrict direct editing of an existing language
Open the language settings in the project, enable Customize translation workflow for this language in this project, and turn on Restrict direct editing.
Users with the Edit string when suggestions are enforced permission can continue editing directly. Other users can add suggestions when Turn on suggestions is enabled. Turn off suggestions as well to make the language editable only by privileged users.
The restriction can also be configured site-wide while Nyelvi definíciók módosítása. A project-language customization takes precedence over the site-wide language setting.
- Use suggestion voting
Turn on Suggestion voting to let users vote on suggestions. Voting alone does not restrict direct editing. A positive Automatically accept suggestions threshold also requires users without the Edit string when suggestions are enforced permission to submit suggestions. Use Restrict direct editing when this restriction should not depend on automatic acceptance.
Fordítási hozzáférés¶
A hozzáférés-vezérlés nem kerül részletes bemutatásra a munkafolyamatokban, mivel beállításai bármely munkafolyamathoz alkalmazhatók. A fordítási hozzáférés kezeléséhez tekintse meg a vonatkozó dokumentációt.
A következő fejezetekben a bármely felhasználó kifejezés olyan felhasználót jelent, aki hozzáfér a fordításhoz. Ez lehet bármely hitelesített felhasználó nyilvános projekt esetén vagy olyan, akinek Fordítás jogosultsága van a projekthez.
Fordítási állapotok¶
Minden lefordított szöveg az alábbi állapotok egyikében lehet:
- Lefordítatlan
A fordítás üres, ez a fájlformátumtól függően lehet, hogy elmentésre kerül a fájlban.
- Szerkesztést igényel
Translation needs editing, this is usually the result of fuzzy matching or translator action. Depending on the file format it might be marked as needing edit (for example as it gets a
fuzzyflag in the gettext file).- Újraírást igényel
Translation needs to be rewritten because of a source string change.
- Ellenőrzést igényel
State used for source/template strings that need developer review. It is typically set for new source strings imported from the VCS when the Source edit addon is enabled, or when a source string is reported for checking.
- Translated / Waiting for review
Translation is made. The translated state is shown as „Waiting for review” if reviews are enabled.
- Jóváhagyva
A fordítás ellenőrzés során jóváhagyásra került. Fordítók többé nem módosíthatják, csak a felülvizsgálók. A fordítók csak javaslatokat fűzhetnek hozzá.
Ez az állapot csak akkor érhető el, ha a felülvizsgálat be van kapcsolva.
- Csak olvasható
String is read-only as a result of having
read-onlyflag, being a non-editable source string, or marked such in the translation file.- Javaslatok
A javaslatok csak a Weblate-ben tárolódnak, a fordítási fájlban nem.
Az állapotok a fordítási fájlban is megjelennek, ha a formátum ezt támogatja.
Tipp
If the file format you use does not support storing states, you might want to use the Változatlan fordítások megjelölése „Újraírást igényel” állapottal add-on to flag unchanged strings as needing rewriting.
Megjegyzés
The Fordításminőség szűrő determines which translation states are stored in the file.
Közvetlen fordítás¶
A leggyakoribb beállítás kisebb csapatoknál, ahol bárki fordíthat közvetlenül. Ez a Weblate alapértelmezett működési módja is.
Bármely felhasználó szerkesztheti a fordításokat.
A javaslatok opcionális lehetőségek a változtatások indítványozására, amikor a fordító nem biztos a módosításban.
Beállítás |
Érték |
Megjegyzés |
|---|---|---|
Felülvizsgálatok engedélyezése |
ki |
Projektszinten konfigurálva. |
Javaslatok engedélyezése |
be |
Hasznos, ha a felhasználók javaslatot szeretnének tenni, amikor nem biztosak valamiben. |
Javaslatok szavazása |
ki |
|
Javaslatok automatikus elfogadása |
0 |
|
Fordítók csoportja |
Felhasználók |
cagy Fordítás jogosultság a projektszintű hozzáférés-vezérlés segítségével. |
Felülvizsgálók csoportja |
N/A |
Nem használt. |
Társak általi felülvizsgálat¶
Ebben a munkafolyamatban bárki tehet javaslatot, amelyet más felhasználók jóváhagyása után lehet fordításként elfogadni.
Bármely felhasználó tehet javaslatot.
Bármely felhasználó szavazhat a javaslatokra.
A javaslatok akkor válnak fordítássá, ha elérnek egy előre meghatározott számú szavazatot.
Beállítás |
Érték |
Megjegyzés |
|---|---|---|
Felülvizsgálatok engedélyezése |
ki |
Projektszinten konfigurálva. |
Javaslatok engedélyezése |
be |
|
Javaslatok szavazása |
be |
|
Javaslatok automatikus elfogadása |
2 |
Magasabb érték megadásával több társ általi jóváhagyás válik szükségessé. |
Fordítók csoportja |
Felhasználók |
cagy Fordítás jogosultság a projektszintű hozzáférés-vezérlés segítségével. |
Felülvizsgálók csoportja |
N/A |
Nem használt, minden fordító végez felülvizsgálatot. |
Kijelölt felülvizsgálók¶
Kijelölt felülvizsgálókkal két felhasználói csoportot hoz létre: az egyik fordításokat küldhet be, a másik pedig ezeket ellenőrzi a konzisztencia és minőség biztosítása érdekében.
Bármely felhasználó szerkesztheti a nem jóváhagyott fordításokat.
Felülvizsgáló jóváhagyhat / visszavonhat szövegeket.
Felülvizsgáló szerkesztheti az összes fordítást (a jóváhagyottakat is).
Javaslatokat jóváhagyott fordítások módosítására is be lehet küldeni.
Beállítás |
Érték |
Megjegyzés |
|---|---|---|
Felülvizsgálatok engedélyezése |
be |
Projektszinten konfigurálva. |
Javaslatok engedélyezése |
be |
Hasznos, ha a felhasználók javaslatot szeretnének tenni, amikor nem biztosak valamiben. |
Javaslatok szavazása |
ki |
|
Javaslatok automatikus elfogadása |
0 |
|
Fordítók csoportja |
Felhasználók |
cagy Fordítás jogosultság a projektszintű hozzáférés-vezérlés segítségével. |
Felülvizsgálók csoportja |
Felülvizsgálók |
Vagy Felülvizsgáló jogosultság a projektszintű hozzáférés-vezérlés segítségével. |
Felülvizsgálat bekapcsolása¶
Reviews can be turned on in the project configuration, from the Workflow subpage of project settings (to be found in the Operations → Settings menu):
Per-language reviews¶
To require review only for selected languages, first turn on Felülvizsgálatok engedélyezése for the whole project. Then open each project language page that should use different behavior, enable Customize translation workflow for this language in this project, and turn Enable reviews off for languages that should not require review.
Reviewers also need review access for the same language. Add them to a team whose roles include Review strings, and limit that team or the user membership to the language they should review. See Projektalapú hozzáférés-vezérlés kezelése and Webhelyszintű hozzáférés-vezérlés for language-scoped access setup.
If approval buttons are not visible, check both parts of the setup: reviews have to be enabled for that translation, and the signed-in user has to have review permission for that language.
Machine translation and LLM workflows¶
Machine translation services, including large language model (LLM) services, can assist human translators or generate translations for them to edit or approve. Choose a workflow based on when humans should check the generated text and when it should reach the repository.
First, configure the services under Automatic suggestions in the project settings or site administration; see Automatikus javaslatok. For LLM services, see LLM translation context for the context and instructions used to guide translation.
To process strings in bulk, run Automatikus fordítás, select
Machine translation as the source, and choose the services to use.
For ongoing automation, configure the
Automatikus fordítás add-on on the component with
the same source and desired mode. Use the query state:empty to fill empty
translations without replacing existing human work; see Szövegek keresése.
Human translation assisted by services¶
Use this workflow when translators should choose when to use machine translation for each string.
Translators consult the Automatikus javaslatok tab in the editor, choose a service result, edit it as needed, and save the translation. These service results are distinct from stored suggestions awaiting acceptance: a human decides what to save. This workflow does not require the Automatic translation add-on and can be combined with Kijelölt felülvizsgálók.
Service translation with human editing¶
Use this workflow to fill translations automatically and let humans improve them directly.
Select Add as translation as the automatic translation mode.
Turn off Felülvizsgálatok engedélyezése and allow translators to edit directly, as in the direct translation workflow.
Set Fordításminőség szűrő to Commit all translations regardless of quality.
The service output becomes a translation that humans can edit in the usual editor. It can be committed to the repository without human approval.
For machine drafts that should remain visibly unfinished, choose Add as „Needing edit” instead. Humans edit these drafts and clear the Needs editing state when finished. To keep unfinished drafts out of repository commits, set Fordításminőség szűrő to Skip translations marked as needing editing.
Service suggestions with human acceptance¶
Use this workflow when humans should check service output before it becomes a translation.
Select Add as suggestion as the automatic translation mode.
Turn on Javaslatok engedélyezése, turn off Javaslatok szavazása, and set Javaslatok automatikus elfogadása to
0.Leave Felülvizsgálatok engedélyezése off for a single acceptance step. Give the people checking suggestions permission to accept them; see Projektalapú hozzáférés-vezérlés kezelése.
Humans check the stored suggestions and accept suitable ones, or edit the proposed text before saving a translation. Suggestions are stored only in Weblate and do not enter translation files until accepted as translations. Accepting a suggestion is separate from approving a translation in the dedicated review workflow.
Service translation with review and a quality gateway¶
Use this workflow when humans should edit machine translations in Weblate, but only reviewer-approved translations should reach the repository.
Select Add as translation as the automatic translation mode.
Turn on Felülvizsgálatok engedélyezése and assign translators and reviewers as described in Kijelölt felülvizsgálók.
Set Fordításminőség szűrő to Only include approved translations.
Generated translations appear as Waiting for review. Translators can edit them, and reviewers check and approve the finished translations. Only after approval are these translations eligible for repository commits. Translators can suggest further changes to approved strings, while reviewers can edit them directly.
Enabling reviews alone does not keep unapproved translations out of commits. The translation quality filter provides that gateway. Keep reviews enabled for every language that should follow this workflow; check any workflow customization overrides.
Reusing existing translations¶
Use existing translations to bootstrap a new language or component, then have humans adapt matches and fill the remaining gaps.
Run Automatikus fordítás with Other translation components
as the source, or select the Fordítási memória service under
Machine translation. Choose whether matches become translations,
drafts needing editing, or suggestions using the modes described above. Use
state:empty to preserve existing translations. The
Automatikus fordítás add-on can apply this reuse
automatically as strings arrive.
For ongoing consistency, Fordítási terjesztés can copy edits to matching strings across components in the same project. Propagation happens while translating; it does not copy translations merely loaded from the repository. See Fordítások egységesítése összetevők között for its requirements and for checks that help humans resolve differences.
Minőségbiztosítás a forrásszövegekre¶
The original source language strings usually come from developers, since they write the code and provide the initial strings. However, developers are often not native speakers of the source language and do not provide the desired quality of the source strings. The intermediate translation can help you address this - there is an additional quality gateway for the strings between developers and translators.
By setting the Köztes nyelvi fájl, this file is used for translating
strings to the source language by translators/editors while it is owned by the
developers (often using arbitrary languages such as en_devel). Once this
stage is done, strings are available for translations to target languages,
based on what is now a polished source language stored in the
Egynyelvű alap nyelvi fájl.
Szövegösszevonás másodlagos nyelv használatával¶
Amikor a Köztes nyelvi fájl nem használható a szövegek konszolidálására, kiválasztható egy fordítás, amely másodlagos nyelvként szolgál. A nyelv megadható projektszinten ( Másodlagos nyelv ) vagy összetevőszinten ( Másodlagos nyelv ). A fordítók számára megjelenik a fordítás során (lásd: Másodlagos nyelvek), és opcionálisan gépi fordítás forrásaként is használható (lásd: Fordítási forrásszövegek gépi fordításhoz).
Ez a beállítás akkor lehet hasznos, ha vegyes forrásnyelvű szövegek kerülnek konszolidálásra egy közös fordításban, amely ezután alapként szolgál a további munkához.
Forrásszövegek felülvizsgálata¶
A Forrás-felülvizsgálatok engedélyezése bekapcsolásával a forrásszövegekre is alkalmazható ellenőrzési folyamat. Ha be van kapcsolva, a felhasználók hibát jelenthetnek a forrásszövegekkel kapcsolatban. A konkrét folyamat attól függ, hogy egynyelvű vagy kétnyelvű formátum van-e használatban.
Egynyelvű formátum esetén a forrásszöveg-ellenőrzés hasonlóan működik, mint a Kijelölt felülvizsgálók — amikor hibát jelentenek, a forrásszöveg megkapja a Szerkesztést igényel jelölést.
Kétnyelvű formátum esetén nem lehet közvetlenül szerkeszteni a forrásszöveget (ezeket jellemzően közvetlenül a forráskódból nyerik ki). Ebben az esetben a fordítók által jelentett szövegekhez A forrás felülvizsgálatot igényel címke kerül. Ezeket át kell tekinteni és/vagy módosítani a forráskódban, esetleg eltávolítani a címkét.