We need a locale data json file where we can keep all our labels, messages etc. language variables to set their translations for the specific language.
For this, create a file “ru_RU.json” under the folder src/lngProvider/locales/
Now, you can copy the whole content of file src/lngProvider/locales/en_US.json
(this contains all translation variables with value of English language strings) and paste that into our newly created ru_RU.json file.
The above step will give us all the labels, messages etc variables and we can replace their values with the Russian translation.
For example, let’s change value of “pages.samplePage” : “Sample Page” to “pages.samplePage”: “Пример страницы”.