You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As with all modules you can either pass the constructor function (class) to the i18next.use or a concrete instance.
42
+
As with all modules you can either pass the constructor function (class) to the `i18next.use` or to a concrete instance.
43
43
44
44
[`supportedLngs`](https://www.i18next.com/overview/configuration-options#languages-namespaces-resources) is optional, but allows i18next to pick the best match from the list of detected languages. If it's not set then [`language`](https://www.i18next.com/overview/api#language) will be set to the first detected language, regardless of whether your application has translations for that language or not.
45
45
@@ -63,7 +63,7 @@ As with all modules you can either pass the constructor function (class) to the
63
63
caches: ['localStorage', 'cookie'],
64
64
excludeCacheFor: ['cimode'], // languages to not persist (cookie, localStorage)
65
65
66
-
// optional expire and domain for set cookie
66
+
// optional expiry and domain for set cookie
67
67
cookieMinutes:10,
68
68
cookieDomain:'myDomain',
69
69
@@ -73,7 +73,7 @@ As with all modules you can either pass the constructor function (class) to the
73
73
// optional set cookie options, reference:[MDN Set-Cookie docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie)
74
74
cookieOptions: { path:'/', sameSite:'strict' },
75
75
76
-
// optional conversion function to use to modify the detected language code
76
+
// optional conversion function used to modify the detected language code
0 commit comments