Implementation
static String generateEnglishArb() {
return '''
{
"@@locale": "en",
"appTitle": "Demo App",
"@appTitle": {
"description": "The application title"
},
"welcome": "Welcome",
"@welcome": {
"description": "Welcome message"
},
"hello": "Hello",
"@hello": {
"description": "Greeting message"
},
"login": "Login",
"@login": {
"description": "Login button text"
},
"signup": "Sign Up",
"@signup": {
"description": "Sign up button text"
},
"email": "Email",
"@email": {
"description": "Email field label"
},
"password": "Password",
"@password": {
"description": "Password field label"
},
"username": "Username",
"@username": {
"description": "Username field label"
},
"phone": "Phone Number",
"@phone": {
"description": "Phone number field label"
},
"forgotPassword": "Forgot Password?",
"@forgotPassword": {
"description": "Forgot password link text"
},
"home": "Home",
"@home": {
"description": "Home screen title"
},
"profile": "Profile",
"@profile": {
"description": "Profile screen title"
},
"settings": "Settings",
"@settings": {
"description": "Settings screen title"
},
"logout": "Logout",
"@logout": {
"description": "Logout button text"
},
"save": "Save",
"@save": {
"description": "Save button text"
},
"cancel": "Cancel",
"@cancel": {
"description": "Cancel button text"
},
"delete": "Delete",
"@delete": {
"description": "Delete button text"
},
"edit": "Edit",
"@edit": {
"description": "Edit button text"
},
"search": "Search",
"@search": {
"description": "Search field placeholder"
},
"loading": "Loading...",
"@loading": {
"description": "Loading indicator text"
},
"error": "Error",
"@error": {
"description": "Error message title"
},
"success": "Success",
"@success": {
"description": "Success message title"
},
"confirm": "Confirm",
"@confirm": {
"description": "Confirm button text"
},
"yes": "Yes",
"@yes": {
"description": "Yes option"
},
"no": "No",
"@no": {
"description": "No option"
},
"back": "Back",
"@back": {
"description": "Back button text"
},
"next": "Next",
"@next": {
"description": "Next button text"
},
"skip": "Skip",
"@skip": {
"description": "Skip button text"
},
"done": "Done",
"@done": {
"description": "Done button text"
},
"viewAll": "View All",
"@viewAll": {
"description": "View all items link"
},
"noDataFound": "No data found",
"@noDataFound": {
"description": "Empty state message"
},
"chatbot": "AI Assistant",
"@chatbot": {
"description": "Chatbot screen title"
},
"typeMessage": "Type your message...",
"@typeMessage": {
"description": "Chat input placeholder"
},
"thinking": "Thinking...",
"@thinking": {
"description": "AI thinking indicator"
},
"selectLanguage": "Select Language",
"@selectLanguage": {
"description": "Language selection tooltip"
},
"welcomeDeveloper": "Welcome Developer!",
"@welcomeDeveloper": {
"description": "Welcome message for developers"
},
"startCodingMessage": "Start coding your app by customizing this home screen.",
"@startCodingMessage": {
"description": "Instruction message for developers"
},
"photoGallery": "Photo Gallery",
"@photoGallery": {
"description": "Photo gallery section title"
},
"takePhoto": "Take Photo",
"@takePhoto": {
"description": "Take photo button text"
},
"pickImage": "Pick Image",
"@pickImage": {
"description": "Pick image from gallery button text"
},
"viewPhotos": "View Photos ({count})",
"@viewPhotos": {
"description": "View photos button with count",
"placeholders": {
"count": {
"type": "int"
}
}
},
"calling": "Calling",
"@calling": {
"description": "Calling section title"
},
"makeACall": "Make a Call",
"@makeACall": {
"description": "Make a call card title"
},
"quicklyDialNumber": "Quickly dial a phone number",
"@quicklyDialNumber": {
"description": "Make a call card description"
},
"startCall": "Start Call",
"@startCall": {
"description": "Start call button text"
},
"contacts": "Contacts",
"@contacts": {
"description": "Contacts section title"
},
"pickContact": "Pick Contact",
"@pickContact": {
"description": "Pick contact button text"
},
"savedContacts": "Saved ({count})",
"@savedContacts": {
"description": "Saved contacts button with count",
"placeholders": {
"count": {
"type": "int"
}
}
},
"call": "Call",
"@call": {
"description": "Call button text"
},
"copy": "Copy",
"@copy": {
"description": "Copy button text"
},
"aiAssistant": "AI Assistant",
"@aiAssistant": {
"description": "AI Assistant section title"
},
"chatWithAI": "Chat with AI",
"@chatWithAI": {
"description": "Chat with AI card title"
},
"askQuestionsInstant": "Ask questions and get instant answers",
"@askQuestionsInstant": {
"description": "AI assistant description"
},
"photoCapturedSuccess": "Photo captured successfully!",
"@photoCapturedSuccess": {
"description": "Success message after capturing photo"
},
"imageAddedGallery": "Image added from gallery!",
"@imageAddedGallery": {
"description": "Success message after picking image from gallery"
},
"deletePhoto": "Delete Photo",
"@deletePhoto": {
"description": "Delete photo dialog title"
},
"deletePhotoConfirm": "Are you sure you want to delete this photo?",
"@deletePhotoConfirm": {
"description": "Delete photo confirmation message"
},
"photoDeleted": "Photo deleted",
"@photoDeleted": {
"description": "Photo deleted success message"
},
"callError": "Call error: {error}",
"@callError": {
"description": "Call error message",
"placeholders": {
"error": {
"type": "String"
}
}
},
"enterPhoneNumber": "Enter phone number",
"@enterPhoneNumber": {
"description": "Enter phone number dialog title"
},
"phoneNumberHint": "+1 555 123 4567",
"@phoneNumberHint": {
"description": "Phone number hint text"
},
"contactSelected": "Contact selected: {name}",
"@contactSelected": {
"description": "Contact selected success message",
"placeholders": {
"name": {
"type": "String"
}
}
},
"numberCopied": "{number} copied!",
"@numberCopied": {
"description": "Number copied success message",
"placeholders": {
"number": {
"type": "String"
}
}
},
"contactAlreadySaved": "Contact already saved!",
"@contactAlreadySaved": {
"description": "Contact already saved message"
},
"contactSaved": "{name} saved!",
"@contactSaved": {
"description": "Contact saved success message",
"placeholders": {
"name": {
"type": "String"
}
}
},
"savedContactsTitle": "Saved Contacts ({count})",
"@savedContactsTitle": {
"description": "Saved contacts modal title with count",
"placeholders": {
"count": {
"type": "int"
}
}
},
"contactDeleted": "{name} deleted",
"@contactDeleted": {
"description": "Contact deleted message",
"placeholders": {
"name": {
"type": "String"
}
}
},
"errorMessage": "Error: {error}",
"@errorMessage": {
"description": "Generic error message",
"placeholders": {
"error": {
"type": "String"
}
}
},
"photoGalleryTitle": "Photo Gallery ({count})",
"@photoGalleryTitle": {
"description": "Photo gallery modal title with count",
"placeholders": {
"count": {
"type": "int"
}
}
},
"currentLocation": "Current Location",
"@currentLocation": {
"description": "Location section header"
},
"getCurrentGPS": "Get your current GPS coordinates",
"@getCurrentGPS": {
"description": "Prompt to fetch GPS coordinates"
},
"getLocation": "Get Location",
"@getLocation": {
"description": "Get location button text"
},
"latitude": "Latitude",
"@latitude": {
"description": "Latitude label"
},
"longitude": "Longitude",
"@longitude": {
"description": "Longitude label"
},
"altitude": "Altitude",
"@altitude": {
"description": "Altitude label"
},
"accuracy": "Accuracy",
"@accuracy": {
"description": "Accuracy label"
},
"copyCoordinates": "Copy Coordinates",
"@copyCoordinates": {
"description": "Copy coordinates button text"
}
}
''';
}