Lost style when change language error magento 2

Have you ever face to face error lost style when switching to another language.

Today, I will show you how to fix it.

Here is the image of the error

You must run command bellow to fix it:

php bin/magento setup:static-content:deploy sr_SA -f

 

The language example I changed is Arabia Saudi

You can do the same with all other languages and just change the code

 

Done, I hope this article can help you.