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

[Translation] Translation not found when - in filename #377

Closed
samimussbach opened this issue Oct 23, 2014 · 6 comments
Closed

[Translation] Translation not found when - in filename #377

samimussbach opened this issue Oct 23, 2014 · 6 comments
Labels

Comments

@samimussbach
Copy link

When I use translation via twig:

{{ "contact.data"|trans({}, "system-translation") }}

Translation is not found. When I use

{{ "contact.data"|trans({}, "systemtranslation") }}

it is. A fix would be very helpful, as we cannot use the very handy features and our statusbar is quite colorful because of the "missing" translations.

@Haehnchen
Copy link
Owner

mmh.. what is the origin file of "systemtranslation"?

@samimussbach
Copy link
Author

system-translation.de.yml is it

Am 23.10.2014 um 18:14 schrieb Daniel Espendiller [email protected]:

mmh.. what is the origin file of "systemtranslation"?


Reply to this email directly or view it on GitHub.

@samimussbach
Copy link
Author

Sorry, should've provided more information.
config.yml

framework:
    translator: { fallback: de }

File in [CustomBundleInVendor]/Resources/translations/system-translation.de.yml

twigtemplate

{{ "contact.data"|trans({}, "system-translation") }}

cantact.data is correctly translated on the webpage but the plugin states "Missing translation". Navigation to the translationfile via ctrl+click works correctly.

Please tell me if I can provide more info or test something.

btw. thank you very much for this awesome plugin

Haehnchen added a commit that referenced this issue Oct 25, 2014
@Haehnchen
Copy link
Owner

fixed...

@samimussbach
Copy link
Author

wow, that was fast! Thank you. I will report after next update.

@samimussbach
Copy link
Author

Yay, it works! Thank you very much.

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

No branches or pull requests

2 participants