There is an issue here, [fix committed](ab05bd02488c)

We shouldn't call compileTemplates with an actual locale, but with the identity function you mentioned.