Making WordPress.org

Opened 2 years ago

Closed 3 months ago

#6826 closed defect (bug) (wontfix)

check for initial lowercase only for specific languages

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

Description

Nouns begin with a capital letter in german language. So a warning is issued every time a string is translated that starts with a noun.

Attachments (1)

uppercase warning.png (40.8 KB) - added by timse201 2 years ago.

Download all attachments as: .zip

Change History (3)

#1 @psmits1567
2 years ago

For Dutch we have a situation the other way around weekdays are written with lowercase. If the original contains Saturday, we translate it eith lowercase. But that throws an error and if saved it results in a warning record if done by a non PTE/GTE. A warning is OK but the record should be save without generating a warning record

#2 @Amieiro
3 months ago

  • Resolution set to wontfix
  • Status changed from new to closed

This appears to be an edge case due to the following reasons:

  • Most strings begin with an uppercase letter.
  • There is no method to reliably determine if the first word is a noun.
  • This issue is specific to German or a few other languages.

Since it only generates a warning (not an error) in rare scenarios, it may not be practical to implement complex checks for a situation that occurs so infrequently.

Note: See TracTickets for help on using tickets.