Skip to content

Commit

Permalink
UHF-9088: Added override flag to helfi:locale-import to actually over…
Browse files Browse the repository at this point in the history
…ride the translations.
  • Loading branch information
khalima committed Mar 8, 2024
1 parent 778b643 commit e8db70c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Commands/LocaleCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,11 @@ public function import(string $module) {
$process = $this->processManager()->process([
'drush',
'locale:import',
'--type=customized',
// Include only not-customized strings. Meaning, do not override
// config translations, but override localize.drupal.org translations.
'--type=not-customized',
// Override existing translations as customized translations.
'--override=customized',
$language->getId(),
$file->uri,
]);
Expand Down

0 comments on commit e8db70c

Please sign in to comment.