Ok, you also need to call setNumberOptions on the locale, but the unit tests actually demonstrate that (https://github.com/dogecoin/dogecoin/blob/1.7-dev/src/qt/test/bitcoinunitstests.cpp#L74 and line 121 of that file