From 32050e3a8c1c3fc7633e3287e4e02bbe9519d8ae Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 14 May 2025 07:07:07 -0300 Subject: rm _examples/gettext.go --- _examples/gettext.go | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 _examples/gettext.go (limited to '_examples/gettext.go') diff --git a/_examples/gettext.go b/_examples/gettext.go deleted file mode 100644 index 9fa63b2..0000000 --- a/_examples/gettext.go +++ /dev/null @@ -1,21 +0,0 @@ -package main - -import ( - "fmt" - - "github.com/gosexy/gettext" -) - -func main() { - gettext.BindTextdomain("example", "./") - gettext.Textdomain("example") - - gettext.SetLocale(gettext.LcAll, "es_MX.utf8") - fmt.Println(gettext.Gettext("Hello, world!")) - - gettext.SetLocale(gettext.LcAll, "de_DE.utf8") - fmt.Println(gettext.Gettext("Hello, world!")) - - gettext.SetLocale(gettext.LcAll, "en_US.utf8") - fmt.Println(gettext.Gettext("Hello, world!")) -} -- cgit v1.2.3