Comments (11)
hm... maybe this: https://github.com/smhg/gettext-parser/blob/f383dc83b08c21f12a4f9a31ced88d1ce44194b6/lib/poparser.js#L3
I've actually been struggling bundling readable-stream
with rollup for a while, it was because it is using circular dependencies.
I did eventually figure out how to bundle it correctly though! Maybe I try to make a proper browser-compatible bundle in this lib
from i18next-gettext-converter.
A PR would be very very helpful :)
from i18next-gettext-converter.
Maybe for inspiration: locize/gettext-converter@d5b29d8
from i18next-gettext-converter.
Ah I wasn't aware of that repo!
What is the difference with this one? Is there duplication of functionality?
from i18next-gettext-converter.
Ah I wasn't aware of that repo! What is the difference with this one? Is there duplication of functionality?
no, it's not exactly the same... locize/gettext-converter was mainly created to be used on client side... and has a different interface and has no CLI
from i18next-gettext-converter.
Maybe we could collaborate to factor out the common parts into a common lib to reduce duplicate efforts? Not sure if that would make sense though
from i18next-gettext-converter.
Maybe we could collaborate to factor out the common parts into a common lib to reduce duplicate efforts? Not sure if that would make sense though
I think there should be no obstacle if i18next-gettext-converter would integrate locize/gettext-converter and if you want you'll be invited to have write access to it...
what do you think?
from i18next-gettext-converter.
I already have write access, made several maintenance releases for this lib in the past ;)
Could definitely try making this a node cli frontend for locize/gettext-converter
. One thing that I noticed, locize/gettext-converter
doesn't depend on node-gettext
or gettext-parser
, unlike this lib... was there some reason locize
didn't use those libs?
from i18next-gettext-converter.
I already have write access, made several maintenance releases for this lib in the past ;)
I intended write access to locize/gettext-converter ;-)
Could definitely try making this a node cli frontend for
locize/gettext-converter
. One thing that I noticed,locize/gettext-converter
doesn't depend onnode-gettext
orgettext-parser
, unlike this lib... was there some reasonlocize
didn't use those libs?
If I remember correctly there was an issue with some browser integrations... webpack or rollup or similar...
from i18next-gettext-converter.
@eMerzh Released in v11
!
from i18next-gettext-converter.
thanks, @perrin4869 👏
I'll test that soon
from i18next-gettext-converter.
Related Issues (20)
- CLI doesn't get the arguments HOT 3
- CLI fails to execute HOT 1
- Plurals generation from .po for language with no plurals HOT 2
- No error thrown when error in .po file
- Node 16 not supported HOT 2
- Option --foldLength does not work HOT 1
- Add option to set JSON indentation depth HOT 6
- New fuzzy check (v7.1.0) crashes if message has no comments HOT 1
- generate pot file from cli HOT 5
- Passing options to `GettextParser.po` compiler in `i18nextToGettext` HOT 5
- Wrong conversion of the strings while converting .po file to .json file HOT 1
- Cannot read property 'nplurals' of undefined when using dev language HOT 1
- conversion from po to json the string with , is seperated into two strings HOT 1
- FUNDING.yml
- Using --keyasareference with duplicate text breaks when converting back to i18next HOT 8
- Nesting not supported ? HOT 5
- TypeError: Cannot read property 'option' of undefined HOT 3
- Exported files missing Language field HOT 4
- Converter can't handle keys with underscores HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i18next-gettext-converter.