Skip to content

Add Ukrainian as a supported platform language - #219

Merged
paulocastellano merged 11 commits into
trypostit:mainfrom
axies20:agent/default-ai-content-language-ukrainian
Aug 5, 2026
Merged

Add Ukrainian as a supported platform language#219
paulocastellano merged 11 commits into
trypostit:mainfrom
axies20:agent/default-ai-content-language-ukrainian

Conversation

@axies20

@axies20 axies20 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

What changed

  • add Ukrainian (uk) as a supported content language and full UI locale
  • ship complete lang/uk translations with key parity against English
  • keep English as the default content language and workspace creation fallback (inherits app locale when unset)
  • wire dayjs uk locale (Monday week start) for calendars/relative dates
  • cover enum options, delete-copy markers, brand language normalization (uk/uk-UA), and SetLocale ltr behavior

Why

Ukrainian was missing from both the AI content-language list and the platform UI language switcher. This adds it as a first-class locale without changing defaults for existing workspaces.

Validation

  • php artisan test --compact for LocalizationParity, DeleteAccountCopy, ContentLanguage, PostContentGenerator, BrandAnalyzer, CreateWorkspace, AutofillBrand (language normalization), and SetLocale
  • Pint on dirty PHP files

@axies20
axies20 marked this pull request as ready for review July 31, 2026 17:33

@paulocastellano paulocastellano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm open to add Ukrainian language, but you need review that, keep default language as app / english.

Comment thread app/Actions/Workspace/CreateWorkspace.php Outdated
Comment thread app/Enums/Workspace/ContentLanguage.php Outdated
Comment thread resources/js/components/settings/BrandTab.vue Outdated
Comment thread resources/js/pages/workspaces/Create.vue Outdated
Comment thread tests/Unit/Enums/Workspace/ContentLanguageTest.php Outdated
@axies20
axies20 requested a review from paulocastellano August 2, 2026 16:35
axies20 and others added 4 commits August 3, 2026 20:43
- 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.
Wire uk into languages config with complete lang/uk translations and restore ContentLanguage↔UI parity checks.

Co-authored-by: Cursor <cursoragent@cursor.com>
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>
@paulocastellano paulocastellano changed the title Default AI content language to Ukrainian Add Ukrainian as a supported platform language Aug 5, 2026
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>
paulocastellano and others added 3 commits August 5, 2026 18:35
Restore lang/uk posts.php key parity for the new pin title and destination link fields.

Co-authored-by: Cursor <cursoragent@cursor.com>
Replace the abbreviated multi-language blurb with the full locale set from config.

Co-authored-by: Cursor <cursoragent@cursor.com>
@paulocastellano

Copy link
Copy Markdown
Contributor

@axies20 i have improved your PR to added Ukrain as language for platform too.

@paulocastellano
paulocastellano merged commit 3baf2e9 into trypostit:main Aug 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants