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
- Use tolgee.preload or tolgee.tFlow before calling tolgee.t to ensure translations are loaded.
53
58
54
59
**3. Network Security Issues**
60
+
55
61
- Add a network_security.xml in your res/xml folder (You can reference it in AndroidManifest.xml).
56
62
57
63
**4. Locale Issues**
64
+
58
65
- Use tolgee.changeFlow to monitor locale changes and update your UI accordingly.
59
66
- Call tolgee.preload(this) function for critical screens (e.g., login, onboarding).
60
67
- Verify that your project supports the locale code you're using.
61
68
- Check that translations for the selected locale exist in your Tolgee project.
62
69
- Use a mock or explicit instance for tests/previews.
63
70
64
-
***5. Plurals & Formatting Issues**
71
+
**\*5. Plurals & Formatting Issues**
72
+
65
73
- Make sure plural resources exist both in Android (plurals.xml) and Tolgee Platform.
66
74
- Use the correct formatter (Sprintf vs ICU).
67
75
- Ensure translations in Tolgee Platform match the expected format style.
68
76
69
77
See also: [Android XML format](/platform/formats/android_xml) · [Tolgee Universal ICU placeholders](/platform/translation_process/tolgee_universal_icu_placeholders)
70
78
71
-
72
79
**6. Android Resource Integration Issues**
80
+
73
81
- Check that your Android resources are properly structured - Tolgee is using resources.getResourceEntryName to find key for the resource.
74
82
- Make sure the Tolgee instance has access to the Android application context.
75
83
- Ensure that the TolgeeStorageProviderAndroid is properly initialized with the context and version code which changes with each app update.
76
84
77
85
**7. Multiplatform (KMP) Issues**
86
+
78
87
- Verify that your resource files are correctly set up and all strings present in resources are also in Tolgee Platform.
79
88
- Make sure that you are using the correct resource references.
80
89
81
-
82
90
## Useful links
83
91
84
92
- Installation: [Quickstart](./quickstart.mdx)
85
93
- Usage (Views): [Usage](./usage.mdx)
86
94
- For complete examples of how to use the Tolgee Core module, check out the demo projects:
87
-
Traditional Android Views example - https://github.com/tolgee/tolgee-mobile-kotlin-sdk/tree/master/demo/exampleandroid
95
+
Traditional Android Views example - https://github.com/tolgee/tolgee-mobile-kotlin-sdk/tree/master/demo/exampleandroid
0 commit comments