Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set i18n.direction to rtl for languages DR, PA-UR, PS #1954

Merged
merged 1 commit into from
Dec 24, 2020

Conversation

bilbof
Copy link
Contributor

@bilbof bilbof commented Dec 24, 2020

Corresponding ticket: https://govuk.zendesk.com/agent/tickets/4398151.

These languages are right-to-left (RTL) in Whitehall, but not in this frontend app:
https://github.com/alphagov/whitehall/blob/bcda05ec43d87b3bec1541e644c1373bafa2a3e8/config/locales/ps.yml#L315-L316

This will ensure pages such as this one are rendered correctly:
https://www.gov.uk/guidance/coronavirus-covid-19-taxis-and-phvs.ps

How the page should look (with different language with correct cofig):
https://www.gov.uk/guidance/coronavirus-covid-19-taxis-and-phvs.ar

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Corresponding ticket: https://govuk.zendesk.com/agent/tickets/4398151.

These languages are right-to-left (RTL) in Whitehall, but not in this
frontend app:
https://github.com/alphagov/whitehall/blob/bcda05ec43d87b3bec1541e644c1373bafa2a3e8/config/locales/ps.yml#L315-L316

This will ensure pages such as this one are rendered correctly:
https://www.gov.uk/guidance/coronavirus-covid-19-taxis-and-phvs.ps

How the page should look (with different language with correct cofig):
https://www.gov.uk/guidance/coronavirus-covid-19-taxis-and-phvs.ar
@bevanloon bevanloon temporarily deployed to government-f-bilbof-fix-398wu6 December 24, 2020 11:15 Inactive
Copy link
Contributor

@karlbaker02 karlbaker02 left a comment

Choose a reason for hiding this comment

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

💯 Looks good!

@bilbof bilbof merged commit 43e859a into master Dec 24, 2020
@bilbof bilbof deleted the bilbof/fix-rtl-text-direction branch December 24, 2020 12:00
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.

3 participants