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
Topics Attribute Search Form is not getting translated on Frontend #7731
Comments
This is still an issue with In the session I can find the key/value pair |
Thanks - that makes sense. A pull request to fix this would be accepted however it would have to do the following.
|
Isn't this a problem in general, that we have routes without the required language? A similar route for the tree node: This one doesn't change the locale too: |
Yes, there are other routes that ought to take a language parameter as well. There's a similar task for conversation replies that has the same problem. |
Thanks for the clarification. I'll be back on this next week. |
Thanks! |
After internal clarification on this topic: I will fix it in probably 2 weeks after doing some urgent, internal tasks. I have no problem if someone else wants to fix it in the meantime 😉 . |
Additional PR for the frontend: concretecms/bedrock#232 |
When outputing the Attribute Search Form of the Topics Attribute on some Fronted Page, it does not get translated properly.
Instead of getting translated to the language associated with the current Page, it uses the Default Dashboard language or the language specifyied by the User for the Dashboard.(if any)
The Select Attribute for Example behaves the way i would expect. - Outputing the Attribute Form Translated into the current Page Language.
This might not be an Issue noticable with Concrete5 Core functionality, since Attribute Search Forms are not used in any of the Frontend Blocks, as far as i am aware of.
Anyhow, if looking at c5 as a Framework for developers it might be valid Issue.
We are maintaining a custom Page List Block, similar to: Page List+ that allows for filtering Page Lists on the Frontend using the Attribute Search Forms. - There the issue becomes noticable.
And it seems like the before mentioned Package is having the same Issue.
How to reproduce on a Multilingual Setup without one of the packages:
Then the behaviour can be observed by switching between languages and comparing the Attribute Output.:
The Default Output of both Attributes is correctly translated to the Language of the Current Page.
The Select Attribute Form is correctly translated
The Topics Attribute Form is not.
The text was updated successfully, but these errors were encountered: