How to localize the load more button on widgets
PreviousHow to add a title / subtitle to a widgetNextHow to overlay existing Google Map with the UGC Map Widget
Last updated
Last updated
var searchParams = new URLSearchParams(window.location.search);
var tagGroup = searchParams.get("tag_group");
Strings.load_more = 'Expand';
if (tagGroup && tagGroup === 'AU') {
Strings.load_more = 'Expand More';
}
if (tagGroup && tagGroup === 'FR') {
Strings.load_more = 'Charger Plus';
}
if (tagGroup && tagGroup === 'PT') {
Strings.load_more = 'Continuar';
}