aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-05-14 07:07:07 -0300
committerEuAndreh <eu@euandre.org>2025-05-14 07:07:07 -0300
commit32050e3a8c1c3fc7633e3287e4e02bbe9519d8ae (patch)
tree64e4e033df09a2c2bf1ae2dafca057eb1f3c3ecc
parentAbsorb go-xgettext/main_test.go (diff)
downloadgotext-32050e3a8c1c3fc7633e3287e4e02bbe9519d8ae.tar.gz
gotext-32050e3a8c1c3fc7633e3287e4e02bbe9519d8ae.tar.xz
rm _examples/gettext.go
-rw-r--r--_examples/gettext.go21
1 files changed, 0 insertions, 21 deletions
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!"))
-}