Top 1.5% dependent packages on proxy.golang.org
Top 1.4% dependent repos on proxy.golang.org
Top 6.3% forks on proxy.golang.org
Top 1.2% docker downloads on proxy.golang.org
proxy.golang.org : github.com/gin-contrib/i18n
Package i18n ginI18nImpl is an implementation of the GinI18n interface, providing localization support for Gin applications. It uses the go-i18n library to manage and retrieve localized messages. Fields: - bundle: The i18n.Bundle containing the localization messages. - localizerByLng: A map of language tags to their corresponding localizers. - defaultLanguage: The default language tag to use for localization. - getLngHandler: A handler function to retrieve the language tag from the Gin context. Methods: - GetMessage: Retrieves a localized message based on the provided context and parameter. - MustGetMessage: Retrieves a localized message and returns an empty string if retrieval fails. - HasLang: Checks if a specific language is supported. - GetCurrentLanguage: Retrieves the current language based on the Gin context.. - GetDefaultLanguage: Retrieves the default language - SetBundle: Sets the i18n.Bundle configuration. - SetGetLngHandler: Sets the handler function to retrieve the language tag from the Gin context. - loadMessageFiles: Loads all localization files into the bundle. - loadMessageFile: Loads a single localization file into the bundle. - setLocalizerByLng: Sets the localizers for each accepted language. - newLocalizer: Creates a new localizer for a given language. - getLocalizerByLng: Retrieves the localizer for a given language. - getLocalizeConfig: Converts the parameter into an i18n.LocalizeConfig.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/gin-contrib/i18n
License: MIT
Latest release: 4 months ago
First release: about 3 years ago
Namespace: github.com/gin-contrib
Dependent packages: 17
Dependent repositories: 14
Stars: 95 on GitHub
Forks: 22 on GitHub
Docker dependents: 3
Docker downloads: 2,928
See more repository details: repos.ecosyste.ms
Last synced: 29 days ago
github.com/fuxi-inc/dip-common-lib v1.0.7
dip协议实现中的公共组件27 versions - Latest release: about 1 year ago - 1 stars on GitHub
github.com/1Panel-dev/1Panel v1.9.6
现代化、开源的 Linux 服务器运维管理面板。85 versions - Latest release: about 1 year ago - 1 dependent package - 2,926 stars on GitHub
github.com/1panel-dev/1panel v1.9.6 💰
🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers...85 versions - Latest release: about 1 year ago - 28,081 stars on GitHub
github.com/nicelizhi/easy-admin-core/sdk v0.0.0-20240107060753-4351c7e05e03
7 versions - Latest release: over 1 year ago - 1 dependent package - 0 stars on GitHubgithub.com/nicelizhi/easy-admin v0.0.0-20240107055543-a84f309b9651
Use Easy-Admin Quick Create Your Admin Use Go + Vue31 versions - Latest release: over 1 year ago - 2 stars on GitHub
github.com/Junvary/gin-quasar-admin/GQA-BACKEND v0.0.0-20231202072256-e4be35b24f2f
A full-featured management system based on Quasar2,Vue3,Go,Gin,Gorm.44 versions - Latest release: over 1 year ago - 4 dependent packages - 122 stars on GitHub
github.com/acehinnnqru/gin-server-example v0.0.0-20231201135756-64eda925f2c5
1 version - Latest release: over 1 year ago - 0 stars on GitHubgithub.com/switfs/switfs-oms v0.0.0-20231124063230-96719da6813a
6 versions - Latest release: over 1 year ago - 0 stars on GitHubgithub.com/jeven2016/mylibs v0.1.7
8 versions - Latest release: over 1 year ago - 1 dependent repositories - 0 stars on GitHubgithub.com/Tencent/bk-bcs/bcs-services/bcs-webconsole v0.0.0-20231013030123-353f75c0ba6e
蓝鲸智云容器管理平台(BlueKing Container Service)17 versions - Latest release: over 1 year ago - 645 stars on GitHub
github.com/hitosea/1panel v0.0.1
现代化、开源的 Linux 服务器运维管理面板。1 version - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/hitosea/1Panel v0.0.1
现代化、开源的 Linux 服务器运维管理面板。1 version - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/ehsandavari/go-clean-architecture v0.0.0-20230513113058-18537dad9071
Golang Clean Architecture codebase for micro services1 version - Latest release: almost 2 years ago - 4 stars on GitHub
github.com/ehsandavari/golang-clean-architecture v0.0.0-20230325212022-8acf1c627a86
3 versions - Latest release: about 2 years ago - 3 stars on GitHubgithub.com/develop-kevin/easy-gin-vue-admin v0.0.0-20230320062237-a668bafd8256
1 version - Latest release: about 2 years agogithub.com/yzimhao/dwz v0.0.0-20221202072016-eae289c09f20
短网址服务,缩短网址1 version - Latest release: over 2 years ago - 1 stars on GitHub
Check this option to include packages that no longer depend on this package in their latest version but previously did.