chiark / gitweb /
Auto detect language based on locale
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Wed, 28 Jan 2015 00:25:04 +0000 (19:25 -0500)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Wed, 28 Jan 2015 00:28:55 +0000 (19:28 -0500)
commitf32e43b1bcf6a7d18e5b5ef8cc10367452537bf9
treee1b6d5c653a0b40c98ce660adc6427f5e29d9ca2
parentc9203277df713f8bba854994742e7dcd74e9f26d
Auto detect language based on locale

This wasn't tested on Windows, but the code is in a try/except and
will fallback to using the default locale if it fails.
Fixes issue #29
Cura/util/profile.py
Cura/util/resources.py