aboutsummaryrefslogtreecommitdiffhomepage
path: root/langs
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2021-08-02 16:24:04 +0200
committerBjørn Erik Pedersen <[email protected]>2021-08-02 19:40:32 +0200
commit3a96655592d0b0db4126f20ca717d553dda9c4ed (patch)
tree659ab65dda84c17f3406e33a294aa0ac3d325e1e /langs
parent9a7383caf3945b9b11db2b108003f87e2e8b6a3a (diff)
downloadhugo-3a96655592d0b0db4126f20ca717d553dda9c4ed.tar.gz
hugo-3a96655592d0b0db4126f20ca717d553dda9c4ed.zip
Reduce binary size vs locale, update to CLDR v36.1
Test building with `go build -ldflags="-s -w"` Hugo 0.86.2: 46MB Before this commit: 77MB After this commit: 54MB Fixes #8839 Fixes #8841
Diffstat (limited to 'langs')
-rw-r--r--langs/language.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/langs/language.go b/langs/language.go
index 46f1be60e..c4cba15bf 100644
--- a/langs/language.go
+++ b/langs/language.go
@@ -21,8 +21,8 @@ import (
"github.com/pkg/errors"
- translators "github.com/bep/gotranslators"
- "github.com/go-playground/locales"
+ translators "github.com/gohugoio/localescompressed"
+ "github.com/gohugoio/locales"
"github.com/gohugoio/hugo/common/maps"
"github.com/gohugoio/hugo/config"
)