Closed A1aZ closed 3 years ago
Is your translation configured as Laravel files?
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you!
Nevermind, I've reproduced this locally....
Thank you for your report, the issue you have reported has just been fixed.
Describe the bug
Laravel plural support is broken https://docs.weblate.org/en/latest/formats.html?highlight=laravel#laravel-php-strings
To Reproduce the bug
Import a Laravel repo as a component. Translate the string which has been split by
|
. The UI will only display the first part of the translate string ( screenshot below). The api also return this string as non-plural string.Expected behavior
The plural string should be parsed correctly.
Screenshots Plural translations are missing. But the source code is correct.
Server configuration and status
Weblate installation: Docker
Weblate deploy checks
Exception traceback
NO
Additional context
NO