Making WordPress.org

Opened 5 months ago

Last modified 4 months ago

#7142 new feature request

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 (6)

#2 @psmits1567
5 months ago

Would be very welcome certainly in consistency checking

#3 @paulkevan
5 months ago

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

#4 @Presskopp
5 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
5 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
4 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

Note: See TracTickets for help on using tickets.