Magento 2 Russian language pack - version 2.3.0 beta localization
How to Deploy Specific Language in Magento 2.3.0
In Magento 2, the pub/static directory is where static view files are used for uploading and frontpage files such as css, js, images, etc.
Typically, when you run “magento setup: static-content: deploy”, the code will be generated from the static files in the module’s view directory into the pub/static directory,
but it only generate into the en_US language – which is the default language.
In fact, in Magento 2, there are many languages to use.
So how can you generate code from your static files into another specific language? This tutorial will share how to deploy russian language in Magento 2.
How to Deploy Russian Language in Magento 2.3.0?
After upload csv files to Magento 2.3.0, it’s necessary to do data deploy to make imported entities displayed correctly on the front end. Here’s how Magento deploy for version 2.x performed.
First off, connect to your Magento 2.3.0 store via SSH. Then, follow the instructions below:
1) In command line, go to the folder that contains your shop
2) Step to your Magento 2.3.0 Store’s root directory
3) Display the current mode data using this command: php bin/magento deploy:mode:show
A message similar to the following displays:
Current application mode: default. (Note: Environment variables may override this value.)
4) Deploy static view files for Russian Language by using this command: php bin/magento setup:static-content:deploy ru_RU -f
Then, you need to clear your store’s cache. Use this command to do that: php bin/magento cache:flush
That’s all. Now you’re ready to check your Magento 2.x store for Russian language translation results!
|Last update:||Nov 5, 2018|