I use
i18n.set('filename_format', 'translations.{format}')
to load translations.yml and that works fine.
However, I would like to exclude synonyms.yml from the load path because I use that file for a different purpose.
=> How to do so?
I tried to use negative look ahead regular expression
'^(?!synonyms)translations.{format}'
but that did not work.