allegro / allegro/tradukisto

Add custom formatting for languages and support for cents

Aberta
#175 0 comentários 0 reações 0 responsáveis Ver no GitHub
Feature request
Linguagem predominante
Groovy
Estrelas
214
Forks
97
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Currently default BigDecimalToBankingMoneyConverter has FORMAT = "%s %s %02d/100" and it's used by many languages.
Also we have HindiBigDecimalToBankingMoneyConverter that is using a little different format - "%s %s%s %s".

What could be cool - is ability to use custom formatting without implementing custom BigDecimalToStringConverter and also per-language cent symbol support. Now by default it's printing "one hundred EUR 42/100", and it could be nice to be able to print something like "one hundred EUR forty two cents". For now we can only customize currency - EUR, but not cents.
Also good example example: zł. and gr.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

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.