pick up <html lang="..."> attribute before defaulting to English
Closed this issue · 4 comments
HuBandiT commented
I would like to suggest the following language precedence order:
- language from
data-date-language
attribute - language from
.datepicker()
call argument - language from
<html lang="...">
attribute - English
If the language determined by this preference list is not loaded/available, then also fall back to English.
For one case of of why/where this would be useful:
https://groups.google.com/forum/#!searchin/hobousers/datepicker/hobousers/0eBz-C9Plr8/sPevKOYust8J
HuBandiT commented
I also posted this upstream: uxsolutions/bootstrap-datepicker#1552
Nerian commented
Sounds fine to me. If it gets changed in the upstream repo it will be changed here too.
HuBandiT commented
so are you saying I should leave this open as a reminder, or should I close it?
Nerian commented
You can close it now that the discussion is happening in the other repo.