Error message Missing variable(s) @count

Created on 23 June 2021, almost 4 years ago

Problem/Motivation

There is an English text in translation
"1 second
@count seconds"
when I write a Turkish translation for that
"1 saniye
@count saniye" and tryting to save page produces following error.

Error message
Missing variable(s) @count

πŸ› Bug report
Status

Active

Version

1.0

Component

User interface

Created by

πŸ‡ΉπŸ‡·Turkey edib

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.

  • πŸ‡ΉπŸ‡·Turkey Kartagis Istanbul

    Hi edib,

    I'm one of the administrators of the Turkish localisation group and I'm happy to report we found a workaround. While you can't translate @count via the UI, you can export a .po file, translate the @count strings, import it and be done with it.

  • Status changed to Fixed 6 months ago
  • πŸ‡ͺπŸ‡ΈSpain guiu.rocafort.ferrer Barcelona

    This was fixed and available on localize.drupal.org for a while.

    I tested it and added a translation for the string mentioned, and it works properly. I am setting the issue as fixed because of that.

  • πŸ‡ΉπŸ‡·Turkey Kartagis Istanbul

    No it wasn't fixed. I just tried it and even though it doesn't give an error message, it doesn't save at all.

  • πŸ‡ͺπŸ‡ΈSpain guiu.rocafort.ferrer Barcelona

    Hello @kartagis, thank you for the video, it was very helpful.

    When you are adding the translation, now there are two different text areas. You are suposed to add the individual string translation in one, and the plural string translation in the second one.

    I am attaching a screenshot to try clarify it. of couse i don't know turkish so i just copied the text in english to ilustrate the point.

  • πŸ‡ΉπŸ‡·Turkey Kartagis Istanbul

    I confim that it works. Thanks for the clarifying screenshot, Guiu.

  • πŸ‡«πŸ‡·France fmb PerpinyΓ , Catalonia, EU
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024