Configure multilingual support
- Add French language configuration (default) - Add English language configuration - Enable IntlDateFormatter for date localization (date.handler: intl) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
fe9d02ffc7
commit
73099b53d9
3 changed files with 18 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
return [
|
||||
'debug' => true,
|
||||
'locale' => 'fr_FR.UTF-8',
|
||||
'languages' => true,
|
||||
'date.handler' => 'intl',
|
||||
'thumbs' => [
|
||||
'quality' => 80,
|
||||
|
|
|
|||
8
site/languages/en.php
Normal file
8
site/languages/en.php
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
return [
|
||||
'code' => 'en',
|
||||
'default' => false,
|
||||
'direction' => 'ltr',
|
||||
'locale' => 'en_US.UTF-8',
|
||||
'name' => 'English',
|
||||
];
|
||||
9
site/languages/fr.php
Normal file
9
site/languages/fr.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'code' => 'fr',
|
||||
'default' => true,
|
||||
'direction' => 'ltr',
|
||||
'locale' => 'fr_FR.UTF-8',
|
||||
'name' => 'Français',
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue