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

Adds translation on the location views #72

Open
andrebonon opened this issue Apr 2, 2024 · 1 comment · Fixed by YCloudYUSA/yusaopeny#180
Open

Adds translation on the location views #72

andrebonon opened this issue Apr 2, 2024 · 1 comment · Fixed by YCloudYUSA/yusaopeny#180

Comments

@andrebonon
Copy link
Contributor

andrebonon commented Apr 2, 2024

Currently, the location views doesn't filter by the current language resulting on the views bringing duplicate results, for example a "Taggart Family Y" and its translation "Y de la famille Taggart".
Screenshot 2024-04-04 at 16 48 03

Proposed solution:

  • Views: Add a filter criteria "default_language", and filter by the default language in location views. It doesn't affect sites with only one language.
  • Makes the Branch Labels (/admin/config/content/location-filter-settings) translatable via config_translation (module).
  • Use the twig t() function so the "Filter by amenities" and the Search input placeholder can be translated
andrebonon added a commit to andrebonon/openy_map that referenced this issue Apr 3, 2024
@andrebonon
Copy link
Contributor Author

#74

andrebonon added a commit to andrebonon/openy_map that referenced this issue Apr 4, 2024
andrebonon added a commit to andrebonon/openy_map that referenced this issue May 3, 2024
andrebonon added a commit to andrebonon/openy_map that referenced this issue May 3, 2024
…ult language parameter to the location view.
andrebonon added a commit to andrebonon/openy_map that referenced this issue May 7, 2024
…ult language parameter to the location view.
andrebonon added a commit to andrebonon/openy_map that referenced this issue May 7, 2024
…ult language parameter to the location view.
podarok added a commit that referenced this issue May 8, 2024
…ocation-views

fix: [#72] Adds translation on the location views
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant