## Complete Multi-language System & Navigation Enhancement
### Features Added: - **Multi-language Support**: Dutch/English with URL-based switching (?lang=nl|en) - **Theme Customization**: Configurable header/navigation colors via config.json - **Navigation Improvements**: Active states, dropdown chevron icons, visual distinction - **Mobile Responsive**: Separate desktop/mobile search layouts - **Template System**: Fixed rendering pipeline for all partials ### Technical Fixes: - Fixed language file path (engine/lang/ vs engine/core/class/../lang/) - Added template data rendering to layout template - Implemented navigation active state for default/home page - Added chevron icons to dropdown folders for visual distinction - Removed hardcoded navigation opacity class for theme colors ### Files Modified: - config.json: Added theme and language configuration - engine/core/class/CodePressCMS.php: Multi-language and navigation logic - engine/templates/: Enhanced header, footer, navigation, layout - engine/lang/: Dutch and English translation files - public/assets/css/mobile.css: Mobile responsive fixes ### Result: Fully functional multi-language CMS with proper navigation states and theme customization.
This commit is contained in:
26
engine/lang/en.php
Normal file
26
engine/lang/en.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
return [
|
||||
'site_title' => 'CodePress',
|
||||
'home' => 'Home',
|
||||
'search' => 'Search',
|
||||
'search_placeholder' => 'Search...',
|
||||
'search_button' => 'Search',
|
||||
'welcome' => 'Welcome',
|
||||
'created' => 'Created',
|
||||
'modified' => 'Modified',
|
||||
'author' => 'Author',
|
||||
'manual' => 'Manual',
|
||||
'no_content' => 'No content found',
|
||||
'no_results' => 'No results found',
|
||||
'results_found' => 'results found',
|
||||
'breadcrumb_home' => 'Home',
|
||||
'file_details' => 'File details',
|
||||
'guide' => 'Guide',
|
||||
'powered_by' => 'Powered by',
|
||||
't_powered_by' => 'Powered by',
|
||||
'directory_empty' => 'This directory is empty',
|
||||
'page_not_found' => 'Page Not Found',
|
||||
'page_not_found_text' => 'The page you are looking for does not exist.',
|
||||
'mappen' => 'Folders',
|
||||
'paginas' => 'Pages'
|
||||
];
|
||||
Reference in New Issue
Block a user