gotext v1.4.0 Release NotesRelease Date: 2018-09-12 // almost 4 years ago
🚀 Biggest release so far!
- 👍 Introducing MO files support! Thanks to @Dexus for the implementation.
- 📦 We have changed the way to parse the plural expressions by implementing our own plural expression parser. Thanks to @Dexus again for the hard work on this! Now this package has no external dependencies, which was a goal to achieve.
- 🆕 New
Localeobjects to use any translation source backend (non-gettext).
Poobjects now can be serialized. They implement the
encoding.BinaryUnmarshalerinterfaces. This way they can be cached as
byteto avoid translation file parsing in concurrent environments.
- ➕ Added support for Go Modules. Now a project using Go Modules can import this package as a module outside the GOPATH.
Previous changes from v1.3.1
🚀 Following the changes in v1.3.0, this release includes the same approach for the Locale object methods.