Problem/Motivation

We have a chinese language in our website. Since, chinese doesn't have singular form. Wherever the plural form text is displaying, in those places text is empty. because chinese does not have singular form.

Proposed resolution

When we import a PO files, we need to have a flag like if no plural exists, do you need to replace that with singular form?

Comments

saranya ashokkumar created an issue. See original summary.

saranya ashokkumar’s picture

Status: Active » Needs review
StatusFileSize
new3.11 KB

Here is the patch for this.

saranya ashokkumar’s picture

StatusFileSize
new3.11 KB

Small issue in patch. updated.

saranya ashokkumar’s picture

StatusFileSize
new3.12 KB

Setting number of plurals.

saranya ashokkumar’s picture

StatusFileSize
new5.07 KB

Added drush support.

gauravvvv’s picture

StatusFileSize
new22.26 KB
new19.53 KB

Re-rolled patch #5, Attached interdiff for same.

ankithashetty’s picture

StatusFileSize
new5.1 KB
new2.77 KB

Fixed all custom command failure errors in #5, thanks!

Version: 9.1.x-dev » 9.3.x-dev

Drupal 9.1.10 (June 4, 2021) and Drupal 9.2.10 (November 24, 2021) were the last bugfix releases of those minor version series. Drupal 9 bug reports should be targeted for the 9.3.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

smustgrave’s picture

Status: Needs review » Needs work
Issue tags: +Needs Review Queue Initiative, +Needs tests

This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request as a guide.

Seems last patch had some failures.
Also will need test coverage.

did not test yet.

Version: 9.5.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.