This "dirty" hack is already present in the sources, but its broken. Stellarium *does* already set the LC_NUMERIC to C but does it too early. This fix simply makes your "dirty" hack work as intended. And it doesn't break anything, so it can safely be applied.
> Because this is dirty hack, not fix
This "dirty" hack is already present in the sources, but its broken. Stellarium *does* already set the LC_NUMERIC to C but does it too early. This fix simply makes your "dirty" hack work as intended. And it doesn't break anything, so it can safely be applied.