nit: it would be great to not serialize (in modifyLocaleIni) and reparse it here.