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

Filename and locale don't match in news_article example #2900

Open
ChrisBAshton opened this issue Oct 1, 2024 · 0 comments
Open

Filename and locale don't match in news_article example #2900

ChrisBAshton opened this issue Oct 1, 2024 · 0 comments

Comments

@ChrisBAshton
Copy link
Contributor

See https://github.com/alphagov/publishing-api/blob/main/content_schemas/examples/news_article/frontend/news_article_news_story_translated_arabic.json#L6

Filename: news_article_news_story_translated_arabic.json
Locale: ur

ur is Urdu, not Arabic. Either the filename should be updated to news_article_news_story_translated_urdu.json(along with the equivalent tests in places like government-frontend), or the locale and file contents should be updated.

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

No branches or pull requests

1 participant