-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
Add support of Twig named argument for translations #2283
Labels
Comments
Haehnchen
added a commit
that referenced
this issue
Apr 6, 2024
Loading
Loading status checks…
…nschoice"
Haehnchen
added a commit
that referenced
this issue
Apr 6, 2024
Loading
Loading status checks…
#2283 allowing resolving named "domain" argument for "trans" and "transchoice"
Haehnchen
added a commit
that referenced
this issue
Apr 6, 2024
Loading
Loading status checks…
…g first PhpStorm 2024.x workaround
Haehnchen
added a commit
that referenced
this issue
Apr 6, 2024
#2283 navigation / goto for Twig named argument translations including first PhpStorm 2024.x workaround
Thank you @Haehnchen, it works like a charm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
In a Twig template, I can't use named arguments in
|trans
function because navigation and autocompletion is not supported.In my opinion, it could be a nice addition as I think the above code is better than the following code (which is the only way to have navigation and autocompletion with translations).
Do you think it could be possible to add support of Twig named arguments in the plugin ?
Thank you
The text was updated successfully, but these errors were encountered: