Make it easier to preserve all existing translations

Created on 10 June 2025, 2 days ago

Problem/Motivation

It seems to me that preserving existing translations would be a better default than deleting them all.

Proposed resolution

Allow passing NULL to the $langcodes argument to preserve all translations, instead of having to pass an array with the langcodes of all site languages. Change the default value of the argument to NULL. This way we keep the possibility to pass an empty array as value.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024