Comments (7)
I tried to port it and some of the tests pass, but most of them fail as babel raises syntax errors (e.g. invalid jsx). Also there's a problem with html and other templates, I'm not sure if babel can handle that
from i18next-parser.
Do you actually need that? If so what is the use case?
from i18next-parser.
The use case is breaking very long strings into a few lines for readability
from i18next-parser.
Although I don't really need that, because I decided to go back to using i18n-extract, since the problem I had with it turned out to be a simple change. Sorry for making a mess here
from i18next-parser.
+1 We have the same issue... it would be great if i18next-parser could handle concatenated strings.
from i18next-parser.
@scags9876 I'm maintaining this project for bugs but don't plan to add features to it. I will review a PR with documentation and test and publish a new version though.
from i18next-parser.
I'm currently working on a big update for this project. This will be supported in 1.0
. You can follow the progress at #72 and see the test case here
I'm closing this issue, if you have question please have them on the PR regarding 1.0
from i18next-parser.
Related Issues (20)
- Exports missing from TS definition file index.d.ts
- Question(/maybe regression): should warnings be emitted for non-literal children when i18nKey (and defaults) are specified? HOT 4
- Support i18next major version 23
- Error from JSX spread attributes such as `<a {...props}>` HOT 1
- Support custom namespaced functions and components HOT 1
- Changes in order should cause --fail-on-update to fail HOT 4
- Error while following the documentation HOT 1
- Since 8.9.0, parsing is ignoring files outside the configuration file folder. HOT 8
- key is a variable, can not be parsed? HOT 1
- I don't get any output HOT 3
- New high severity vulnerability from `inflight`, coming from `[email protected]`
- Regression with version 8.0.11 HOT 4
- Incorrect extraction for multiple `useTranslation` on the same page
- @babel/runtime needed to be added as a dependency HOT 3
- Keys not being extracted when comment is inside React components HOT 1
- Can't parse namespace from getFixedT usage
- Can't extract translations from siblings folders
- CLI Exceeding call stack HOT 6
- s.codePointAt is not a function
- Extract plurals from code
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-parser.