@umituz/react-native-localization 3.5.22 → 3.5.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-localization",
3
- "version": "3.5.22",
3
+ "version": "3.5.24",
4
4
  "description": "Generic localization system for React Native apps with i18n support",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -25,22 +25,20 @@
25
25
  "url": "https://github.com/umituz/react-native-localization"
26
26
  },
27
27
  "peerDependencies": {
28
- "@react-native-async-storage/async-storage": ">=1.0.0",
29
- "expo-localization": ">=15.0.0",
28
+ "@react-native-async-storage/async-storage": ">=2.0.0",
29
+ "expo-localization": ">=16.0.0",
30
30
  "i18next": ">=23.0.0",
31
31
  "react": ">=18.2.0",
32
- "react-i18next": ">=14.0.0",
33
- "react-native": ">=0.74.0",
34
- "zustand": ">=4.0.0"
32
+ "react-i18next": ">=15.0.0",
33
+ "react-native": ">=0.74.0"
35
34
  },
36
35
  "devDependencies": {
37
- "@react-native-async-storage/async-storage": "^2.1.0",
38
- "expo-localization": "^16.0.0",
39
- "i18next": "^23.7.16",
40
- "react-i18next": "^14.0.0",
41
- "zustand": "^4.4.7",
36
+ "@react-native-async-storage/async-storage": "~2.1.2",
37
+ "expo-localization": "~16.0.1",
38
+ "i18next": "^24.2.0",
42
39
  "@types/react": "~19.1.10",
43
40
  "react": "19.1.0",
41
+ "react-i18next": "^15.2.0",
44
42
  "react-native": "0.81.5",
45
43
  "typescript": "~5.9.2"
46
44
  },
@@ -35,9 +35,6 @@ export const useTranslationFunction = () => {
35
35
  : defaultValueOrOptions || {};
36
36
 
37
37
  if (!ready || !i18n.isInitialized) {
38
- if (__DEV__) {
39
- console.log(`[i18n] ⏳ Not ready - Key: "${key}" → Fallback: "${options.defaultValue || key}"`);
40
- }
41
38
  return options.defaultValue || key;
42
39
  }
43
40