Closed pistou closed 8 years ago
I'm trying to translate from an Array For instance:
en.js
module.exports = { foo: { bar: [ { lorem: "ipsum", some: "text" } ] } };
component.jsx
<Translate content="foo.bar[0].lorem" />
At this point, all I get is
missing translation: en.foo.bar[0].lorem
Is there a way to achieve this?
Unfortunately, translating from arrays is not supported at the moment. I'm not sure if this is a good feature to have.
I'm trying to translate from an Array For instance:
en.js
component.jsx
At this point, all I get is
Is there a way to achieve this?