WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#26670 closed enhancement (fixed)

Stopwords - better explanation for translators

Reported by: pavelevap Owned by:
Milestone: 3.9 Priority: normal
Severity: normal Version: 3.7
Component: I18N Keywords:
Focuses: docs Cc:

Description

Stopwords should have better comments for translators. There are many not so clear things, I guess...

  • One-letter words can be also added or these are filtered automatically? For example, there is missing "a" in English version (but I noticed it in comment for translators). So, should I miss one-letter words too?
  • Should we use diacritic marks? For example in Czech we have two words "právě" and "pravé". Should I add these 2 words to list or use only version without diacritic marks "prave"? All stopwords are modified to english "a-z" form in the end?
  • When search term is "stopword + word", then "word" is searched and also the whole phrase "stopword + word"? When search term is only "stopword", then "stopword" is searched? When search term is "stopword + stopword", then only the whole phrase "stopword + stopword" is searched?

Translators should know these details, I guess...

Change History (9)

#1 @nacin
7 years ago

  • Component changed from General to I18N

This ticket was mentioned in IRC in #wordpress-dev by netweb. View the logs.


7 years ago

#3 @ocean90
7 years ago

  • Focuses docs added
  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 3.9
  • Type changed from defect (bug) to enhancement

Not sure if it should be a translator comment. What about a link to a codex page?

#4 @netweb
7 years ago

Related: #25585

#5 @johnbillion
7 years ago

  • Milestone changed from 3.9 to Future Release

#6 @DrewAPicture
7 years ago

  • Keywords needs-codex added; needs-patch removed
  • Version changed from trunk to 3.7

We should be able to add a sub-section to the Translating WordPress article in the Codex.

See http://make.wordpress.org/docs/2014/03/31/looking-for-a-volunteer-to-add-a/

#7 follow-up: @yoavf
7 years ago

Created http://codex.wordpress.org/Translating_WordPress#Stop_Words
On top of what's already in the translators comment, I added some notes regarding single letter words and diacritics.

#8 in reply to: ↑ 7 @DrewAPicture
7 years ago

  • Keywords needs-codex removed
  • Milestone changed from Future Release to 3.9
  • Resolution set to fixed
  • Status changed from new to closed

Replying to yoavf:

Created http://codex.wordpress.org/Translating_WordPress#Stop_Words
On top of what's already in the translators comment, I added some notes regarding single letter words and diacritics.

Thanks for doing that Yoav! Closing this as fixed.

#9 @pavelevap
7 years ago

Codex page is fine, but we should also repair translators comment suggesting to use single letter word "a":

https://core.trac.wordpress.org/browser/trunk/src/wp-includes/query.php#L2046

Also on Codex page is example with single letter words which is misleading.

Do you have idea how stopwords work as regards my third point? One user also asked me about it and I was not sure about right answer.

Note: See TracTickets for help on using tickets.