added localedir to ysettings