How to translate the output of format_plural which returns a new translatable string every time the count increased.
I put the translation with @count but it returns an array like @count[NUMBER] the NUMBER increased and for every NUMBER we have a string that need translation.
The translation work if I put @count[NUMBER] and didn't work for NUMBER-1 nor NUMBER+1
How to translate all strings with one translation?
The code comes from download_count module
And here is the piece of code
if (isset($file->downloads) && $file->downloads > 0) {
$output .= format_plural($file->downloads, 'Downloaded 1 time', 'Downloaded @count times');
}
Finally I need to translate plural strings form the translation interface drupal provides and fix the raised number of strings
I have .po files and had changed the plural-forms as that comment then import the file but nothing changed so I need help to fix it.
Thanks in advance
format_plural()
callst()
internally so that would make most sense I think