ReactNativeLocalization icon indicating copy to clipboard operation
ReactNativeLocalization copied to clipboard

No support for objects with arrays of objects

Open stuartaylward opened this issue 6 years ago • 0 comments

Using v2.1.4. I have an object of FAQ strings. It looks something like this...

{
  'en':{
    'title': 'FAQs',
    faq: [
      {'q':'blah blah blah, 'a': 'this that and the other'},
      {'q':'blah blah blah, 'a': 'this that and the other'},
      {'q':'blah blah blah, 'a': 'this that and the other'},
      ...
    ]
  }
}

When I try to pass this this into new LocalizedStrings() the app crashes with the message

Something went wrong initializing the native ReactLocalization module.

Is there any support for objects with arrays? I believe this used to work on v0.2.2

stuartaylward avatar Aug 23 '19 13:08 stuartaylward