Skip to content

Adds translation on the location views #72

@andrebonon

Description

@andrebonon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions