Make WordPress Core

Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#64339 closed defect (bug) (invalid)

Command palette action names are not localized

Reported by: nilovelez's profile nilovelez Owned by:
Milestone: Priority: normal
Severity: minor Version: 6.9
Component: Administration Keywords: close
Focuses: Cc:

Description

The command name "Go to:" in the command palette is not translatable, so it always is shown in English.

Attachments (3)

command palette.png (41.8 KB) - added by nilovelez 6 months ago.
Command palette from a Spanish WordPress installation
Screenshot 2025-12-03 at 3.58.17 PM.png (244.8 KB) - added by hbhalodia 6 months ago.
Command Pallete in Hindi
es_ES-translation-json.png (223.4 KB) - added by wildworks 6 months ago.
Spanish translation file. There should be the correct translation string in the file.

Download all attachments as: .zip

Change History (15)

@nilovelez
6 months ago

Command palette from a Spanish WordPress installation

#1 @wildworks
6 months ago

Thanks for the report.

As you can see from this line, this string should definitely be translatable. At least it's translated correctly in the Japanese locale.

Can you access Dashboard > Updates and check if there are any translations available to update?

#2 @nilovelez
6 months ago

I have just updated to 6.9 using the es_ES language pack and I see no translation updates when I force check updates.

Those strings appear to be translatable indeed:
https://translate.wordpress.org/projects/wp/dev/es/default/?filters%5Bterm%5D=go+to&filters%5Bterm_scope%5D=scope_any&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filters%5Buser_login%5D=&filter=Apply+Filters&sort%5Bby%5D=priority&sort%5Bhow%5D=desc

But I still see them as "Go to: " instead of "Ir a: "

#3 @hbhalodia
6 months ago

Hi @nilovelez @wildworks, I can still reproduce the issue. I have updated the translations as well from Dashboard --> Update, I still see Go To: in English instead of Hindi. See the screenshot attached.

#4 @nilovelez
6 months ago

Oh, this is interesting, I can launch the command by typing "ir a" (Spanish translation), but it shows as "Go to" in the dropdown

https://nilovelez.tinytake.com/media/17e38d5?filename=1764757721500_TinyTake03-12-2025-11-26-59.png&sub_type=thumbnail_preview&type=attachment&width=444&height=460

@hbhalodia
6 months ago

Command Pallete in Hindi

#6 @wildworks
6 months ago

At least, I couldn't reproduce the problem in Playground: https://playground.wordpress.net/?php=8.3&wp=6.9&language=es_ES

Could you please tell me the following?

  • What kind of environment are you using? Is it a local site or a public site?
  • Do you have access to the wp-content/languages directory? If so, are there multiple es_ES-{hash}.json files?

@wildworks
6 months ago

Spanish translation file. There should be the correct translation string in the file.

#7 @wildworks
6 months ago

Oh I see this are not translated yet in Hindi for 6.9. I would be adding the translations for the same.

Yes, please make sure to also check that the strings are translated correctly in the locales you are testing.

#8 @swissspidy
6 months ago

  • Keywords close added

Can't reproduce this in either de_DE or es_ES, so it sounds like an incomplete translation on your side.

#9 @nilovelez
6 months ago

  • Keywords close removed

It doesn't look that's the case. All core branches translations are 100% in es_ES

#10 @nilovelez
6 months ago

  • Keywords close added
  • Resolution set to invalid
  • Status changed from new to closed

I have just checked it using Playground and the translation is ok:
https://playground.wordpress.net/?php=8.3&wp=6.9&networking=yes&language=es_ES&multisite=no&random=6w8il1o5856

Maybe the language pack is not up to date

#11 @wildworks
6 months ago

Maybe the language pack is not up to date

I feel this is highly likely

#12 @swissspidy
6 months ago

  • Milestone Awaiting Review deleted

Removing milestone from closed ticket.

Note: See TracTickets for help on using tickets.