-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Modal dropdown menue #1554
Comments
Define "make the dropdown, modal, ... work".
Based on the generated HTML and assuming that the assets were copied/loaded correctly, everything seems to be in place for it to work. |
@alexmerlin
The demo project it’s working fine. It is a question to help me to adapt
the assets for the modal in a personal project. What packages should I
install to make it work in my project?
…On Mon 6 Jan 2025 at 08:18, Alex Karajos ***@***.***> wrote:
Define "make the dropdown, modal, ... work".
1. The modal does not open on clicking the language selector?
2. The current language is not selected?
3. The language selector does nothing when clicking a language?
Based on the generated HTML and assuming that the assets were
copied/loaded correctly, everything seems to be in place for it to work.
—
Reply to this email directly, view it on GitHub
<#1554 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE4KM2JUK65TL3Z6GIYTXND2JINZ7AVCNFSM6AAAAABUU26J4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZSGM3DSNJQGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I tried to use the Symfony Demo project as a translation template for another project. I managed to make it work partially in the sense that the pages are translated but the language selection button does not open the modal with the languages. In the code inspector I can see the links with the translation languages for each page on all pages. Is there any documentation to implement the same translation system because I failed to integrate my project into the Symfony Demo project, so I tried to insert the translation from the Symfony Demo project into my project. |
Have you tried with the official translation docs? |
@alexmerlin Thank you for your reply, I’ve modified the macro in templates/defaults and
it is working, the assets are the same even if I don’t use many of them
certainly.
Thanks again, I wish you a nice day.
Best regards,
Daniel
…On Wed 8 Jan 2025 at 11:32, Alex Karajos ***@***.***> wrote:
Is there any documentation to implement the same translation system
Have you tried with the official translation docs
<https://symfony.com/doc/current/translation.html>?
—
Reply to this email directly, view it on GitHub
<#1554 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE4KM2PE7W2AAV4WN52RHOD2JTWB5AVCNFSM6AAAAABUU26J4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZXGIYDGMZZGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi to everyone,
I translated my project with the same method as this demo project and I can't get the dropdown and modal to choose the language. I think it's because of the assets, the way I installed them in my project. The paths with the translated pages work. Whenever I go to /en or /fr, English and français appear in the "Choose your language" section of the menu. What packages do I need to install to make the dropdown, modal, ... work? Can someone help me with this. Here is the code generated by Symfony regarding the dropdown:
| Choose your language |
| | × | ||-
|
| English
| en
|
|
| -
|
| Français
| fr
|
|
|
|The text was updated successfully, but these errors were encountered: