Core/Misc: Optimized locale loading