WordPress.org

Making WordPress.org

Opened 2 years ago

Closed 6 months ago

#1628 closed defect (fixed)

Theme description is not always translated

Reported by: ocean90 Owned by: 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.


20 months ago

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


20 months ago

#3 @obenland
6 months ago

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

#4 @ocean90
6 months ago

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

#6 @dd32
6 months 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.