Make WordPress Core

Opened 6 months ago

Closed 6 months ago

#62563 closed defect (bug) (invalid)

In the French version, "Enregistrer le brouillon" Changes to "Save Draft" During Click Animation

Reported by: danielandsebastian's profile danielandsebastian Owned by:
Milestone: Priority: normal
Severity: trivial Version: 6.7.1
Component: Editor Keywords: has-screenshots needs-patch close
Focuses: ui Cc:

Description

When using the French language in WordPress, the button labeled "Enregistrer le brouillon" momentarily changes to "Save Draft" during the click animation. This behavior creates inconsistency in the UI and could confuse non-English-speaking users.

Attachments (3)

Screen Recording 2024-11-25 at 1.04.18 PM.mov (718.6 KB) - added by yogeshbhutkar 6 months ago.
Attempt to reproduce the mentioned issue.
Capture vidéo du 2024-11-25 12-32-53.webm (156.2 KB) - added by danielandsebastian 6 months ago.
Button French language text changing to english when clicked
Capture vidéo du 2024-11-25 12-38-55.webm (733.8 KB) - added by danielandsebastian 6 months ago.
Another screen capture showing the button changing its language to enlgish during the animation

Download all attachments as: .zip

Change History (14)

@yogeshbhutkar
6 months ago

Attempt to reproduce the mentioned issue.

#1 @yogeshbhutkar
6 months ago

Hi @danielandsebastian,

Welcome to Trac, and thank you for raising this ticket.

I attempted to reproduce the issue, but it seems that the translations for "Save Draft" under the click animation are functioning as expected. Please let me know if I might have overlooked something.

I've attached a video demonstrating the attempt made to reproduce the issue.

Additionally, could you try clearing your browser cache and checking if the issue persists? Occasionally, such issues can be caused by cached data in the browser.

Tested on WordPress Version 6.7.1.

#2 @sainathpoojary
6 months ago

Reproduction Report

Description

This report validates whether the issue can be reproduced.

Environment

  • WordPress: 6.7.1
  • PHP: 8.1.29
  • Server: nginx/1.16.0
  • Database: mysqli (Server: 8.0.16 / Client: mysqlnd 8.1.29)
  • Browser: Chrome 131.0.0.0
  • OS: macOS
  • Theme: Twenty Twenty-Five 1.0
  • MU Plugins: None activated
  • Plugins: Test Reports 1.2.0

Actual Results

  1. ❌ Error condition didn't occurs in Editor page

Additional Notes

Thank you for raising this ticket @danielandsebastian and bringing the issue to our attention.

I also tested the bug but was unable to reproduce it. If the issue still persists, could you please provide detailed steps to reproduce it or share a video as a reference? This will help us investigate further and address the problem effectively.

Supplemental Artifacts

Video: https://utfs.io/f/PL8E4NiPUWyO020XF5rm4XQraiwSMvRu9VZ1yNCOA2kz8EBx

#3 @yogeshbhutkar
6 months ago

  • Keywords reporter-feedback added

@danielandsebastian
6 months ago

Button French language text changing to english when clicked

#4 @danielandsebastian
6 months ago

To assist in tracking and resolving the problem, I have recorded and uploaded a video demonstrating the behavior.

#5 @danielandsebastian
6 months ago

To reproduce the eventual bug simply click "Enregistrer brouillon," regardless of the state of the post (published, draft, etc.) or its content.

@danielandsebastian
6 months ago

Another screen capture showing the button changing its language to enlgish during the animation

#6 @ankitkumarshah
6 months ago

Reproduction Report

Description

This report validates whether the issue can be reproduced.

Environment

  • WordPress: 6.7.1
  • PHP: 8.1.29
  • Server: nginx/1.16.0
  • Database: mysqli (Server: 8.0.16 / Client: mysqlnd 8.1.29)
  • Browser: Chrome 131.0.0.0
  • OS: macOS
  • Theme: Theme: Twenty Seventeen 3.8
  • MU Plugins: None activated

Actual Results

  1. ✅ Error condition occured.

Supplemental Artifacts

https://utfs.io/f/TnWMEUzoUd859ie4jvRL0xGfdFtipMBeAnPoCjkyzghVv7Hq

Last edited 6 months ago by ankitkumarshah (previous) (diff)

#7 @im3dabasia1
6 months ago

  • Keywords has-screenshots needs-patch added; reporter-feedback removed

#8 @poena
6 months ago

  • Keywords close added

Hi

Translations are provided by contributors, a text that is missing a translation in one language usually means that the translation is not completed.
Of the three French translations, only French from France is completed.

Do I understand correctly that you have the Classic Editor plugin installed?
I am not able to reproduce this using the default interface.
The Classic Editor plugin is not fully translated to French, see the missing translation for the "save draft" text:
https://translate.wordpress.org/locale/fr/default/wp-plugins/classic-editor/

However, this is not a bug that can be solved in WordPress itself, the classic editor is a plugin, and the contributors are volunteers and help with the translations when they can.

Because of this I suggest closing this ticket.

#9 follow-up: @sabernhardt
6 months ago

This is related to #62504 and the temporary fix in Classic Editor 1.6.6. The translation bug is apparently in the plugin, but both bugs should be fixed with WordPress 6.7.2.

Discussion probably belongs on https://github.com/WordPress/classic-editor

#11 in reply to: ↑ 9 @azaozz
6 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Replying to sabernhardt:

this is not a bug that can be solved in WordPress itself, the classic editor is a plugin
...
Discussion probably belongs on https://github.com/WordPress/classic-editor

Right. Lets close the ticket and continue in the plugin's repo as this is not a core bug.

Note: See TracTickets for help on using tickets.