Skip to main content

Widget Translation

Overview

The CCG widget offers a language translation feature that enables the translation of its content between English and Spanish. This feature is available for all integration patterns including hosted and embedded. Future updates will include additional languages.

Supported Langauages

LanguageCode
Englishen
Spanishes

Feature Availability for User Type in CCG Integration Patterns

The language translation feature is available in the CCG integration patterns for the following user types:

User TypeInlineModalDrawerHosted
Customer
Agent
Guest

How to Select Preferred Language for CCG Integration Patterns

Content translation for the CCG widget is available in both embedded and hosted experience via POST Session Request by passing the supported language value for the preferredLanguage prop. Beside the initial session request, CCG hosted experience also provides langauge selector dropdown for user to be able to switch language during their journey on the widget. The CCG widget currently supports English and Spanish for the translation feature.

To utilize the language translation feature, refer to the API documentation.

Language Selection ThroughInlineModalDrawerHosted
POST /checkout-sessions request
Language Selector/Dropdown

Example

Here is the structure of Config object in POST checkout-sessions request including preferredLanguage:

  "config": {
"modes": [
"PAYMENT"
],
"options": {
"saveDisabled": false,
"preferredLanguage": "es"
}
}

Things to Keep in Mind

The following items are not included within the scope of the language translation feature:

  • API responses from CCG or Stripe : Merchants are responsible for translating these responses as needed.
  • Name and Nickname values entered by customers will not be translated.
  • Privacy Policy : The Privacy Policy link shared with CCG should have its own translated version. Refer to Optum Privacy Policy.
  • ACH mandate
  • NPS survey/questionnaire
  • ACH Consent Text
  • Text and Email to Add (future feature)
  • Terms and Conditions : Check with legal for more details.