@umituz/react-native-localization 1.0.0

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.
Files changed (76) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +292 -0
  3. package/lib/domain/repositories/ILocalizationRepository.d.ts +17 -0
  4. package/lib/domain/repositories/ILocalizationRepository.d.ts.map +1 -0
  5. package/lib/domain/repositories/ILocalizationRepository.js +6 -0
  6. package/lib/domain/repositories/ILocalizationRepository.js.map +1 -0
  7. package/lib/index.d.ts +10 -0
  8. package/lib/index.d.ts.map +1 -0
  9. package/lib/index.js +12 -0
  10. package/lib/index.js.map +1 -0
  11. package/lib/infrastructure/components/LocalizationProvider.d.ts +11 -0
  12. package/lib/infrastructure/components/LocalizationProvider.d.ts.map +1 -0
  13. package/lib/infrastructure/components/LocalizationProvider.js +14 -0
  14. package/lib/infrastructure/components/LocalizationProvider.js.map +1 -0
  15. package/lib/infrastructure/config/i18n.d.ts +7 -0
  16. package/lib/infrastructure/config/i18n.d.ts.map +1 -0
  17. package/lib/infrastructure/config/i18n.js +49 -0
  18. package/lib/infrastructure/config/i18n.js.map +1 -0
  19. package/lib/infrastructure/config/languages.d.ts +34 -0
  20. package/lib/infrastructure/config/languages.d.ts.map +1 -0
  21. package/lib/infrastructure/config/languages.js +200 -0
  22. package/lib/infrastructure/config/languages.js.map +1 -0
  23. package/lib/infrastructure/config/languagesData.d.ts +7 -0
  24. package/lib/infrastructure/config/languagesData.d.ts.map +1 -0
  25. package/lib/infrastructure/config/languagesData.js +36 -0
  26. package/lib/infrastructure/config/languagesData.js.map +1 -0
  27. package/lib/infrastructure/locales/en-US/animation.json +30 -0
  28. package/lib/infrastructure/locales/en-US/audio.json +56 -0
  29. package/lib/infrastructure/locales/en-US/datetime.json +140 -0
  30. package/lib/infrastructure/locales/en-US/emoji.json +29 -0
  31. package/lib/infrastructure/locales/en-US/errors.json +43 -0
  32. package/lib/infrastructure/locales/en-US/forms.json +38 -0
  33. package/lib/infrastructure/locales/en-US/general.json +56 -0
  34. package/lib/infrastructure/locales/en-US/icons.json +34 -0
  35. package/lib/infrastructure/locales/en-US/index.d.ts +757 -0
  36. package/lib/infrastructure/locales/en-US/index.d.ts.map +1 -0
  37. package/lib/infrastructure/locales/en-US/index.js +35 -0
  38. package/lib/infrastructure/locales/en-US/index.js.map +1 -0
  39. package/lib/infrastructure/locales/en-US/location.json +49 -0
  40. package/lib/infrastructure/locales/en-US/media.json +49 -0
  41. package/lib/infrastructure/locales/en-US/navigation.json +52 -0
  42. package/lib/infrastructure/locales/en-US/onboarding.json +76 -0
  43. package/lib/infrastructure/locales/en-US/settings.json +65 -0
  44. package/lib/infrastructure/locales/en-US/toast.json +38 -0
  45. package/lib/infrastructure/storage/AsyncStorageWrapper.d.ts +12 -0
  46. package/lib/infrastructure/storage/AsyncStorageWrapper.d.ts.map +1 -0
  47. package/lib/infrastructure/storage/AsyncStorageWrapper.js +29 -0
  48. package/lib/infrastructure/storage/AsyncStorageWrapper.js.map +1 -0
  49. package/lib/infrastructure/storage/LocalizationStore.d.ts +30 -0
  50. package/lib/infrastructure/storage/LocalizationStore.d.ts.map +1 -0
  51. package/lib/infrastructure/storage/LocalizationStore.js +90 -0
  52. package/lib/infrastructure/storage/LocalizationStore.js.map +1 -0
  53. package/package.json +64 -0
  54. package/src/domain/repositories/ILocalizationRepository.ts +18 -0
  55. package/src/index.ts +24 -0
  56. package/src/infrastructure/components/LocalizationProvider.tsx +21 -0
  57. package/src/infrastructure/config/i18n.ts +57 -0
  58. package/src/infrastructure/config/languages.ts +245 -0
  59. package/src/infrastructure/config/languagesData.ts +38 -0
  60. package/src/infrastructure/locales/en-US/animation.json +30 -0
  61. package/src/infrastructure/locales/en-US/audio.json +56 -0
  62. package/src/infrastructure/locales/en-US/datetime.json +140 -0
  63. package/src/infrastructure/locales/en-US/emoji.json +29 -0
  64. package/src/infrastructure/locales/en-US/errors.json +43 -0
  65. package/src/infrastructure/locales/en-US/forms.json +38 -0
  66. package/src/infrastructure/locales/en-US/general.json +56 -0
  67. package/src/infrastructure/locales/en-US/icons.json +34 -0
  68. package/src/infrastructure/locales/en-US/index.ts +36 -0
  69. package/src/infrastructure/locales/en-US/location.json +49 -0
  70. package/src/infrastructure/locales/en-US/media.json +49 -0
  71. package/src/infrastructure/locales/en-US/navigation.json +52 -0
  72. package/src/infrastructure/locales/en-US/onboarding.json +76 -0
  73. package/src/infrastructure/locales/en-US/settings.json +65 -0
  74. package/src/infrastructure/locales/en-US/toast.json +38 -0
  75. package/src/infrastructure/storage/AsyncStorageWrapper.ts +30 -0
  76. package/src/infrastructure/storage/LocalizationStore.ts +118 -0
@@ -0,0 +1,34 @@
1
+ {
2
+ "libraries": {
3
+ "lucide": "Lucide Icons",
4
+ "material": "Material Design",
5
+ "fontawesome": "FontAwesome",
6
+ "ionicons": "Ionicons"
7
+ },
8
+ "categories": {
9
+ "all": "All Icons",
10
+ "navigation": "Navigation",
11
+ "action": "Action",
12
+ "social": "Social",
13
+ "communication": "Communication",
14
+ "media": "Media",
15
+ "business": "Business",
16
+ "weather": "Weather",
17
+ "symbols": "Symbols",
18
+ "emoji": "Emoji"
19
+ },
20
+ "picker": {
21
+ "title": "Select Icon",
22
+ "search": "Search icons...",
23
+ "searchPlaceholder": "Search",
24
+ "noResults": "No icons found",
25
+ "selected": "Selected",
26
+ "selectLibrary": "Select Library",
27
+ "selectCategory": "Select Category"
28
+ },
29
+ "actions": {
30
+ "select": "Select",
31
+ "cancel": "Cancel",
32
+ "clear": "Clear Selection"
33
+ }
34
+ }