react-localize-redux icon indicating copy to clipboard operation
react-localize-redux copied to clipboard

Fallback option for default language when using translate() function

Open tomasruud opened this issue 4 years ago • 0 comments

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",

tomasruud avatar Oct 23 '20 13:10 tomasruud