Comments (6)
So your JSON has parent nodes with child string values and possibly further child nodes again?
What about nested arrays similar to this
from ngx-translate-lookup.
Here is the example:
{
"foo": {
"bar": {
"word1": "smth1-translated",
"word2": "smth2-translated"
}
}
}
In template it used this way:
<span tranlate="foo.bar.word1"></span>
<span tranlate="foo.bar.word2"></span>
from ngx-translate-lookup.
OK, that shouldnt be too much work.
from ngx-translate-lookup.
Published version 1.2.0 of the extension with this PR
from ngx-translate-lookup.
Closing as no response on new version/feature.
from ngx-translate-lookup.
Oh! Great, thanks 👍
from ngx-translate-lookup.
Related Issues (9)
- Unclear how choose 'ngx-translate.lookup.resourcesPath' HOT 3
- Feature Request: Multiple resourcesPath HOT 3
- default regex seems to be broken. why is it still partially working for me? HOT 1
- Output always opens HOT 2
- Support for params?
- Could your extension support typescript lang files? HOT 2
- Support for typescript files when using `TranslateService`
- False warning "Missing resource string: 'undefined'" HOT 2
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 ngx-translate-lookup.