How to edit and translate legacy system pages

Important note!

This guide applies to templates released before Version 35. If you are on Version 35 or newer, refer to this article instead.

System pages in HubSpot are templates, not regular pages, so they cannot be edited in the page editor. To change the text, you would need to edit the templates directly. These are read-only by default, unless you are using a clone or a child theme.

Act3 includes a solution that works with the original read-only files, so no template editing is required.


Step-by-step guide

Start by applying the system, subscription, or membership page templates in your settings. Select your Act3 templates and save your changes.

Go to SettingsContentPages and make sure you are on the correct domain, in case you have different settings per domain.

In the Templates tab, paste the variables from below into the Site header HTML box for the system pages you want to translate:

Replace the text between the double quotes in each variable:


Variables

Here are all the variables you can use:

{# 404 Error #}

{% set sys_404_overline = "404 Error" %}
{% set sys_404_title = "Sorry, the page you were looking for at this URL was not found." %}
{% set sys_404_button = "Go Back to Homepage" %}

{# 500 Error #}

{% set sys_500_overline = "500 Error" %}
{% set sys_500_title = "Sorry, an internal server error occurred." %}
{% set sys_500_button = "Reload the Page" %}

{# Password prompt #}

{% set sys_pass_overline = "Password Protected" %}
{% set sys_pass_title = "A password is required to view this page." %}
{% set sys_pass_placeholder = "Enter password" %}
{% set sys_pass_button = "Unlock" %}
{% set sys_pass_wrong = "Sorry, try again." %}

{# Search results #}

{# Not needed, as we have on-page search results in Act3. Edit your header to change the text in that search window. This template is only included because it's required by the marketplace. #}

{# Subscription preferences #}

{% set sys_subpref_title = "Communication Preferences" %}
{% set sys_subpref_text = "If this is not your email address, please ignore this page since the email associated with this page was most likely forwarded to you." %}
{% set sys_subpref_all_text = "Or check here to never receive any emails:" %}
{% set sys_subpref_all_check = "Unsubscribe me from all mailing lists." %}
{% set sys_subpref_button = "Update email preferences" %}
{% set sys_subpref_resub_button = "Yes, resubscribe me!" %}
{% set sys_subpref_uncheck = "Uncheck the types of emails you do not want to receive:" %}
{% set sys_subpref_unsubbed = "You are presently unsubscribed from all of our emails. Would you like to receive our emails again?" %}

{# Subscription update confirmation #}

{% set sys_subconf_title = "Communication Preferences" %}
{% set sys_subconf_text = "If this is not your email address, please ignore this page since the email associated with this page was most likely forwarded to you." %}
{% set sys_subconf_unsubbed = "You have successfully unsubscribed from all email communications." %}
{% set sys_subconf_updated = "You have successfully updated your email preferences." %}

{# Unknown contact subscription preferences #}

{% set sys_subunk_title = "Email Unsubscribe" %}
{% set sys_subunk_subtitle = "Your email address:" %}
{% set sys_subunk_placeholder = "[email protected]" %}
{% set sys_subunk_button = "Unsubscribe" %}