https://github.com/issue9/localeutil
本地化的一些工具
https://github.com/issue9/localeutil
go golang i18n locale
Last synced: 4 months ago
JSON representation
本地化的一些工具
- Host: GitHub
- URL: https://github.com/issue9/localeutil
- Owner: issue9
- License: mit
- Created: 2020-06-26T10:40:58.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-12-04T04:24:03.000Z (6 months ago)
- Last Synced: 2025-12-07T10:42:01.946Z (6 months ago)
- Topics: go, golang, i18n, locale
- Language: Go
- Homepage: https://pkg.go.dev/github.com/issue9/localeutil
- Size: 234 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
localeutil
[](https://github.com/issue9/localeutil/actions?query=workflow%3AGo)
[](https://opensource.org/licenses/MIT)
[](https://codecov.io/gh/issue9/localeutil)
[](https://pkg.go.dev/github.com/issue9/localeutil)

======
提供了一些常用的本地化相关功能,依赖于
- DetectUserLanguage 检测当前用户的本地化信息
- Width 计算字符的宽度
- message 本地化消息
- message/serialize 本地化消息的序列化
- message/extract 本地化消息的提取
安装
----
```shell
go get github.com/issue9/localeutil
```
版权
----
本项目采用 [MIT](http://opensource.org/licenses/MIT) 开源授权许可证,完整的授权说明可在 [LICENSE](LICENSE) 文件中找到。