For Magestore One Step Checkout supports English only, after you have installed Magestore One Step Checkout on your site, check every buttons, test all functionalities, and try all fields, you need to change one thing to make the extension completely yours: translating text on your checkout page. It does not require much technical knowledge to implement, you can refer the the steps below:
1. To translate to your language
To change the language displayed, please open your Magestore One Step Checkout files and find this file:
For Magento 1: app/locale/en_US/Magestore_Onestepcheckout.csv
For Magento 2: app\code\Magestore\OneStepCheckout\i18n\en_US.csv
Then you need to create the similar CSV file: the terms that you need to translate are on the left of the comma, the terms translated are on the right of the comma. For example: “I read and agree to”,“Je lis et je suis d’accord pour” if you want to translate to French.
For Magento 1: Upload the new CSV file created to the corresponding language folder, eg: app/locale/fr_FR
For Magento 2: Remember to name the file after the language you have altered, eg: en_US.csv into fr_FR.csv
After uploading new language file for One Step Checkout, you need to refresh cache so they can be displayed on the live site.
2. To edit title of each button
You can not only use this file to translate but also change the buttons’ titles on the checkout page.
For example, if you want to change “Place Order Now” into “Buy Now” button, please follow the steps below:
- Step 1: Open the file and find the “Place Order Now” text.
- Step 1: You need to keep the term on the left of the comma intact, and change the right one into “Buy Now”. Or you can add this line at the end of the file:
“Place Order Now”, “Buy Now”
- Step 3: Save the change and refresh cache.
Now you have changed the button’s title successfully. Take the same steps if you want to edit other buttons.
After completing these configurations, you now have a new checkout page that speaks the same language with you and your customers!