Comments (6)
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.
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
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.
@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.
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.
@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.
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)
- Lingui doesn't extract msg within a msg HOT 2
- lingui extract-experimental empty space after {} HOT 2
- Error when aliasing Trans from '@lingui/react' in presence of macro Trans from '@lingui/macro' HOT 2
- `Nextjs` `swc` plugin example not working HOT 3
- Macro: t inside t causing ReferenceError: t is not defined HOT 3
- why not working plural macro? please help me...
- Improve React syntax with useLingui HOT 13
- [SIMPLE PATCH READY] Simple hack for compatibility with Turbopack (NextJS) HOT 2
- Missing auto-generated `id` for `<Trans>` macro when using Typescript HOT 4
- ERROR in ./node_modules/@lingui/macro/dist/index.mjs 347:24 Module parse failed HOT 7
- a special message cant compile. HOT 1
- `lingui` can be null HOT 2
- Compile messages to JSON HOT 5
- Support Gatsby HOT 2
- Cannot find type definition file for './node_modules/@lingui/macro/global'. HOT 2
- Next.js tutorial HOT 3
- The `catalogsMergePath` option is missing in the documentation
- Support backup messages HOT 3
- Extract removes manual comments from po files HOT 1
- React Fragment (`<>`) inside `<Plural>` is not working HOT 5
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 js-lingui.