Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Track changed key in I18n JSON

Avatar

Avatar
Give Back
Level 2
Nandujee
Level 2

Likes

3 likes

Total Posts

43 posts

Correct Reply

0 solutions
Top badges earned
Give Back
Ignite 5
Ignite 3
Ignite 1
Validate 10
View profile

Avatar
Give Back
Level 2
Nandujee
Level 2

Likes

3 likes

Total Posts

43 posts

Correct Reply

0 solutions
Top badges earned
Give Back
Ignite 5
Ignite 3
Ignite 1
Validate 10
View profile
Nandujee
Level 2

27-03-2017

Hello there,

 

Recently we have converted our i18n translator nodes to JSON for the performance improvement. We have seen the performance improvement for the same.

Now, We are unable to find the last modified by for the individual key(like we had it on node).

Is there any way in JSON to track the changes at key level.

i.e. Last modified by for the key level.

Your suggestions are much appreciated.

Thanks

Nanda

View Entire Topic

Avatar

Avatar
Validate 10
Level 4
sandeepm744005
Level 4

Likes

19 likes

Total Posts

127 posts

Correct Reply

13 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 4
sandeepm744005
Level 4

Likes

19 likes

Total Posts

127 posts

Correct Reply

13 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
sandeepm744005
Level 4

27-03-2017

Didn't understand your question, sounds like you are trying to get the value in the JSON for any particular key ?

 

Object.keys(myVar).forEach(function(k) {if(k === "typeA") {// do stuff}else if (k === "typeB") {// do more stuff}else {// do something}});