locale.setlocale(locale.LC_ALL, 'french')
work on my local machine (windows 7 + Python 3)
locale.setlocale(locale.LC_ALL, 'fr_FR.UTF-8')
work on my other machine (Unix) but if I use this on my local machine, I have this error:
locale.setlocale(locale.LC_ALL, 'fr_FR.UTF-8')' failed: unsupported locale setting
fr_FR.UTF-8
work only on one machien andfrench
on other. I have already seen this post before asking my question and it is precisely by doing so that I have the problem. – Marocainlocale.getlocale
function doesn't parse these yet. – Inna