From 0d3e1f5b047e787ea6a3883f7b33ea5f652c432c Mon Sep 17 00:00:00 2001 From: Traci Porter Date: Thu, 18 Jan 2024 08:48:26 -0600 Subject: [PATCH] DEVDOCS-5111-Johan-feedback (#52) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # [DEVDOCS-5111] ## What changed? Johan asked for additional changes ## Release notes draft * ## Anything else? ping {names} [DEVDOCS-5111]: https://bigcommercecloud.atlassian.net/browse/DEVDOCS-5111?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ Co-authored-by: Tina Gomez <94003415+bc-tgomez@users.noreply.github.com> --- .../customizing-checkout/custom-order-confirmation.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/stencil-docs/customizing-checkout/custom-order-confirmation.mdx b/docs/stencil-docs/customizing-checkout/custom-order-confirmation.mdx index eaf726c52..084d1f746 100644 --- a/docs/stencil-docs/customizing-checkout/custom-order-confirmation.mdx +++ b/docs/stencil-docs/customizing-checkout/custom-order-confirmation.mdx @@ -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.