Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional translation directories #411

Open
ikoene opened this issue Feb 2, 2022 · 1 comment
Open

Additional translation directories #411

ikoene opened this issue Feb 2, 2022 · 1 comment

Comments

@ikoene
Copy link
Contributor

ikoene commented Feb 2, 2022

Hi,

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.

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: #356

Thanks.

@matthiasseghers
Copy link

I would also need this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants