I was wondering if there is a possibility to add additional translation directories?
So next to /translations, the LexikTranslationBundle would also look inside, for example, /my-translations for translations.
Possible solutions:
I've tried adding symlinks in the /translations directory, but the translations don't seem to be picked up.
Another possibility, is to fork the bundle and add the directories in LexikTranslationExtension.php (in registerTranslatorConfiguration()), that's a path I'd rather not take.
Hi,
I was wondering if there is a possibility to add additional translation directories?
So next to
/translations
, theLexikTranslationBundle
would also look inside, for example,/my-translations
for translations.Possible solutions:
/translations
directory, but the translations don't seem to be picked up.LexikTranslationExtension.php
(inregisterTranslatorConfiguration()
), that's a path I'd rather not take.Symfony release:
5.4
LexikTranslationBundle release:5.2
[edit] Basically, I'm looking for something like this: https://symfony.com/doc/current/translation.html Also Addressed here if I'm correct: https://github.com/lexik/LexikTranslationBundle/pull/356
Thanks.