WordPress.org

Making WordPress.org

Opened 9 months ago

Closed 9 months ago

#5633 closed defect (invalid)

Allow `title` attributes to be translated without triggering warnings

Reported by: dd32 Owned by:
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords:
Cc:

Description

Currently GlotPress triggers a translation warning when the HTML tag differs between original and translation, that includes a scenario like the following:

Original: Foo Bar <a href="%s" title="Baz">Qux</a>
Translation: ほげ ぴよ <a href="%s" title="ふが">ほげら</a>

It should be expected that the title attribute may differ, as it should normally be translated.

Here's a real-life example in a random plugin.

Are there any other HTML attributes which should be considered normally translatable?

Change History (1)

#1 @dd32
9 months ago

  • Resolution set to invalid
  • Status changed from new to closed

'duh this isn't an actual issue.

GlotPress handles this already.

The issue was the additional target attribute.

Note: See TracTickets for help on using tickets.