Making WordPress.org

Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#4470 closed enhancement (reported-upstream)

correct plural form for Persian language and Persian Afghanistan

Reported by: dedidata's profile dedidata Owned by:
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords: has-patch
Cc:

Description

Hi,

This is a correction for plural form for Translate system for Persian language and Persian Afghanistan

Here is a sample:

Singular: %s post not updated, somebody is editing it.
Plural: %s posts not updated, somebody is editing them.

Singular translation: %s نوشته بروزرسانی نشد، فردی در حال ویرایش آن است.
Plural translation: %s نوشته بروزرسانی نشد، فردی در حال ویرایش آنها می‌باشد.

in first part of the sentence it is same, but in second part it is different
this is a very good sample to clear this issue
I added a patch for this problem

Attachments (1)

correct-plural-form.patch (608 bytes) - added by dedidata 5 years ago.
patch for correct plural form

Download all attachments as: .zip

Change History (7)

@dedidata
5 years ago

patch for correct plural form

#1 @ocean90
5 years ago

  • Keywords has-dev-note removed
  • Priority changed from high to normal

Note that this should have been reported first to GlotPress since that's where the file is officially maintained.

Both plural forms were added/changed 8-10 years ago, see https://github.com/GlotPress/GlotPress-WP/commit/ca420198fb6337ff5a8b0c4f7f4756147bd2003f#diff-a1e4501577c03af0eade31b76b4dc332R455 and https://github.com/GlotPress/GlotPress-WP/commit/5fe5c8fbc4b88c02de6561a3f1162856823bb11b.

I'm not sure why nobody has noticed this before? Did something change? Unfortunately it's not easy to change now since all existing translations for plural forms would be invalid/only half translated.

#2 @dedidata
5 years ago

@ocean90
Hi Dominik,

As I mentioned I think we should have this format for Persian (Correct format), The provided format in the past cannot cover all cases, There are some cases we need to add different translations for singular and plural forms

is it possible to modify the format and copy current singular translation value into plural value as default for existing translations?

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


5 years ago

#5 @dd32
5 years ago

  • Resolution set to reported-upstream
  • Status changed from new to closed

I'm going to close this out as it's being handled upstream in GlotPress.

Once any change is made there, it'll flow back to WordPress.org's translation system and WordPress itself.

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


3 years ago

Note: See TracTickets for help on using tickets.