* Default AI content language to Ukrainian * Keep English as the default content language * refactor: update content language handling in workspace creation - Changed the default content language in CreateWorkspace to inherit the app's locale instead of defaulting to English. - Updated related tests to reflect this change, ensuring that the content language aligns with the application's current locale settings. - Cleaned up unnecessary code in the BrandTab component for better readability. * Add Ukrainian as a full platform UI locale. Wire uk into languages config with complete lang/uk translations and restore ContentLanguage↔UI parity checks. Co-authored-by: Cursor <cursoragent@cursor.com> * Wire Ukrainian into dayjs and locale coverage tests. Import the uk dayjs locale with Monday week-start and cover uk/uk-UA in brand autofill and SetLocale assertions. Co-authored-by: Cursor <cursoragent@cursor.com> * Harden Ukrainian UI and AI content-language coverage. Cover generator/reviewer/humanizer/image prompts, workspace pickers, persona labels, UI locale switch, and README for uk as a first-class platform language. Co-authored-by: Cursor <cursoragent@cursor.com> * Add Ukrainian Pinterest form strings after main merge. Restore lang/uk posts.php key parity for the new pin title and destination link fields. Co-authored-by: Cursor <cursoragent@cursor.com> * List every supported UI language in the README. Replace the abbreviated multi-language blurb with the full locale set from config. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Paulo Castellano <paulo@castellanos.llc> Co-authored-by: Cursor <cursoragent@cursor.com>
48 lines
1.3 KiB
PHP
48 lines
1.3 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Available Languages
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| List of languages available in the application. Each entry maps a locale
|
|
| code to a display name. Add or remove entries here to control which
|
|
| languages appear in the language switcher and are accepted by the API.
|
|
|
|
|
*/
|
|
|
|
'available' => [
|
|
'en' => 'English',
|
|
'uk' => 'Українська',
|
|
'es' => 'Español',
|
|
'pt-BR' => 'Português',
|
|
'fr' => 'Français',
|
|
'de' => 'Deutsch',
|
|
'it' => 'Italiano',
|
|
'nl' => 'Nederlands',
|
|
'pl' => 'Polski',
|
|
'el' => 'Ελληνικά',
|
|
'ja' => '日本語',
|
|
'ko' => '한국어',
|
|
'zh' => '中文',
|
|
'ru' => 'Русский',
|
|
'tr' => 'Türkçe',
|
|
'ar' => 'العربية',
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Default Language
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The default locale code assigned to new users.
|
|
|
|
|
*/
|
|
|
|
'default' => 'en',
|
|
|
|
];
|