-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
make Translation:update Command more robust #5500
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
Comments
Can you provide more information on how to reproduce this? |
@Gladhon Could you please provide some feedback on this? A small sample of the text that you want to translate or a quick gist should be very helpful. Thanks! |
It seem's to five problems, if I do translation with variables.
|
You can't extract anything from the above template as extractor doesn't run the code, so naturally this would be missing from translation anyway. JMSTranslationBundle solves this but you'll have to provide all the cases from php code. |
It's okay, that's extractor don't can extraxt the translations above. But, it's would be nice if it's extract all translations that it can do and not abort with a Exception. |
I tried to get this error by:
I tried different tags of the @Gladhon The #7206 could hav solved your problem. Could you update and try again? |
Ping @Gladhon
Thanks! |
ping @Gladhon , i am also confirming this has been fixed in master, if your problem persists please reopen ticket |
Nowadays i'm often getting Error's if I try to update translation-file like this:
[Twig_Error_Runtime]
Attribute "value" does not exist for Node "Twig_Node_Expression_GetAttr".
It seem's it come's from dynamic part of a transaltion. The Problem is, that it abort on the first twig error, it would be nice if the command run through and make what he can make. --ignore-expetions
Or just get in a prefix-viewfolder as argument:
The text was updated successfully, but these errors were encountered: