Skip to content

Fallback option for default language when using translate() function #210

@tomasruud

Description

@tomasruud

Do you want to request a feature or report a bug?
Feature

What is the current behavior?
When I'm using the translate() function, it's not possible able to add a fallback option for the default language in the same way as when using the translate component <Translate>fallback</Translate/>.

What is the expected behavior?
I would like to be able to supply a fallback translation for the default language when using the translate() function for translating.

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

"react": "^16.13.1",
"react-localize-redux": "^3.5.3",

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