Questions tagged [react-localize-redux]
5 questions
2
votes
0 answers
react-localize-redux call translate in reducer
is there a way to use translate function of react-redux-localize inside the reducers?
import { getTranslate } from 'react-localize-redux';
import store from '../store';
export default function customReducer(
state = {},
action
)
{
let…

wgrzesiak147
- 143
- 9
1
vote
3 answers
How to use Translate inside react-bootstrap select option
I am using react-bootstrap for rendering my select dropdown and I am trying to pass a custom element to the options. I need to display translated values in the dropdown:

Smajl
- 7,555
- 29
- 108
- 179
0
votes
1 answer
How can I use translations in a component title?
I'm using react-translate-redux in a project for internationalization, but I don't know how to use translations in a component's properties. Specifically, I would like the title text of a component to be internationalized.
I would try the below,…

Kuai Le
- 162
- 11
0
votes
1 answer
Using react-localize-redux-translations as yup-required-string
I'm creating a React app and I want to use react-localize-redux for translation and yup for validation. My problem is in understanding how to combine them.
I know that I can either pass strings to yup-require or a function, as this is the…

Tom
- 111
- 1
- 8
0
votes
1 answer
Reactjs why useEffect sometimes runs on every mount/render instead of just first
I have a useEffect in my Routes in App.js
in the same file(App.js)…

Avedis Kiyici
- 67
- 1
- 7