Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

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
purl: pkg:golang/github.com/oblq/i18n
Keywords: go, golang, i18n, internationalization, localization, sprbox, translation
License: MIT
Latest release: over 4 years ago
First release: over 4 years ago
Namespace: github.com/oblq
Stars: 2 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 12 days ago

    Loading...
    Readme
    Loading...