diff --git a/app/Controllers/Controller.php b/app/Controllers/Controller.php index d8a566b..e870cbb 100644 --- a/app/Controllers/Controller.php +++ b/app/Controllers/Controller.php @@ -25,7 +25,7 @@ abstract class Controller } // Automatically inject current language, translation array, and authenticated user - $lang = $this->session->get('lang', 'en'); + $lang = 'ar'; $langFile = __DIR__ . "/../../resources/lang/{$lang}.php"; $t = file_exists($langFile) ? require $langFile : []; $user = \App\Core\App::$app->request->routeParam('_authenticated_user'); diff --git a/resources/lang/en.php b/resources/lang/en.php deleted file mode 100644 index d8a0ee5..0000000 --- a/resources/lang/en.php +++ /dev/null @@ -1,95 +0,0 @@ - 'Dashboard', - 'organizations' => 'Organizations', - 'contacts' => 'Contacts', - 'opportunities' => 'Opportunities', - 'sources' => 'Data Sources', - 'settings' => 'Settings', - 'logout' => 'Logout', - 'welcome' => 'Welcome', - 'add' => 'Add', - 'edit' => 'Edit', - 'delete' => 'Delete', - 'save' => 'Save', - 'cancel' => 'Cancel', - 'search' => 'Search', - 'filter' => 'Filter', - 'name' => 'Name', - 'type' => 'Type', - 'status' => 'Status', - 'country' => 'Country', - 'city' => 'City', - 'url' => 'URL', - 'description' => 'Description', - 'score' => 'Score', - 'created' => 'Created', - 'updated' => 'Updated', - 'actions' => 'Actions', - 'no_data' => 'No data', - 'total_organizations' => 'Total Organizations', - 'total_opportunities' => 'Total Opportunities', - 'total_contacts' => 'Total Contacts', - 'active_sources' => 'Active Sources', - 'today_opportunities' => "Today's Opportunities", - 'vc_funds' => 'VC Funds', - 'accelerators' => 'Accelerators', - 'recent_opportunities' => 'Recent Opportunities', - 'recent_activities' => 'Recent Activities', - 'view_all' => 'View All', - 'run_collector' => 'Run Collector', - 'last_collected' => 'Last Collected', - 'platform_mode' => 'Platform Mode', - 'local' => 'Local', - 'production' => 'Production', - 'email' => 'Email', - 'phone' => 'Phone', - 'position' => 'Position', - 'notes' => 'Notes', - 'interactions' => 'Interactions', - 'add_interaction' => 'Add Interaction', - 'log_interaction' => 'Log Interaction', - 'call' => 'Call', - 'meeting' => 'Meeting', - 'applications' => 'Applications', - 'tags' => 'Tags', - 'deadline' => 'Deadline', - 'amount' => 'Amount', - 'funding_stage' => 'Funding Stage', - 'crm_status' => 'CRM Status', - 'domain' => 'Domain', - 'website' => 'Website', - 'run' => 'Run', - 'save_source' => 'Save Source', - 'add_source' => 'Add Source', - 'telegram_notifications' => 'Telegram Notifications', - 'telegram_bot_token' => 'Bot Token', - 'telegram_chat_id' => 'Chat ID', - 'telegram_enabled' => 'Enable Notifications', - 'test_notification' => 'Send Test', - 'language' => 'Language', - 'arabic' => 'العربية', - 'english' => 'English', - 'title' => 'Title', - 'grant' => 'Grants', - 'competition' => 'Competitions', - 'demo_day' => 'Demo Days', - 'event' => 'Events', - 'partnership' => 'Partnerships', - 'investment' => 'Investments', - 'other' => 'Other', - 'ingested_opportunities' => 'Ingested Opportunities', - 'interactions_logged' => 'Interactions Logged', - 'today_contacts' => 'Contacts Added Today', - 'today_orgs' => 'new organizations', - 'telegram_chat_id_hint' => 'Note: If sending to a Telegram channel or group, you must add the bot as an Administrator with message post permissions.', - 'recent_activities' => 'Recent Activities', - 'recent_opportunities' => 'Recent Opportunities', - 'platform_intro_title' => 'ScoutIQ - AI-Powered Investor Intelligence', - 'platform_intro_desc' => 'ScoutIQ is an automated intelligence platform designed to discover, track, and score early-stage startups, venture capital funds, and accelerators. The system collects data from feeds, analyzes them using Gemini AI, and updates your CRM pipeline.', - 'desc_organizations' => 'Track VC funds, accelerator cohorts, and angel investor profiles with deep metadata.', - 'desc_opportunities' => 'AI-discovered investment programs, funding grants, competitions, and startup events.', - 'desc_crm' => 'Manage contact profiles, schedule meetings, log email interactions, and track deals.', - 'desc_sources' => 'Configure RSS and API feeds to automatically scan ecosystems for early signals.', -]; \ No newline at end of file diff --git a/resources/views/auth/login.php b/resources/views/auth/login.php index 2605fe7..24842af 100644 --- a/resources/views/auth/login.php +++ b/resources/views/auth/login.php @@ -1,19 +1,19 @@

ScoutIQ

-

AI-powered Investor Intelligence

+

الاستكشاف الذكي للمستثمرين بالذكاء الاصطناعي

session->getFlash('error')): ?>
- + escape($flashError) ?>
session->getFlash('success')): ?>
- + escape($flashSuccess) ?>
@@ -22,19 +22,19 @@
- +
- +
- +
- Don't have an account? Sign Up + ليس لديك حساب؟ إنشاء حساب
diff --git a/resources/views/auth/register.php b/resources/views/auth/register.php index f037edb..3b074e7 100644 --- a/resources/views/auth/register.php +++ b/resources/views/auth/register.php @@ -1,12 +1,12 @@
-

Create Account

-

Join ScoutIQ Investor Platform

+

إنشاء حساب

+

انضم إلى منصة استخبارات المستثمرين ScoutIQ

session->getFlash('error')): ?>
- + escape($flashError) ?>
@@ -15,24 +15,24 @@
- +
- +
- +
- +
- Already have an account? Sign In + لديك حساب بالفعل؟ تسجيل الدخول
diff --git a/resources/views/layouts/admin.php b/resources/views/layouts/admin.php index d4b495c..981a2ca 100644 --- a/resources/views/layouts/admin.php +++ b/resources/views/layouts/admin.php @@ -86,13 +86,6 @@