I recently initiated a new react-native project, but I seem to be encountering an issue with my react-i18next translations. Despite having the keys correctly set up, I am unable to view the translations.
Furthermore, I have noticed that my components are being loaded before my layout.tsx file.
Your assistance regarding this matter would be greatly appreciated.
Below is a snippet from my package.json file:
{
(...)
"dependencies": {
// List of dependencies
}
}
Here is a glance at my i18n configuration file:
// Code snippet for i18n config file
The JSON containing translations looks like this:
{
// Translations in JSON format
}
My implementation can be seen below:
// Code implementation details
Edit:
An example showcasing functional code:
// Functional code example