Making WordPress.org

Opened 13 months ago

Closed 7 weeks ago

#7142 closed feature request (reported-upstream)

Enable regex search on translate.wordpress.org

Reported by: presskopp's profile Presskopp Owned by:
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords:
Cc:

Description

Pretty please

Change History (11)

#2 @psmits1567
13 months ago

Would be very welcome certainly in consistency checking

#3 @paulkevan
13 months ago

Can you describe the problem that would be solved by enabling a regex search, with some examples?

#4 @Presskopp
13 months ago

Well, I believe I can. I'm not asking this just for fun, but because I often find the need to use a regex, which is not currently possible. For instance, I frequently check translations to ensure they align with existing ones, but sometimes a more granular search is required. For example there are situations where I specifically want to find phrases that start with a specific text, especially when there are numerous results to sift through. While I don't have specific examples at the moment, trust me, there are many cases where this is necessary. I'll make an effort to provide some examples once I've gathered them.

#5 @Presskopp
13 months ago

Example # 1: Let's say I want to search for any string starting with "Sorry" and including "post" ->

look what you get just going for "Sorry":
https://translate.wordpress.org/projects/wp/dev/de/default/?filters%5Bterm%5D=Sorry

#6 @Presskopp
12 months ago

Example # 2: Searching for a string which only has 1 character ->

"I knew there was this 1 char unicode sign somewhere.."
https://translate.wordpress.org/projects/meta/wordpress-org/de/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=16156486

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


5 months ago

#8 @Presskopp
5 months ago

Example # 3: Search for ". ", but only at the end of any translation.

#9 @pedromendonca
5 months ago

I would love that features like this could be developed upstream in GlotPress instead of only on translate.w.org, and than deployed to w.org.

#10 @pedromendonca
5 months ago

The ticket now has a GitHub issue on the GlotPress repo by @Presskopp:
https://github.com/GlotPress/GlotPress/issues/1816

#11 @Presskopp
7 weeks ago

  • Resolution set to reported-upstream
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.