python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Can not change language for schema warning message in i18next
I am using i18next for multilingual support in reactjs. I am also using Yup and defined my schemas in the file below.
const hasEmail = /^[a-zA-Z0-9+_.-]+@[a-zA-Z0-9.-]+$/;
export const valida...
Arshdeep Singh Khalsa
Votes: 0
Answers: 0
Type error while passing i18next instance to I18nextProvider
Error:
Type 'Promise' is missing the following properties from type 'i18n': t, init, loadResources, use, and 32 more.ts(2740)
index.d.ts(344, 3): The expected type comes from property 'i18n' which is...
Kaan Hakan Akın
Votes: 0
Answers: 1
Load local translations in i18next having no webserver on a static HTML page
I have a plain HTML file with the following javascript written on it:
<script type="text/javascript" type="text/javascript">
function setLang() {
var lang = $('#lang').fi...
ravi
Votes: 0
Answers: 1
How can I use a React context variable when initiating i18next interpolation?
The React app I'm working on is using react-18next. Inside the index.js file, there is a i18n.js file imported into it that configures and initiates i18n.
This includes interpolation configuration whe...
Michael Lynch
Votes: 0
Answers: 1