This project is not covered by Drupal’s security advisory policy.

Locale Filter extends Drupal core’s User interface translation page with
compact advanced search controls. It is intended for sites with large Locale
string tables where the standard filters are not sufficiently precise.

Features

  • Case-sensitive and case-insensitive source-string matching.
  • Exact full-string matching.
  • Translation-context substring filtering.
  • Minimum and maximum source-string length filters.
  • Source-string usage locations displayed below each translation.
  • A convenient Save translations button beside the filter actions.
  • Selection and confirmed deletion of displayed source strings.

Requirements

  • Drupal 11
  • Drupal core Locale module
  • PostgreSQL

Advanced text matching currently targets PostgreSQL. Comparison behavior,
particularly case sensitivity, depends on the database and collation.
Other database drivers are not currently supported.

Installation

Install and enable the module using the standard Drupal process:

drush en locale_filter
drush cr

Usage

Go to Administration → Configuration → Regional and language →
User interface translation
. The module replaces the controller for
Drupal core’s existing translation page, so no separate configuration page
is required.

Users require the core translate interface permission.
Grant the delete interface translation strings permission only
to trusted administrators.

Deleting a source string also removes all its language translations and
recorded code or configuration locations. Strings still present in active
code or configuration may be discovered again by Drupal Locale.

Support

Report bugs and suggest improvements in the
Locale Filter issue queue.

Project information

Releases