Git Product home page Git Product logo

Comments (6)

tricoder42 avatar tricoder42 commented on May 17, 2024

I'll take a look at possible options. As far as I understand it, ICU MessageFormat is format of messages, while XLIFF is format of a message catalog.

Here's similar issue formatjs/babel-plugin-react-intl#7

from js-lingui.

jamuhl avatar jamuhl commented on May 17, 2024

We now fully support icu format at https://locize.com (and plan to extend based on your feedback / demand):

  • highlighting
  • validation
  • machine translations
  • plural conversion between source and target language
  • prettify of your icu strings

screen shot 2017-10-29 at 14 12 00

Your feedback would be very welcome - also if someone could provide us with a file extracted we could look into supporting that for importing (beside xliff, json, ...)

from js-lingui.

tricoder42 avatar tricoder42 commented on May 17, 2024

@vonovak Hi, sorry I miss the update of your question.

There're many mature services online which support ICU message format:

Feel free to reopen if you had more question!

from js-lingui.

Hotell avatar Hotell commented on May 17, 2024

I would reopen this issue.

Current version of lingui doesn't export valid getext nor json, when Plural -> ICU is used within codebase.

I've pinged PhraseApp folks. They're telling me that they support ICU but on the other hand, they have basically no idea, what format is supported regarding ICU (JSON/po). Their docs doesn't mention anything related to ICU -> .po nor .json support this format. (https://phraseapp.com/docs/guides/formats/)

I would appreciate ( and I guess anyone new coming to this library ) to get some info regarding Translation services compatibility.

Related:

Thanks

from js-lingui.

jamuhl avatar jamuhl commented on May 17, 2024

@Hotell you can give https://locize.com a try...you can import / export both .json or .po -> also it should take the extracted file from jslingui as source - if there should be changes meanwhile just send us a file over to [email protected] and we will check that so import gets updated to latest.

from js-lingui.

tricoder42 avatar tricoder42 commented on May 17, 2024

Current version of lingui doesn't export valid getext nor json, when Plural -> ICU is used within codebase.

Why the exported PO file isn't valid? Is it because ID is missing as you described in other issue or the file itself isnt' syntactically valid?


Transifex and Crowdin, two biggest localization management platforms which I know, seem to support both PO files and ICU MessageFormat.

from js-lingui.

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.