Skip to content

Import only known phrases in the ACP language import - #6763

Merged
dtdesign merged 2 commits into
6.3from
63-phrase-import
Nov 5, 2026
Merged

dtdesign merged 2 commits into
6.3from
63-phrase-import

Conversation

@dtdesign

@dtdesign dtdesign commented Nov 5, 2026

Copy link
Copy Markdown
Member

The ACP language import used the same code path as package installations. It only updated phrases owned by the selected package and created unknown phrases under it, so a full translation had to be uploaded once per package.

The import now only provides values for existing phrases, and the package selection is gone:

  • A phrase is known if a package installed it into de or en. Its package and category are taken from there. Phrases missing from the target language are inserted.
  • Unknown phrases and categories are ignored silently, and so is the <delete> section.
  • Phrases not installed by a package, such as manually added ones, are left untouched.
  • Changing a phrase that has a custom value flags it for review, the same as a package update does.

Closes #6516

@dtdesign
dtdesign merged commit c0f0fb7 into 6.3 Nov 5, 2026
7 checks passed
@dtdesign
dtdesign deleted the 63-phrase-import branch November 5, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant