Skip to content

Commit 35c1af1

Browse files
Merge pull request #4 from codegasms/chat-bot
Chat bot
2 parents 2cb98a5 + f4d1b05 commit 35c1af1

23 files changed

Lines changed: 504 additions & 32 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Generated file.
2+
//
3+
// If you wish to remove Flutter's multidex support, delete this entire file.
4+
//
5+
// Modifications to this file should be done in a copy under a different name
6+
// as this file may be regenerated.
7+
8+
package io.flutter.app;
9+
10+
import android.app.Application;
11+
import android.content.Context;
12+
import androidx.annotation.CallSuper;
13+
import androidx.multidex.MultiDex;
14+
15+
/**
16+
* Extension of {@link android.app.Application}, adding multidex support.
17+
*/
18+
public class FlutterMultiDexApplication extends Application {
19+
@Override
20+
@CallSuper
21+
protected void attachBaseContext(Context base) {
22+
super.attachBaseContext(base);
23+
MultiDex.install(this);
24+
}
25+
}

farmerapp/assets/lang/as.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,8 @@
7878
"user_profile": "ব্যবহারকারী প্রোফাইল",
7979
"general": "সাধারণ",
8080
"other_settings": "অন্যান্য সেটিংস্",
81-
"logout": "প্রস্থান"
81+
"logout": "প্রস্থান",
82+
"chatbot_heading": "এআই দুগ্ধ বিশেষজ্ঞের সাথে চ্যাট করুন",
83+
"chat_disclaimer1": "[দুঃখিত, আমাদের এআই দুগ্ধ বিশেষজ্ঞ কেবল ইংরেজি ভাষা বুঝতে পারেন]",
84+
"chat_disclaimer2": "[আমরা এটিতে কাজ করছি এবং শীঘ্রই পাওয়া যাবে]"
8285
}

farmerapp/assets/lang/bn.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,8 @@
7878
"user_profile": "ব্যবহারকারী প্রোফাইল",
7979
"general": "সাধারণ",
8080
"other_settings": "অন্যান্য সেটিংস্",
81-
"logout": "প্রস্থান"
81+
"logout": "প্রস্থান",
82+
"chatbot_heading": "এআই দুগ্ধ বিশেষজ্ঞের সাথে চ্যাট করুন",
83+
"chat_disclaimer1": "[দুঃখিত, আমাদের এআই দুগ্ধ বিশেষজ্ঞ কেবল ইংরেজি ভাষা বুঝতে পারেন]",
84+
"chat_disclaimer2": "[আমরা এটিতে কাজ করছি এবং শীঘ্রই পাওয়া যাবে]"
8285
}

farmerapp/assets/lang/en.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,8 @@
7878
"user_profile": "User Profile",
7979
"general": "General",
8080
"other_settings": "Other Settings",
81-
"logout": "Log Out"
81+
"logout": "Log Out",
82+
"chatbot_heading": "Chat With AI Dairy Expert",
83+
"chat_disclaimer1": "[ Sorry, Our AI Dairy Expert Understand Only English Language ]",
84+
"chat_disclaimer2": "[ We Are Working On It And Will Be Available Soon ]"
8285
}

farmerapp/assets/lang/google_translate.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ def translate_json(json_file_path, languages):
3434
with open(output_file_path, 'w', encoding='utf-8') as output_file:
3535
json.dump(translated_data, output_file, ensure_ascii=False, indent=2)
3636

37+
print(f'Translations updated for {language}')
38+
3739
return f'Translations updated for {languages}'
3840

3941
# Example usage:

farmerapp/assets/lang/gu.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,8 @@
7878
"user_profile": "વપરાશકર્તા પોશાકો",
7979
"general": "સામાન્ય",
8080
"other_settings": "અન્ય સેટિંગ્સ",
81-
"logout": "લૉગ આઉટ"
81+
"logout": "લૉગ આઉટ",
82+
"chatbot_heading": "એઆઈ ડેરી નિષ્ણાત સાથે ચેટ કરો",
83+
"chat_disclaimer1": "[માફ કરશો, અમારા એઆઈ ડેરી નિષ્ણાત ફક્ત અંગ્રેજી ભાષા સમજે છે]",
84+
"chat_disclaimer2": "[અમે તેના પર કામ કરી રહ્યા છીએ અને ટૂંક સમયમાં ઉપલબ્ધ થઈશું]"
8285
}

farmerapp/assets/lang/hi.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,8 @@
7878
"user_profile": "उपयोगकर्ता रूपरेखा",
7979
"general": "सामान्य",
8080
"other_settings": "अन्य सेटिंग",
81-
"logout": "लॉग आउट"
81+
"logout": "लॉग आउट",
82+
"chatbot_heading": "एआई डेयरी विशेषज्ञ के साथ चैट करें",
83+
"chat_disclaimer1": "[क्षमा करें, हमारे एआई डेयरी विशेषज्ञ केवल अंग्रेजी भाषा को समझते हैं]",
84+
"chat_disclaimer2": "[हम इस पर काम कर रहे हैं और जल्द ही उपलब्ध होंगे]"
8285
}

farmerapp/assets/lang/kn.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,8 @@
7878
"user_profile": "ಬಳಕೆದಾರರ ಪ್ರೊಫೈಲ್",
7979
"general": "ಸಾಮಾನ್ಯ",
8080
"other_settings": "ಇತರ ಸೆಟ್ಟಿಂಗ್‌ಗಳು",
81-
"logout": "ಲಾಗ್ ಔಟ್"
81+
"logout": "ಲಾಗ್ ಔಟ್",
82+
"chatbot_heading": "AI ಡೈರಿ ತಜ್ಞರೊಂದಿಗೆ ಚಾಟ್ ಮಾಡಿ",
83+
"chat_disclaimer1": "[ಕ್ಷಮಿಸಿ, ನಮ್ಮ ಎಐ ಡೈರಿ ತಜ್ಞರು ಇಂಗ್ಲಿಷ್ ಭಾಷೆಯನ್ನು ಮಾತ್ರ ಅರ್ಥಮಾಡಿಕೊಳ್ಳುತ್ತಾರೆ]",
84+
"chat_disclaimer2": "[ನಾವು ಅದರ ಮೇಲೆ ಕೆಲಸ ಮಾಡುತ್ತಿದ್ದೇವೆ ಮತ್ತು ಶೀಘ್ರದಲ್ಲೇ ಲಭ್ಯವಿರುತ್ತೇವೆ]"
8285
}

farmerapp/assets/lang/ml.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,8 @@
7878
"user_profile": "ഉപയോക്തൃ പ്രൊഫൈൽ",
7979
"general": "പൊതുവായ",
8080
"other_settings": "മറ്റ് ക്രമീകരണങ്ങൾ",
81-
"logout": "ലോഗ് out ട്ട് ചെയ്യുക"
81+
"logout": "ലോഗ് out ട്ട് ചെയ്യുക",
82+
"chatbot_heading": "AI ഡയറിയ വിദഗ്ദ്ധനുമായി ചാറ്റുചെയ്യുക",
83+
"chat_disclaimer1": "[ക്ഷമിക്കണം, ഞങ്ങളുടെ AI ക്ഷീരപഥം ഇംഗ്ലീഷ് ഭാഷ മാത്രം മനസ്സിലാക്കുന്നു]",
84+
"chat_disclaimer2": "[ഞങ്ങൾ അതിൽ പ്രവർത്തിക്കുന്നു, ഉടൻ ലഭ്യമാകും]"
8285
}

farmerapp/assets/lang/mr.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,8 @@
7878
"user_profile": "वापरकर्ता प्रोफाइल",
7979
"general": "सामान्य",
8080
"other_settings": "इतर सेटिंग्ज",
81-
"logout": "बाहेर पडणे"
81+
"logout": "बाहेर पडणे",
82+
"chatbot_heading": "एआय डेअरी तज्ञाशी गप्पा मारा",
83+
"chat_disclaimer1": "[क्षमस्व, आमचे एआय डेअरी तज्ञ केवळ इंग्रजी भाषा समजतात]",
84+
"chat_disclaimer2": "[आम्ही त्यावर काम करत आहोत आणि लवकरच उपलब्ध होऊ]"
8285
}

0 commit comments

Comments
 (0)