Open slalomzacharyd opened 1 year ago
Hi @slalomzacharyd,
I dug a little bit the i18n world a few years ago for @wisembly, convinced that gettext and the po format (+ the free open source PoEdit sofware) was a really good creation and could benefit the web ecosystem and mainly our project.
I created a while back https://github.com/Wisembly/xgettext-php, a PoEdit parser in php (back then it was my predilection language) to extract our translations from ou .html, .js(x) files.
Then, I was obsessed by frontend package size and found the cool kids too heavy and not perfectly gettext compliant. Thus was born gettext.js
That being said, I might be interrested to have a glance at your project, and also feel free to help yourself from gettext.js piece of code if some are useful to you, but I'm afraid I won't have much time for that matter.
Hope you the best in your project
No worries. I'm looking for something a bit more complete for FE and node development.
For extraction these are my tenants:
I have done about half the work of transforming my base libraries to TS. it's probably going to be a few weeks before I make a release. I'm going to then attempt to do small incremental improvements. (I have a lot of my own stuff going on as well, and I'm hoping to put this mostly into maintenance mode when I can.)
(Sorry, This is my personal account instead of my work one.)
The current placeholder for the library is here: https://www.npmjs.com/package/gettext-cli. Please feel free to close this issue whenever you want. I don't want to get too spammy here.
Hello, I'm going to be starting to
gettext-cli
package to try to do a more complete javascript port of gettext. The only real translation game in town is i18next besides gettext, and I would like to enable the FE ecosystem to have a full set of native js tools if they are afraid of installing the C implemented gettext.As it is right now, gettext is a bit of a hodgepodge for the node-js ecosystem holding it back. Do you have any interest in joining forces? I already have a set of packages for implementing xgettext, msgmerge and msgformat (output to json.) They all have 100% code coverage as well. I'm just going to make sure to migrate them to tyepscript before making new releases using them.