The setup is a Django based website on an Ubuntu server system with lots of useful information in /usr/share/i18n/locales
.
The question: Can I access this pool of wisdom without using Python's locale.setlocale()
afore?
The reason: The docs say, that it is
very expensive to call
setlocale()
, andaffects the whole application.
But in my case I have a, say, French site (Django handles setting the locale automatically), and I just want to display the name of January in the de_AT
locale, or format a number like they do in Russia.