Making WordPress.org

Opened 8 years ago

Closed 6 years ago

#1628 closed defect (bug) (fixed)

Theme description is not always translated

Reported by: ocean90's profile ocean90 Owned by: dd32's profile dd32
Milestone: Priority: normal
Component: Theme Directory Keywords:
Cc:

Description

Example: https://cs.wordpress.org/themes/generatepress/
Translation: https://translate.wordpress.org/projects/wp-themes/generatepress/cs/default?filters[status]=either&filters[original_id]=2185030&sort[by]=translation_date_added&sort[how]=asc

That's because the description is stored encoded in post_content as:

GeneratePress is a fast, lightweight (less than 1MB zipped), mobile responsive WordPress theme built with speed, SEO and usability in mind. GP is compatible with major plugins like WooCommerce, WPML, BuddyPress, bbPress and many more. It's also mobile & tablet responsive, 100% valid HTML, Schema microdata integrated, search engine friendly, translated into over 15 languages and cross browser compatible (including IE8). GeneratePress has 8 widget areas, 5 navigation positions, 5 sidebar layouts, dropdown menus (click or hover), a back to top button and so much more. Navigate to Appearance > Customize to start customizing. Create your website exactly the way you want it using the Customizer and see your changes take place right in front of you before publishing. See more and check out our awesome add-ons at https://generatepress.com

Because of this GlotPress_Translate_Bridge::translate() can't find the original.

Change History (6)

This ticket was mentioned in Slack in #polyglots by ocean90. View the logs.


7 years ago

This ticket was mentioned in Slack in #meta by ocean90. View the logs.


7 years ago

#3 @obenland
6 years ago

It looks like it can find it here though, what's the difference? https://de.wordpress.org/themes/generatepress/

#4 @ocean90
6 years ago

@obenland In the meantime the original string has changed and dosen't include characters anymore that need encoding.

#6 @dd32
6 years ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 6500:

GlotPress Translation Bridge: When we can't find a translation, and the source text contains encoded entities, attempt to find the text unencoded.

Fixes #1628.

Note: See TracTickets for help on using tickets.