feat: locales
generated type narrowing
#2722
Merged
locales
generated type narrowing
#2722