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

Localize "Read More" link #16665

merged 1 commit into from Jul 22, 2019


Copy link

commented Jul 18, 2019


Translation for the optional "Read More" link was missing

How has this been tested?


Types of changes

Untranslated string has been made translatable using __()


  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.

This comment has been minimized.

Copy link

commented Jul 22, 2019

Looks like it was introduced in #14627.

@swissspidy swissspidy merged commit ac13013 into WordPress:master Jul 22, 2019

1 check passed

Travis CI - Pull Request Build Passed

@github-actions github-actions bot added this to the Gutenberg 6.2 milestone Jul 22, 2019

@them-es them-es deleted the them-es:update/latest-posts branch Jul 23, 2019

sbardian added a commit to sbardian/gutenberg that referenced this pull request Jul 29, 2019


This comment has been minimized.

Copy link
Contributor Author

commented Aug 1, 2019

@swissspidy Thanks for merging this pull request. The "Read More" string gets translated in the WordPress Editor now 👍 (Gutenberg v6.2 with updated translation files) but I noticed that the Frontend still shows the untranslated string from the server side code here:

Can you confirm this behavior? Any clue why the PHP string translation does not work?


This comment has been minimized.

Copy link

commented Aug 1, 2019

@them-es Can you please open a new issue for that? Since the PHP files use the default text domain, WordPress looks for the translation of "Read More" in its own translations. However, WordPress core only uses "Read more" with a lowercase M, so that doesn't work.

There are two possible solutions:

  1. Use "Read more" with lowercase M everywhere.
  2. Update PHP code to add Gutenberg text domain.

Or perhaps just both :-)

@them-es them-es referenced this pull request Aug 1, 2019
1 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.