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

Comments

edib created an issue. See original summary.

kartagis’s picture

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.

guiu.rocafort.ferrer’s picture

Status: Active » Fixed

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.

kartagis’s picture

Status: Fixed » Active
StatusFileSize
new4.68 MB

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.

guiu.rocafort.ferrer’s picture

StatusFileSize
new11.81 KB

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.

kartagis’s picture

Status: Active » Fixed

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

fmb’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.