amsul / amsul/pickadate.js

Switching between translations

Aberta
#792 1 comentário 2 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
7.6k
Forks
981
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

I may have forgot something, but it doesn't seem that it is possible to switch from 1 translation to another using the API.

Am I wrong ?

I think to achieve this, there should be a `pickadate.defaults.langs[localeCode]` allowing to override some `pickadate.defaults` when changing a lang

Something a bit like [what momentjs is doing](https://github.com/moment/moment/blob/develop/locale/fr.js#L12) with its `defineLocale()` call

WDYT ?

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.