How to rename ‘Canceled’ field subscription status on portal?

Modified on: Mon, 27 Mar, 2023 at 8:06 PM

Scope

I want to rename ‘Canceled’ on Portal for subscription status. How do I do it?
I want to rename ‘Paused’  on Portal for subscription status. How do I do it?


Summary  

To customize the subscription status fields available on Portal, you need to download the ‘Language Pack’ from Settings > Configure Chargebee > Languages. You can update the checkout and self-serve portal field names by updating the content on Column B on the hosted_pages_v3.csv file from the Internal folder.


Solution

Step 1: To translate Checkout & Portal buttons’ field names, navigate to Settings > Configure Chargebee > Languages. Download the language pack and translate all the values in the language pack and upload it to the same page. 

 

 

Step 2: Once exported, unzip the downloaded pack. Navigate to the respective language folder. Then go to Internal > hosted_pages_text_configurations.csv.



Note: Language folders will be in the code name, say for example fr-French, en-English & de-German. Refer to this link for more information.


Step 3: Open the hosted_pages_v3.csv file in an editable format and change the relevant field under the ‘Value’ column i.e, Column B. 


In the internal folder of the language pack (under the specific language), you can go to the file “hosted_pages_v3” and give the new label name in the “value” column.

 

For In-app checkout it's hosted pages v3, for Single-page checkout it's hosted pages v2 & for Full-page checkout it's hosted pages v4.


In order to rename the subscription status ‘Cancelled’ field as per your business requirements, you would need tdownload the language pack and update the Portal fields on the "hosted_pages_v3.csv" file which is available under the en > internal folder. For an instance, to change the Cancelled status, navigate to Row:128 by updating the content in Column B.



You would need to update the value of the "
Value
column for the "hp_v3.portal.subscription_status.canceled" row in this CSV.


For Paused Subscriptions, the same changes can be done
on the “hp_v3.portal.subscription_status.paused” row.


Internal Folder
This folder contains files with all the static fields. This includes customer-facing verbatim such as "Total", "Tax" etc. For languages with default translation provided by Chargebee, the translation values are already provided in each file. You can change it if need be. For other languages, you need to provide the translation
The translation files included in this folder are:

Credit notes
Line items
Quotes
Emails
Checkout
Self-serve portal
Invoices
Country names
Enum values

For the English language, by default you can edit the button field names on checkout and portal from Settings > Configure Chargebee > Checkout & Self-Serve Portal > Labels. Refer to this link for more information.



Note: You can edit this csv file either in a text editor or in Google sheets. Remember to save the file in the .csv extension only.



Step 4: Once the translation text is entered, upload the pack (only .zip format is supported)



In case, there are errors, the errors will be displayed and you can review the errors and fix them, before uploading the updated folder.


Refer to this link for more information.


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
×