Multi-Language Experiences, Module 2 Challenge

Hi Hitchhikers!

I have 2 problems with the Challenge of Module 2 for Multi-Language Experiences:

  • Add the Restaurants Page (restaurants.es) and update the configuration.
  • Add a new multilang-restaurant card and update the services property.

For the first one here is the restaurant.es.json code:

{
“verticalKey”: “restaurantes”, // The vertical key from your search configuration
“pageTitle”: “Resultados para Restaurantes”, // !!!REPLACE THIS VALUE!!! The contents of the title tag and meta open graph tag for title
// “metaDescription”: “”, // The meta tag for open graph description
// “canonicalUrl”: “”, // The link tag for canonical URL as well as the meta tag for open graph url
// “keywords”: “”, // The meta tag for keywords
“pageSettings”: {
“search”: {
“verticalKey”: “restaurantes”, // The vertical key from your search configuration
“defaultInitialSearch”: “” // Enter a default search term
}
},
“componentSettings”: {
/**
“QASubmission”: {
“entityId”: “”, // Set the ID of the entity to use for Q&A submissions, must be of entity type “Organization”
“privacyPolicyUrl”: “” // The fully qualified URL to the privacy policy
},
**/
“Facets”: {
“title”: “Resultados para Restaurantes”, // The title to display above the facets
“expand”: false, // Allow the user to expand and collapse the facets
“showMore”: true, // Display a link to see more facet options within a facet
“searchOnChange”: true, // Will automatically run a search as facets are selected or unselected. Set to false to only trigger updates with an Apply button.
“showMoreLimit”: 3,
“fields”: {
“c_restaurantFeatures”: {
“searchable”: true,
“searchLabelText”: “Buscar para caracteristicas”,
“placeholderText”: “Buscar”
}
}
},
“FilterLink”: {
“changeFiltersText”: “filter results”, // Text that displays by default
“resetFiltersText”: “reset filters”, // Text when filters are applied
“clearSearchText”: “clear search” // Text when there are no results, conducts an empty search
},
“AppliedFilters”: {
“removable”: true
},
“VerticalResults”: {
“noResults”: {
“displayAllResults”: false // Optional, whether to display all results in the vertical when no results are found.
},
“hideResultsHeader”: true
},
“SearchBar”: {
“placeholderText”: “Search for locations”, // The placeholder text in the answers search bar
“allowEmptySearch”: true, // Allows users to submit an empty search in the searchbar
“loadingIndicator”: {
“display”: true //Optional, whether to include a loading indicator on seachbar
// “iconUrl”: “” //Optional, use custom icon url instead of the default loading indicator animation
},
“voiceSearch”: {
“enabled”: false // Whether or not voice search is enabled
// “customMicIconUrl”: “”, // Path to override the voice start icon
// “customListeningIconUrl”: “” // Path to override the voice stop icon
}
},
“Pagination”: {
“noResults”: {
“visible”: false
}
}
}
// Configuration used to define the look and feel of the vertical, both on this page and, by default,
// on the universal page.
}

Blockquote

For the second one the link that is on #16 is broken. I might have done something wrong when forking the “multilang-location-standard”.

Thank you!!

Lupillo Andazola

1 Like