ux
ux copied to clipboard
[Translator] Add configuration to filter dumped keys by pattern
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'
- # ...