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

fix: getting translations to load again #2411

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

laurelfulford
Copy link
Contributor

@laurelfulford laurelfulford commented Nov 18, 2024

All Submissions:

Changes proposed in this Pull Request:

Changes to how translations are handled in WordPress 6.7 seem to have caused issues with our theme loading translations. This PR is an attempt to fix it for the near term while we wait for the fix coming in WP 6.7.1.

See: https://core.trac.wordpress.org/ticket/62337

This PR also restores the theme's text domain that got changed here; the text domain is repeated in the PHP so this change didn't do anything, I just fixed it to rule it out.

See 1200550061930446-as-1208760301709694.

How to test the changes in this Pull Request:

  1. Try switching your site to use one of the theme's bundled languages, like Spanish or German.
  2. Navigate to an archive page or single post; note that the byline is not translated.
  3. Apply this PR.
  4. Repeat step 2 and confirm that the byline is now translated.

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully ran tests with your changes locally?

@laurelfulford laurelfulford added the [Status] Needs Review The issue or pull request needs to be reviewed label Nov 18, 2024
@laurelfulford laurelfulford requested a review from a team as a code owner November 18, 2024 20:51
@laurelfulford laurelfulford changed the base branch from trunk to release November 18, 2024 20:51
Copy link
Contributor

@chickenn00dle chickenn00dle left a comment

Choose a reason for hiding this comment

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

Looks to do the trick! Good catch @laurelfulford

@github-actions github-actions bot added [Status] Approved The pull request has been reviewed and is ready to merge and removed [Status] Needs Review The issue or pull request needs to be reviewed labels Nov 19, 2024
@laurelfulford laurelfulford merged commit 110b039 into release Nov 19, 2024
5 checks passed
matticbot pushed a commit that referenced this pull request Nov 19, 2024
## [2.2.1](v2.2.0...v2.2.1) (2024-11-19)

### Bug Fixes

* getting translations to load again ([#2411](#2411)) ([110b039](110b039))
@matticbot
Copy link
Contributor

🎉 This PR is included in version 2.2.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

matticbot pushed a commit that referenced this pull request Nov 19, 2024
# [2.3.0-alpha.2](v2.3.0-alpha.1...v2.3.0-alpha.2) (2024-11-19)

### Bug Fixes

* getting translations to load again ([#2411](#2411)) ([110b039](110b039))
@matticbot
Copy link
Contributor

🎉 This PR is included in version 2.3.0-alpha.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

matticbot pushed a commit that referenced this pull request Nov 20, 2024
# [2.3.0-epic-ras-acc.2](v2.3.0-epic-ras-acc.1...v2.3.0-epic-ras-acc.2) (2024-11-20)

### Bug Fixes

* getting translations to load again ([#2411](#2411)) ([110b039](110b039))
@matticbot
Copy link
Contributor

🎉 This PR is included in version 2.3.0-epic-ras-acc.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released on @alpha released on @epic/ras-acc released [Status] Approved The pull request has been reviewed and is ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants