Jump to: navigation, search


For information on how to setup localization, please refer to the Localization Guide


'callback' namespace should be used when defining localization strings for Callback plugin in your i18n JSON file.

In the example below, we demonstrate defining new strings for the 'en' (English) language. You may use any language codes you wish; there is no standard format. When selecting the active language in your configuration, you must match one of the language codes defined in your i18n JSON file. Please note that you must only define a language code once in your i18n JSON file. Inside each language object you should define new strings for each widget.

Example i18n JSON

	"en": {
		"callback": {
			"CallbackTitle": "Receive a Call",
			"CallbackTitleDescription": "Please fill out the following details.",
			"CancelButtonText": "Cancel",
			"ConfirmButtonText": "Confirm",
			"CallbackFirstName": "First Name",
			"CallbackPlaceholderFirstName": "Required",
			"CallbackLastName": "Last Name",
			"CallbackPlaceholderLastName": "Required",
			"CallbackPhoneNumber": "Phone",
			"CallbackPlaceholderPhoneNumber": "Required",
			"CallbackEmail": "Email",
			"CallbackPlaceholderEmail": "Optional",
			"CallbackPlaceholderNotes": "Optional",
			"CallbackDateTime": "Date & Time",
			"CallbackDateTimeDescription": "When should we call you? (Required)",
			"CallbackTodayDate": "Today",
			"CallbackDayLabels": [
			"CallbackMonthLabels": [
			"CallbackTimeAtText": "at",
			"CallbackRadioButtonText": "As Soon As Possible",
			"CallbackBookedPhoneNumberLabel": "Phone",
			"CallbackBookedDateTimeLabel": "Date & Time",
			"CallbackBookedNotesLabel": "Optional Notes",
			"CallbackBookedDescription": "You're booked in!",
			"CallbackNotes": "Notes",
			"CallbackDone": "Done",
			"CallbackOk": "Okay",
			"CallbackCloseConfirm": "Are you sure you want to cancel arranging this callback?",
			"CallbackNoButtonText": "No",
			"CallbackYesButtonText": "Yes",
			"CallbackPlaceholderCalendar": "Custom Date & Time",
			"Errors": {
				"unknownError": "Something went wrong, we apologize for the inconvenience. Please check your connection settings and try again."

Comment on this article:

blog comments powered by Disqus
This page was last modified on 15 November 2017, at 10:19.