You can add multiple languages to your webstore to reach a wider audience.
Languages are part of the Theme Settings that allow you to add multiple languages to your webstore. You can add multiple languages to your webstore to reach a wider audience and provide a better shopping experience for your customers.
To select the languages for your webstore, follow the steps below:
Log in to Admin Panel
Log in to your Admin Panel.
Navigate to Theme Settings
Navigate to the Themes tab and select the theme you want to edit.
Select Languages
Scroll down to the “Language Settings” section.
Default Language
Select the “Default Language” for your webstore.
Selectable Languages
Select the “Selectable Languages” you want to add to your webstore.
Save Changes
Press “Save” or “Update” buttons next to the options to apply the changes.
To edit the language files, follow the steps below:
The language files are stored in the /frontend/src/locales
directory. You can edit the language files directly by modifying the JSON files.
To add a new language to your webstore, follow the steps below:
/frontend/src/locales
directory.en.json
for English).en.json
file and translate them to the new language.You also need to add the new language to the backend. To add a new language to the backend, follow the steps below:
/var/www/minestore/app/Http/Controllers
directory.SettingsController.php
file.public static function getLanguages
function.$languagePack
array.