All the strings are hard coded in the app. That should not be the case for example
the file set_child_page has a show alert dialog in the submit method
await showAlertDialog(context,
title: 'No Such file in Database',
content: 'ERROR OCCURED COULD NOT MOVE TO THE NEXT PAGE',
defaultActionText: 'OK');
print('ERROR OCCURED COULD NOT MOVE TO THE NEXT PAGE');
All strings in app should be properly translated in the supported language based on the user app locale. Make sure no hard coded string is available in app.
Go to the corresponding files in the project.in i18n arb and add translations for English, French ,Spanish, German , Turkish.
For instance in the english file
{
"@@locale": "en",
"welcome": "Welcome",
"changeTheSettingsHere": "change the settings here",
"addNewChildHere": "Add a new child here ",
"operationFailed": "Operation failed",
"enterThisCode": "Enter this code on the child's device",
"longPressToCopyOrDoubleTapToShare": "Long press to copy or double tap to share",
"enterThisCodeOnChildDevice": "Enter this code on child's device: ",
"sendNotificationToYourChildDevice": "Send notifications to your Child's device",
"copyText" : "Code Copied!"
"newText" : "NewText" // <- add the text here...
}