Docs

Log into read the version of docs relevant to your site.

How to change the text of the Update Payment Method button on the email

Problem Statement

You need to translate or edit the "Update Payment Method" button label on email notifications.

Solution

To translate or edit the "Update Payment Method" button label, download, edit, and upload the language pack. For English, navigate to en > internal > email_common_cards_and_buttons.csv and update the button.update_payment_method key.

Configuration steps

  1. Download the language pack

    Go to Settings > Configure Chargebee > Languages. Download the language pack, translate the values, and upload the compressed file to the same page. For more details, see Configure multiple languages.

  1. Navigate to the file

    Unzip the downloaded pack. To edit the Update Payment Method button, go to en > Internal > email_common_cards_and_buttons.csv.

Note:  Language folders will be in code names. For example: fr-French, en-English & de-German as in the above screenshot

  1. Edit the button text

    Open email_common_cards_and_buttons.csv in a text editor or Google Sheets. Find the row with key button.update_payment_method and add your translated text in the Value column.

  1. Save the file in CSV format, zip the pack completely, and upload it to your site.

For more information, see Configure multiple languages.

Was this article helpful?