#4470 closed enhancement (reported-upstream)
correct plural form for Persian language and Persian Afghanistan
Reported by: | 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)
Change History (7)
#1
@
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
@
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?
#3
@
5 years ago
I created a pull request here:
https://github.com/GlotPress/GlotPress-WP/pull/1012
This ticket was mentioned in Slack in #meta by tellyworth. View the logs.
5 years ago
#5
@
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.
patch for correct plural form