Magento 2.2.x Notice: As outlined by the Magento Software Lifecycle Policy, Magento 2.2.x has reached the End-of-Support and will no longer receive quality fixes or documentation updates. To maintain your site's performance, security, and PCIPayment Card Industry: Refers to debit and credit cards and their associated businesses. compliance, upgrade to the latest version of Magento.
Adding a Language
Most of the text that appears to be hard-coded on pages throughout your store can be instantly changed to a different language by changing the localeA set of configurations that defines the user’s language, country, tax rate, and other settings. of the view. Changing the locale doesn’t actually translate the text word-for-word, but simply references a different translation table that provides the interface text that is used throughout the store. The text that can be changed includes navigational titles, labels, buttons, and links such as “My Cart” and “My Account.” You can also use the Inline Translation tool to touch up text in the interface.
Language packs can be found under "Translations & Localization" on Magento Marketplace. New extensions are continually added to Marketplace, so check back often!
Follow the standard instructions to install the language pack extension from Component Manager.
|1.||On the Admin sidebar, tap Stores. Then under Settings, choose All Stores.|
|2.||Tap Create Store View. Then, do the following:|
|a.||Choose the Store that is the parent of the view.|
|b.||Enter a Name for the store view. For example: Portuguese.|
In the header of the store, the name appears in the “language chooser.”
|c.||Enter a Code in lowercase characters to identify the view. For example: portuguese.|
|d.||To activate the view, set Status to “Enabled.”|
|e.||(Optional) Enter a Sort Order number to determine the sequence in which this view is listed with other views.|
|3.||When complete, tap Save Store View.|
|1.||On the Admin sidebar, tap Stores. Then under Settings, choose Configuration.|
|2.||In the upper-left corner, set Store View to the specific view where the configuration is to apply. When prompted to confirm scope switching, tap OK.|
|3.||Expand the Locale Options section.|
|4.||Clear the Use Website checkbox after the Locale field. Then, set Locale to the language that you want to assign to the view.|
If there are several variations of the language available, make sure to choose the one for the specific region or dialect.
|5.||When complete, tap Save Config.|
After you change the language of the locale, the remaining content that you have created, including product names and descriptions, categories, CMS pages, and blocks must be translated separately for each store view.