locale.Error: unsupported locale setting

Posted over 4 years ago by findyourspirits

Post a topic
Un Answered
f
findyourspirits

When I try to deploy my project I get the following error:

locale.Error: unsupported locale setting


This is the faulty entry:

locale.setlocale(locale.LC_ALL, 'german')


How does the error occur and what must I do to end the error?


In attach files you can see the build log


Thank you for your help :)

0 Votes


1 Comments

f

findyourspirits posted over 4 years ago

I solved the problem by changing this:

locale.setlocale(locale.LC_ALL, 'german')


to this:

locale.setlocale(locale.LC_ALL, 'de_DE.utf8')

0 Votes

Login to post a comment