locales

package
v0.17.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package locales provides all the content for translations.

Index

Constants

This section is empty.

Variables

View Source
var Content embed.FS

Content is the embedded content for the locales.

Functions

This section is empty.

Types

type Config

type Config struct {
	DateFormat        string `json:"date_format"`
	DecimalMark       string `json:"decimal_mark"`
	ThousandSeparator string `json:"thousand_separator"`
	CurrencyFormat    string `json:"currency_format"`
}

Config determines the configuration options for numbers and currency which don't necessarily coincide with those expected from the locale.

func NewConfig

func NewConfig() *Config

NewConfig prepares the default configuration.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL