번역 메모리¶
Weblate에는 다음과 같은 내장 번역 메모리가 포함되어 있음:
번역 메모리의 콘텐츠는 여러 방법으로 문자열에 적용할 수 있음:
문자열 편집 시 자동 제안 탭에서 제안을 수락할 수 있습니다.
선택한 문자열은 작업 메뉴의 자동 번역 를 사용하여 처리할 수 있습니다.
자동 번역 애드온은 새 문자열과 기존 문자열에 변경 사항을 자동으로 적용할 수 있습니다.
설치 팁은 기본적으로 활성화된 Weblate 번역 메모리 를 참조하세요.
번역 메모리 범위¶
번역 메모리 범위는 다양한 프로젝트와 사용자의 개인 정보를 보호합니다. 번역 공유도 가능합니다.
참고
When upgrading from older Weblate releases, existing translation-memory entries are converted to scopes by a periodic Celery background task. Until this backfill finishes, existing entries can be temporarily unavailable in suggestions and memory management views. Keep Celery running after the upgrade so the periodic task can start or resume the migration. Site administrators can monitor the backfill and duplicate-entry consolidation in Administration > Performance report.
가져온 번역 메모리¶
import_memory 명령을 사용하여 임의의 번역 메모리 데이터를 가져오면 모든 사용자와 프로젝트에서 메모리 콘텐츠를 사용할 수 있습니다.
사용자별 번역 메모리¶
모든 사용자 번역을 각 사용자의 개인 번역 메모리에 자동으로 저장합니다.
새 사용자의 기본값은 번역 메모리 자동 정리 설정에 따라 자동으로 조정됩니다. 자동 정리가 활성화된 경우 일관되지 않은 번역이 다시 도입되는 것을 방지하기 위해 기본적으로 비활성화됩니다.
프로젝트별 번역 메모리¶
프로젝트 내의 모든 번역은 이 프로젝트에서만 사용 가능한 프로젝트 번역 메모리에 자동으로 저장됩니다.
Entries attributed to an existing restricted component are only available to users who can access that component. This also applies when project memory is downloaded or accessed using the REST API.
Legacy entries which can not be attributed to a current component use the project access rules. This can happen when the component path has changed or the component has been removed.
Workspace translation memory¶
Projects in the same workspace can share translation memory without enabling the global shared translation memory. Workspace translation memory has to be enabled both in the workspace settings and in the individual project workflow settings.
Entries attributed to an existing restricted component are only available to users who can access that component, even when they can access another project in the workspace. Unattributed legacy entries use the workspace access rules.
번역 메모리 상태¶
Added in version 5.13.
Translation memory entries can have two different statuses: active and pending. Pending entries are included in suggestions, but with a quality penalty applied. Depending on the configured score threshold, the penalty can exclude even exact matches from suggestions and automatic translation. Entries imported from translation memory files are stored as active. If 번역 메모리 자동 정리 is enabled, matching pending entries are removed when a translation becomes active.
번역 메모리 자동 정리¶
Added in version 5.13.
프로젝트에 대해 활성화하면 번역이 활성화될 때 Weblate가 이전에 자동으로 생성된 번역 메모리 항목을 대체함:
검토 활성화 가 활성화된 경우 번역이 승인될 때 정리가 이루어집니다.
검토가 없는 경우 번역이 번역됨 상태에 도달하면 즉시 정리가 이루어집니다.
동일한 원문 문자열, 구성요소, 컨텍스트 및 원문/대상 언어 쌍에 대해 Weblate는 다른 대상 텍스트가 있는 항목을 포함하여 번역 메모리에서 일치하는 비파일 항목을 제거합니다. 이는 개인, 프로젝트 및 공유 번역 메모리 범위에 걸쳐 적용됩니다. 그런 다음 현재 번역이 해당 변경에 대해 활성화된 범위에서 활성 항목으로 다시 저장됩니다.
외부 번역 메모리 파일에서 가져온 항목은 자동으로 정리되지 않습니다. 다른 컨텍스트가 있는 항목은 유지됩니다.
Docker 컨테이너에서는 WEBLATE_DEFAULT_AUTOCLEAN_TM 을 사용하여 설정할 수 있습니다.
참고
자동 정리를 활성화하면 새 사용자 프로필의 기본값도 개인 번역 메모리에 기여하지 않도록 변경됩니다. 이렇게 하면 정리되어야 했던 일관되지 않은 번역이 다시 도입되는 것을 방지합니다.
더 보기
번역 메모리 관리¶
사용자 인터페이스¶
번역 메모리는 Weblate UI의 여러 곳에서 관리할 수 있음:
사용자 메뉴를 열고 번역 메모리 를 선택하여 개인 번역 메모리를 관리합니다.
프로젝트를 열고 프로젝트 메뉴에서 번역 메모리 를 선택하여 해당 프로젝트의 번역 메모리를 관리합니다.
Open a workspace and choose Operations ↓ Translation memory to manage automatically created translation memory for that workspace. Editing the workspace is required.
관리 를 열고 번역 메모리 를 선택하여 전체 Weblate 인스턴스의 업로드된 번역 메모리를 관리합니다.
번역 메모리 페이지는 선택한 범위의 항목 수를 표시합니다. 범위에 따라 출처, 구성요소 또는 언어 쌍별로 항목을 나열합니다. 나열된 항목은 JSON 또는 TMX로 다운로드할 수 있습니다. 필요한 권한이 있는 사용자는 항목을 삭제할 수 있으며, 프로젝트 보기는 현재 번역에서 전체 프로젝트 또는 개별 구성요소의 번역 메모리를 재구축할 수 있습니다.
Removing a component preserves its automatically created translation memory by
default. Because the component access rule no longer exists after removal, the
retained entries use the access rules of their remaining translation-memory
scope. To remove those entries together with a component, select
Delete translation memory created from this component in the
removal form. Category removal offers the equivalent option for every component
in the category and its nested categories. This removes attributed entries and
legacy entries matching the current component path. It does not infer paths
used before a component or category rename or move. Such unmatched entries can
be deleted by origin in the project or workspace translation memory management,
or using the REST API. The REST API accepts the delete_memory boolean in the
request body or query string for component and category removal. Personal and
uploaded entries are preserved.
프로젝트 보기는 프로젝트에 대해 공유 번역 메모리 및 자동 정리 번역 메모리가 활성화되어 있는지도 표시하며, 사용자가 프로젝트를 편집할 수 있는 경우 프로젝트 워크플로 설정으로의 링크를 제공합니다.
The workspace view can rebuild all currently contributing projects or an individual contributing component. It manages workspace-scoped automatic entries only. Translation-memory files cannot be uploaded into a workspace scope.
Translation memory files can be imported on the same page. Uploaded files are processed during the request, stored as active, and added to the selected scope:
개인 업로드는 개인 번역 메모리에서 사용할 수 있습니다.
프로젝트 업로드는 선택한 프로젝트의 번역 메모리에서 사용할 수 있습니다.
관리 업로드는 전체 Weblate 인스턴스의 업로드된 공유 항목으로 사용할 수 있습니다.
힌트
다양한 형식의 번역 메모리를 Weblate로 가져올 수 있습니다. TMX 형식은 다른 도구와의 상호 운용성을 위해 제공됩니다. 지원되는 모든 형식은 TMX, JSON, XLIFF, PO 및 CSV입니다.
파일 자체에서 언어 정보가 제공되지 않는 경우 XLIFF, PO 또는 CSV 파일을 업로드할 때 원문 언어와 대상 언어를 선택해야 합니다.
문자열을 편집하면서 자동 제안 탭에서 번역 메모리를 검색할 수 있습니다.
관리자 인터페이스¶
관리자 사용자에게는 추가 번역 메모리 관리 컨트롤이 있습니다. 관리 > 번역 메모리 에서 페이지는 Weblate 인스턴스의 업로드된 공유 항목, 공유 항목 및 총 항목을 나열합니다. 권한에 따라 업로드된 공유 메모리를 가져오고, 업로드된 항목을 삭제하며, 업로드된 항목, 공유 항목 또는 모든 항목을 JSON 또는 TMX로 다운로드할 수 있습니다.
Added in version 4.12.
The project translation memory view also allows rebuilding parts of or the entire project translation memory. Automatically generated entries for the selected component or project are deleted, and the memory is populated again from the current translations in the background. Entries imported from files are preserved.
관리 인터페이스¶
여러 관리 명령으로 번역 메모리 콘텐츠를 조작할 수 있습니다. 이들은 범위로 필터링되지 않은 전체 번역 메모리에서 작동합니다 (매개변수로 요청되지 않는 한):
dump_memory메모리를 JSON으로 내보냅니다
import_memoryTMX 또는 JSON 파일을 번역 메모리로 가져옵니다
cleanup_memory번역 메모리에서 보류 상태의 모든 항목을 제거합니다
Added in version 4.14.
Weblate API는 번역 메모리를 다룹니다. 이를 통해 다양한 목적이나 번역 주기의 이벤트를 기반으로 자동화된 조작이 가능합니다.