- Set French as default language with URL '/' (no prefix) - Set English language with URL '/en' - Replace hardcoded language buttons with dynamic links - Fix invalid HTML (remove <a> inside <button>) - Add aria-current attribute for accessibility Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
10 lines
No EOL
172 B
PHP
10 lines
No EOL
172 B
PHP
<?php
|
|
|
|
return [
|
|
'code' => 'fr',
|
|
'default' => true,
|
|
'direction' => 'ltr',
|
|
'locale' => 'fr_FR.UTF-8',
|
|
'name' => 'Français',
|
|
'url' => '/',
|
|
]; |