Skip to content

Related Posts: Account language switch is not affecting the "Related Posts" string (translation/localization) #58442

Open

Description

Quick summary

When a user saved their "Related Posts" setting in a certain language (language A) then saved Interface Language from Accounts page to another language (language B), the string "Related posts" is not automatically translated.

Steps to reproduce

  1. Open test site. Then go to Settings > Reading: .../wp-admin/options-reading.php. On this scenario, lets use English language as the Interface language.

  2. Note that the "Related Posts" title has the word "Related" in English as expected.

Screenshot 2021-11-24 at 2 43 12 PM

  1. Now, go to Account Settings page: https://wordpress.com/me/account

  2. Change the interface language to another language. For this example, I'm using Indonesian language (Bahasa Indonesia). Make sure the changes are saved and the dashboard is using the new language we just set.

  3. Go back to Settings > Reading. Everything should be displayed in Indonesian ("Terkait" means "Related").

Screenshot 2021-11-24 at 2 47 09 PM

  1. Now, do some changes, or do nothing -- then save the changes (click the Save button on the bottom of the page.)

  2. Check the live site. It should have the "Related Posts" in the selected language.

  3. Then, go back to Account Settings page: https://wordpress.com/me/account -- and switch the language back to English.

  4. Make sure the dashboard and the interface is back to English.

  5. Check the live site. It's still using the non-ENG language (on my end, it's still using Indonesian language) on the string "Related" even though the interface language on the Account Settings page has changed and the string is back to "Related" on Settings > Reading field.

What you expected to happen

I expect to see the "Related" string to be automatically changed/translated as soon as the language on interface language (Account Settings) changed.

What actually happened

The string "Related" is still unchanged/it's still using the previous language

Context

Customer report and personal test

Operating System

No response

Browser

Google Chrome/Chromium

Simple, Atomic or both?

Simple

Theme-specific issue?

No response

Other notes

No response

Reproducibility

Consistent

Severity

All

Available workarounds?

Yes, easy to implement

Workaround details

The workaround is simple. After we changed the language in Account Settings, go back to Settings > Reading, find the "Related Posts" field, and click the "Save Changes" button. It should "force" the translation on the Related Posts field to stick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions