ux icon indicating copy to clipboard operation
ux copied to clipboard

[Translator] Add configuration to filter dumped keys by pattern

Open Kocal opened this issue 1 month ago • 0 comments

We already have the option to choose the domain from which we retrieve keys, but adding a filter on key names (via pattern) would allow for more refined filtering. Since #3208, there is no longer any tree shaking. Adding this feature could help reduce the size of the generated .js files.

ux_translator:
   keys_patterns:
      - 'app.**'
      - 'foo.*.bar'
      - 'foo.**.bar' 
      - # ...

Kocal avatar Dec 17 '25 15:12 Kocal