Localization

 import "package:flutter/material.dart";

import "package:get/get.dart";

class CppsChangeLanguage extends Translations {
@override
Map<String, Map<String, String>> get keys => {
//English Language
"en_Us" : {
"News" : "News",
"Rules" : "Rules",
"Announcement" : "Announcement",
"commity members" : "commity members",
"About us" : "About us",
"contact us" : "contact us",
"school Activity" : "school Activity",
"Business directory" : "Business directory",
"Work" : "Work",
"Good news" : "Good news",
"Photo Gallery" : "Photo Gallery",
"Funeral" : "Funeral",
"Logout" : "Logout"
},

//Gujarati Language
"gu_IN" : {
"News" : "સમાચાર",
"Rules" : "નિયમો",
"Announcement" : "જાહેરાત",
"commity members" : "સમિતિના સભ્યો",
"About us" : "અમારા વિશે",
"contact us" : "અમારો સંપર્ક કરો",
"school Activity" : "શાળા પ્રવૃત્તિ",
"Business directory" : "બિઝનેસ ડિરેક્ટરી",
"Work" : "કામ",
"Good news" : "સારા સમાચાર",
"Photo Gallery" : "સારા સમાચાર",
"Funeral" : "અંતિમ સંસ્કાર",
"Logout" : "લૉગ આઉટ"
},
};
}

Comments

Popular posts from this blog

Pagination with Bloc Pattern in Flutter

Pagination First Practical in Flutter

ExpansionPanel with ExpansionPanelList with Complete Collapse Operation in Flutter