Custom Language translations
IMPORTANT: this method is deprecated, you can now edit translations directly in the app: Multi language store translations
In the case you want to change a specific translation to better fit your store, you can overwrite the default translations by providing a global javascript object in your theme code before the script is loaded:
<script> window.clTranslate = { "product.options.validity.valueMissing": "Please enter a value", "product.options.validity.tooLong": "Please enter less than {max} characters", "product.options.validity.tooShort": "Please enter at least {min} characters", "product.options.validity.rangeOverflow": "Max allowed value {max}", "product.options.validity.rangeUnderflow": "Min allowed value {min}", "product.options.validity.dateMin": "Please enter a date after {min}", "product.options.validity.dateMax": "Please enter a date before {max}", "product.options.validity.patternMismatch": "Please enter text to match: {pattern}", "product.options.validity.upload.max": "Maximum allowed file size is {max} MB", "product.options.validity.upload.required": "Please upload a file", "product.options.invalid": "Please complete all required options", "product.options.file.link": "\uD83D\uDD17", "product.options.text.align.left": "Text align left", "product.options.text.align.center": "Text center", "product.options.text.align.right": "Text align right", "product.options.text.style.bold": "Text bold", "product.options.text.style.italic": "Text italic", "product.options.text.fontSize": "Text size", "product.options.item.edit": "Edit ⚙️", "product.options.item.modal.title": "Update cart item?", "product.options.item.modal.update": "Update", "product.options.item.modal.add": "Add new", "product.options.discount.placeholder": "Discount code", "product.options.discount.button": "Apply", "product.options.discount.invalid": "Enter a valid discount code", "product.options.discount.valid": "Discount is applied at checkout" }; </script>