i18n-js-npm icon indicating copy to clipboard operation
i18n-js-npm copied to clipboard

Support n-depth JSON in externalized file.

Open atapas opened this issue 4 years ago • 0 comments

At this point it supports only one depth externalization JSON in en.js and other language files.. Like this

{
 'about' : {
                   'header': 'About',
                   'content': 'Things are looking Awesome!'
                }
}

or

{
  'aboutHeader': 'About'
}

Enhancement Request

Please support n-depth like,

{
 'about' : {
                   'header': 'About',
                   'content': {
                       'text': 'Things are looking Awesome!',
                       'company': {
                          'name': 'xyz'
                       }
                   }
                }
}

atapas avatar May 13 '20 13:05 atapas