go-playground / locales

:earth_americas: a set of locales generated from the CLDR Project which can be used independently or within an i18n package; these were built for use with, but not exclusive to https://github.com/go-playground/universal-translator
MIT License
268 stars 55 forks source link

Get decimal, group and minus #14

Closed nicola-spb closed 6 years ago

nicola-spb commented 6 years ago

I use formatter for output to the form and I want to parse formatted value from form too.

I can`t get decimal, group and minus for creation float number. I wanna replace: decimal -> "." group -> "" (delete) minus -> "-" and after parse to number.

Could you add getter methods to generated files?

nicola-spb commented 6 years ago

created pull request: https://github.com/go-playground/locales/pull/16

nicola-spb commented 6 years ago

Thanks