Skip to content

PRO-8869: [apostrophe-astro] Add html dir attribute#5277

Merged
myovchev merged 1 commit intoPRO-8866-locale-directionfrom
PRO-8869-html-dir
Jan 16, 2026
Merged

PRO-8869: [apostrophe-astro] Add html dir attribute#5277
myovchev merged 1 commit intoPRO-8866-locale-directionfrom
PRO-8869-html-dir

Conversation

@myovchev
Copy link
Copy Markdown
Contributor

Summary

Add html dir attribute for Astro applications.

What are the specific steps to test this change?

The dir attribute is derived by the current locale (ltr if not defined).
Example locale config

he: {
  prefix: '/he'
  label: 'Hebrew',
  direction: 'rtl'
}

The direction configuiration will be automatically applied.

What kind of change does this PR introduce?

(Check at least one)

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Build-related changes
  • Other

Make sure the PR fulfills these requirements:

  • It includes a) the existing issue ID being resolved, b) a convincing reason for adding this feature, or c) a clear description of the bug it resolves
  • The changelog is updated
  • Related documentation has been updated
  • Related tests have been updated

If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.

Other information:

@linear
Copy link
Copy Markdown

linear Bot commented Jan 16, 2026

@myovchev myovchev requested a review from BoDonkey January 16, 2026 14:23
@myovchev myovchev merged commit 84deb47 into PRO-8866-locale-direction Jan 16, 2026
4 checks passed
@myovchev myovchev deleted the PRO-8869-html-dir branch January 16, 2026 17:09
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