Skip to content
Senior0 views

Design a service for collaborative game translation with terminology, context, and permissions.

Practice

AI answer

Components

The client provides a workspace for projects and language pairs. The backend includes project and string catalogs, a translation editor, terminology, context management, access control, and reports. A relational database stores projects, strings, translations, statuses, and permissions; object storage holds images, audio, and other contextual resources. A queue handles game file imports/exports and notifications.

Model and Workflow

A string is identified by a stable key, source text, formatting parameters, and context (scene, character, screenshot, length limit). A translation is stored separately for each language and source version, along with its author, status, and change history. A typical workflow is: draft → editor review → approval → export. When a source string changes, the translation is marked as needing review, but the previous version is not deleted.

A terminology entry includes a term, preferred variants, prohibited variants, language, scope, and examples. In the editor, show matches, context, and constraints without substituting them for the translator's judgment. Support search, filters, bulk import/export, and validation of placeholders, tags, and string length.

Permissions and Reliability

  • Roles: project owner, manager, translator, editor, and reader; permissions can be restricted by language or set of strings.
  • Check permissions on the server and maintain a log of approvals and changes; restrict secrets or unpublished content separately.
  • Detect concurrent edits using the string version and offer conflict resolution without losing history.
  • Use backups, audit exports, restrict file access, and monitor queues and import errors.

A modular monolith with clearly defined module boundaries is a convenient starting point. Clarify game asset formats, the number of languages and users, offline operation requirements, and synchronization with the version control system.