Coder Social home page Coder Social logo

Comments (11)

perrin4869 avatar perrin4869 commented on June 2, 2024 1

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.

perrin4869 avatar perrin4869 commented on June 2, 2024

A PR would be very very helpful :)

from i18next-gettext-converter.

adrai avatar adrai commented on June 2, 2024

Maybe for inspiration: locize/gettext-converter@d5b29d8

from i18next-gettext-converter.

perrin4869 avatar perrin4869 commented on June 2, 2024

Ah I wasn't aware of that repo!
What is the difference with this one? Is there duplication of functionality?

from i18next-gettext-converter.

adrai avatar adrai commented on June 2, 2024

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.

perrin4869 avatar perrin4869 commented on June 2, 2024

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.

adrai avatar adrai commented on June 2, 2024

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.

perrin4869 avatar perrin4869 commented on June 2, 2024

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.

adrai avatar adrai commented on June 2, 2024

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 on node-gettext or gettext-parser, unlike this lib... was there some reason locize 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.

perrin4869 avatar perrin4869 commented on June 2, 2024

@eMerzh Released in v11!

from i18next-gettext-converter.

eMerzh avatar eMerzh commented on June 2, 2024

thanks, @perrin4869 👏
I'll test that soon

from i18next-gettext-converter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.