main.go 298 B

123456789101112131415161718
  1. package ks
  2. import "github.com/go-playground/universal-translator"
  3. var locale = &ut.Locale{
  4. Locale: "ks",
  5. Number: ut.Number{
  6. Symbols: symbols,
  7. Formats: formats,
  8. Currencies: currencies,
  9. },
  10. Calendar: calendar,
  11. PluralRule: pluralRule,
  12. }
  13. func init() {
  14. ut.RegisterLocale(locale)
  15. }