vorlif / spreak Goto Github PK
View Code? Open in Web Editor NEWFlexible translation and humanization library for Go, based on the concepts behind gettext.
License: Other
Flexible translation and humanization library for Go, based on the concepts behind gettext.
License: Other
Describe the solution you'd like
The CLDR plural forms should be optionally supported. These provide more accurate results than the gettext plural forms.
Both are not necessarily compatible, but can be if the index of the gettext rules matches the index of the CLDR category (zero to other).
This should be the case in most cases.
Describe the solution you'd like
https://github.com/golang-module/carbon could be used to give all aspects the ability to convert datas and times.
SO then we can incorporate this. It's needed in GUI and when you translate time between a DB and a GUI and back again. DB always should store dates as UTC, but GUI should show in dates adjusted to their own time zone.
Go uses forward slashes for embed.FS
even on Windows builds and loader can't find files with names made with filepath.Join
.
Relevant issues: golang/go#45230, golang/go#44305
Move locale/es.po
to locale/es/helloworld.po
in example.
Load locales.
It doesn't load 😄.
Describe the solution you'd like
The Humanize package should use the translations from the CLDR package.
Hey @vorlif
Try this :
It fails because it also does the key works, so need an extractor and mergers just for this building machine translators.
"midnight": "midnight",
„Mitternacht“: „Mitternacht“,
```.
So I was wondering if there is code for machine translation using any of the providers at all ?
The flow is that everything runs through machine translation and then for humans to also check as a 2nd phase.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.