jonsamwell/angular-auto-validate

setCulture fails for some langages (typo)

Closed this issue · 2 comments

I couldn't load the french translation because of a small typo :
jcs-auto-validate_fr-fr.json should be named jcs-auto-validate_fr-FR.json,
maybe it's the same for jcs-auto-validate_en-us.json to jcs-auto-validate_en-US.json

Do you think they should be upper or lowers case? They seem to be lowercase in the moment repo
https://github.com/moment/moment/tree/develop/locale

This is now fixed in the v1.0.10 release. I have changed the files to be lowercase and ensured that they are requested in lowercase regardless of the casing of the culture code passed into the module.

I've pushed this up to bower.