KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
go-i18next
★ 17
Open GitHub ↗
I18next for go support.
Download README (.md)
Explore Similar Repositories
KnowExpert
:
The implementation of the paper "Retrieval-Free Knowledge-Grounded Dialogue Response Generation with Adapters".
HoopsHero
:
Predict the market value of NBA players!
libsobacas
:
PC/SC compatible, ECM deocder library
MLP4Rec
:
IJCAI 2022 MLP4Rec
mpv-android-argparse
:
Simple wrapper that lets you pass arguments to mpv-android, without root access
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
go-i18next
?
Download (.md)
go-i18next --- go-i18next is a port of [i18next](https://www.i18next.com/) in Go. ## Installation ```shell $ go get -u https://github.com/yuangwei/go-18next ``` ## Usage ```go import "github.com/yuangwei/go-18next" var i18n i18next.I18n func main() { i18n = i18next.Init(i18next.I18nOptions{ Lng: []string{"en", "cn"}, DefaultLng: "en", Ns: "json", Backend: i18next.Backend{ LoadPath: []string{"./examples/datas/{{.Ns}}/{{.Lng}}/home.json"}, }, }) text, err := i18n.T("title", struct { Name string }{Name: "Mike"}) fmt.Println(val) // Hello, Mike } ``` ## License go-i18next is available under the MIT license. See the [LICENSE](LICENSE) file for more info.