Misconfigured plural forms for Turkish locale

Created on 16 November 2018, over 5 years ago
Updated 18 January 2024, 5 months ago

Something is definitely not okay on this page. Strings with plural form should have 2 separate text input fields (see HU on the right side), but TR has only one single input field on the left side, which is strange:

Checking some other strings with similar plural forms shows me that this issue is not related to this given string ID, but it's much more general instead.

Comparing the plural form configurations of TR and HU locales by exporting a sample .po file:

  • TR: nplurals=1; plural=0;
  • HU: nplurals=2; plural=(n!=1);

The "nplurals=1;" seems responsible why only one textbox is displayed instead of the expected two. By searching for the official plural form definition for Turkish I found these 2 resources:

  1. Translate House says: nplurals=2; plural=(n > 1);
  2. Gnu.org says: nplurals=2; plural=n>1;

Which both seems for me quite the same. Then an administrator could check and update on l.d.o what is set up currently for your locale.

Original issue description

I'm trying to translate the text The installer requires that you create a translations directory as part of the installation process. Create the directory %translations_directory . More details about installing Drupal are available in <a href=":install_txt">INSTALL.txt</a>.. However, I'm getting Missing variable(s): @translations_directory when I click Save Changes. It's like that with any placeholder.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Existing language complaint

Created by

🇹🇷Turkey Kartagis Istanbul

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024