perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
For solving the problem you need to close Quartus, create two environment variables , LC_ALL and LANG with value of C (cap "c")
Then go to control Panel-->Clock and Region-->Change date , time, or number format-->Formats
Change the format to English (United States), apply it, and then you can open Quartus Again
For linux, this should work
sudo locale-gen en_US