Skip to content

Commit

Permalink
DEVDOCS-5111-Johan-feedback (#52)
Browse files Browse the repository at this point in the history
<!-- Ticket number or summary of work -->
# [DEVDOCS-5111]


## What changed?
Johan asked for additional changes

## Release notes draft
<!-- Provide an entry for the release notes using simple, conversational
language. Don't be too technical. Explain how the change will benefit
the merchant and link to the feature.

Examples:
* The newly-released [X feature] is now available to use. Now, you’ll be
able to [perform Y action].
* We're happy to announce [X feature], which can help you [perform Y
action].
* [X feature] helps you to create [Y response] using the [Z query
parameter]. Now, you can deliver [ex, localized shopping experiences for
your customers].
* Fixed a bug in the [X endpoint]. Now the [Y field] will appear when
you click [Z option]. -->
* 

## Anything else?
<!-- Add related PRs, salient notes, additional ticket numbers, etc. -->

ping {names}


[DEVDOCS-5111]:
https://bigcommercecloud.atlassian.net/browse/DEVDOCS-5111?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

Co-authored-by: Tina Gomez <[email protected]>
  • Loading branch information
bc-traciporter and bc-tgomez authored Jan 18, 2024
1 parent 3cf75cf commit 0d3e1f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ To install a custom order confirmation page on a store, follow these steps:
To install a custom checkout on a store, use the [Update Checkout Settings](/docs/rest-management/checkouts/checkout-settings#update-checkout-settings) endpoint to install the loader file.

#### Implementing localization
You can customize your checkout page and customer order confirmation page to display in any one language of your choice. To localize your checkout, download and extract your Stencil theme. Navigate to the `/lang` subfolder, which includes the [`en.json`](https://github.com/bigcommerce/checkout-js/blob/master/packages/locale/src/translations/en.json) English language file. Create a new translation file (i.e., `es.json`) and copy the translation files across from [checkout.js](https://github.com/bigcommerce/checkout-js) into Cornerstone. Use `{{lang checkout.my-string}}` or `{{lang order-confirmation.my-string}}` and enter the key-value pairs. The example below shows English and Spanish strings.
You can customize your checkout page and customer order confirmation page to display in any one language of your choice. To localize your checkout, download and extract your Stencil theme. Navigate to the `/lang` subfolder, which includes the [`en.json`](https://github.com/bigcommerce/cornerstone/tree/master/lang) English language file. Create a new translation file (i.e., `es.json`) and copy the content of the translation file across from [checkout.js](https://github.com/bigcommerce/checkout-js/blob/master/packages/locale/src/translations/en.json) into Cornerstone. Use `{{lang checkout.my-string}}` or `{{lang order-confirmation.my-string}}` and enter the key-value pairs. The example below shows English and Spanish strings.

In `en.json`, add `checkout` key and corresponding information for the value.

Expand Down

0 comments on commit 0d3e1f5

Please sign in to comment.