Cookies setting

Cookies help us enhance your experience on our site by storing information about your preferences and interactions. You can customize your cookie settings by choosing which cookies to allow. Please note that disabling certain cookies might impact the functionality and features of our services, such as personalized content and suggestions. Cookie Policy

Cookie Policy
Essential cookies

These cookies are strictly necessary for the site to work and may not be disabled.

Information
Always enabled
Advertising cookies

Advertising cookies deliver ads relevant to your interests, limit ad frequency, and measure ad effectiveness.

Information
Analytics cookies

Analytics cookies collect information and report website usage statistics without personally identifying individual visitors to Google.

Information
mageplaza.com

Magento 2 Translation

Vinh Jacker | 11-07-2016

Magento 2 Translation

Magento 2 translation will be now much easier to configure than ever. With the latest and continuously updated dictionaries, the localization and customization of Magento instances are effectively enhanced. Moreover, code coupling and duplication are minimized to ensure the performance of the translation. From now on, you can totally adjust your store with multiple languages for various regions and markets.

Translation file is located in i18n folder.

This is example of Mageplaza One Page Checkout extension

CSv file is located at: app/code/Mageplaza/Osc/i18n/en_US.csv

In this topic, we will show you how to translate string from English to other language.

Let’s take an example of translate to es-ES

Namely, they need the following changes: Place Order => Realizar pedido

place order translation

Now create a new file app/code/Mageplaza/Osc/i18n/es-ES.csv

Find string Place Order on the second columns and replace with Realizar pedido

After that, you save the save on your server. If you edit it locally, you should upload to your website.

Then Flush Magento cache

Result:

place order

Related Post

Jacker

With over a decade of experience crafting innovative tech solutions for ecommerce businesses built on Magento, Jacker is the mastermind behind our secure and well-functioned extensions. With his expertise in building user-friendly interfaces and robust back-end systems, Mageplaza was able to deliver exceptional Magento solutions and services for over 122K+ customers around the world.



Related Post

Website Support
& Maintenance Services

Make sure your store is not only in good shape but also thriving with a professional team yet at an affordable price.

Get Started
mageplaza services