stefalda/ReactNativeLocalization

No support for objects with arrays of objects

stuartaylward opened this issue · 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