generateArbFile static method
Implementation
static String generateArbFile(String languageCode) {
final translations = _getTranslations(languageCode);
return '''
{
"@@locale": "$languageCode",
"appTitle": "${translations['appTitle']}",
"welcome": "${translations['welcome']}",
"hello": "${translations['hello']}",
"login": "${translations['login']}",
"signup": "${translations['signup']}",
"email": "${translations['email']}",
"password": "${translations['password']}",
"username": "${translations['username']}",
"phone": "${translations['phone']}",
"forgotPassword": "${translations['forgotPassword']}",
"home": "${translations['home']}",
"profile": "${translations['profile']}",
"settings": "${translations['settings']}",
"logout": "${translations['logout']}",
"save": "${translations['save']}",
"cancel": "${translations['cancel']}",
"delete": "${translations['delete']}",
"edit": "${translations['edit']}",
"search": "${translations['search']}",
"loading": "${translations['loading']}",
"error": "${translations['error']}",
"success": "${translations['success']}",
"confirm": "${translations['confirm']}",
"yes": "${translations['yes']}",
"no": "${translations['no']}",
"back": "${translations['back']}",
"next": "${translations['next']}",
"skip": "${translations['skip']}",
"done": "${translations['done']}",
"viewAll": "${translations['viewAll']}",
"noDataFound": "${translations['noDataFound']}",
"chatbot": "${translations['chatbot']}",
"typeMessage": "${translations['typeMessage']}",
"thinking": "${translations['thinking']}"
}
''';
}