We’ve migrated our documentation to a new site, which means some URLs have changed.
Subscriptions

Why is the resource description shown instead of the resource name in an email?

You are able to configure email notifications under ManageEmail Manager to contain the variable {{resource_name}}.

This by default will display the name of the resource the user converted on in the email notification.

In some cases, clients that use multiple languages for their Localization may notice that instead of the resource name, the user's email notification contains the resource's description.

The reason for this is, that to calculate the {{resource_name}} variable we take the resource name (for example "Regular") and check for custom client's translations of the phrase "Regular" with resource.name context.

In case the client utilizes any other languages than English, usually, resource names (under ManageLocalizationUnits translations) are not localized, so our system sees an empty string as the translation.

We treat this as a valid translation, but in case the {{resource_name}} variable is empty (i.e. not translated), we use the caption from the user payment as a fallback, which contains 2 values: resource name - resource description. That’s why users might see Regular - This is my resource description as {{resource_name}} in their email notifications.

To fix this, you can replace the empty string translation for the Regular phrase (or the relevant Resource name in our case) with the relevant translation e.g. Regular in the Localization section of the Piano dashboard.

After this, the resource name "Regular" will be displayed in any email notifications containing the variable {{resource_name}}.

Last updated: