proxy.golang.org : github.com/oblq/i18n
Package i18n is a minimal, flexible and simple to use localizations package. Localization files can be yaml, json or toml. Get a new instance: Optionally override the GetLocale func, if an empty string is returned the default method will be used anyway: Localize a key based on the http request, i18n will first look for user language by the GetLocaleOverride func, then in cookies ("language" and/or "lang" keys), then in 'Accept-Language' header: Localize a key based on the given locale: Optionally pass parameters to be parsed with fmt package: Optionally use a localized file server:
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/oblq/i18n
Keywords:
go
, golang
, i18n
, internationalization
, localization
, sprbox
, translation
License: MIT
Latest release: about 6 years ago
First release: about 6 years ago
Namespace: github.com/oblq
Stars: 3 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 7 days ago