Skip to content

Is there a way to get a string instead of an object (component) as a translation product? #149

@zannix

Description

@zannix

Is there a way to get a string instead of an object (component) as a translation product?

In my project I am using another component that expects a string prop (which would ideally be the translated string from react-localize-redux lib), and I don't know how to get that.

Edit: If it helps, I am doing this outside render function, in a component helper function that doesn't return anything.

Which versions of react and react-localize-redux are you using?
6.4.1
3.5.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions