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/pilu/i18n-go

Package i18n implements i18n with simple config file or custom backends. Files are simple config files based on https://github.com/pilu/config. You can load a file with i18n.Load: You can also load multiple files passing a glob pattern: In the first example, all the translations of "en.conf" are added to the locale "en", which is the file name without extension. You can also create a file with a different name and add all your translations under the "en" section: Inside a file you can have multiple sections. Each section will be a different locale: All top level translations are added to the locale "en", which is the file name. Check the example folder for a complete example https://github.com/pilu/i18n-go/tree/master/example

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/pilu/i18n-go
License: MIT
Latest release: over 11 years ago
First release: over 11 years ago
Namespace: github.com/pilu
Last synced: about 2 months ago

    Loading...
    Readme
    Loading...