I have a theme that will output all the static file to
pub\static\frontend\VendorName\thmemeName\fr_FR
, but now i want to change it to pub\static\frontend\VendorName\thmemeName\en_US,
What are the things i have to set ?
languagemagento2theme
I have a theme that will output all the static file to
pub\static\frontend\VendorName\thmemeName\fr_FR
, but now i want to change it to pub\static\frontend\VendorName\thmemeName\en_US,
What are the things i have to set ?
Best Answer
Set Locale from
Admin >> Store >> Configuration >> General >> General >> Locale Option >> Locale >> English
//Here you have to select only one English localeStatic files are generate based on above locale setting, if multiple locale set then it will generate multiple static files as per locale
Set above configuration and run below command, It will generate only
pub\static\frontend\VendorName\thmemeName\en_US