dynamic locale dependency