Opened 7 months ago
Last modified 7 months ago
#7583 new defect (bug)
Fix singular/plural form for Persian language on WP Site
Reported by: | farhad0 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | high | |
Component: | WordPress.org Site | Keywords: | has-patch has-testing-info |
Cc: |
Description
Hi,
Currently the form of singular and plural for Persian language on translate.wordpress.org site is not correct,
Previously we fixed this on GlotPress but it seems WP site missed this fix
https://github.com/GlotPress/GlotPress/pull/1012
Correct form for Persian languages:
$fa->nplurals = 2; $fa->plural_expression = 'n > 1'; $fa_af->nplurals = 2; $fa_af->plural_expression = 'n > 1';
Change History (2)
This ticket was mentioned in PR #247 on WordPress/wordpress.org by @farhad0.
7 months ago
#2
Hi,
Currently the form of singular and plural for Persian language on translate.wordpress.org site is not correct, Previously we fixed this on GlotPress but it seems WP site missed this fix https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/locales/locales.php?rev=12939#L1027 https://github.com/GlotPress/GlotPress/pull/1012
Correct form for Persian languages:
$fa->nplurals = 2;
$fa->plural_expression = 'n > 1';
$fa_af->nplurals = 2;
$fa_af->plural_expression = 'n > 1';
The ticket is:
https://meta.trac.wordpress.org/ticket/7583
Patch added
https://github.com/WordPress/wordpress.org/pull/247