WeblateOrg / WeblateOrg/weblate

"Other" not shown for Serbian Android strings

Open
#9,364 5 comments 0 reactions 0 assignees View on GitHub
Waiting for: Demand
Dominant language
Python
Stars
6.1k
Forks
1.4k
Avg merge
9h 53m
Merged PRs (30d)
395

Description

### Describe the issue

https://hosted.weblate.org/translate/f-droid/f-droid/sr/?q=button_view_all_apps_in_category&sort_by=-priority%2Cposition
shows "one", "few", and "many". But using this string in Android causes a crash because "other" is missing:

```
org.fdroid.fdroid.LocalizationTest > testLoadAllPlural[ci_test(AVD) - 6.0] FAILED
java.lang.IllegalArgumentException: Bad 'null' format in sr button_view_all_apps_in_category: Plural resource ID #0x7f100000 quantity=0 item=other
at org.fdroid.fdroid.LocalizationTest.testLoadAllPlural(LocalizationTest.java:128)
```

This might be related to #1550

### I already tried

- [X] I've read and searched [the documentation](https://docs.weblate.org/).
- [X] I've searched for similar issues in this repository.

### Steps to reproduce the behavior

https://hosted.weblate.org/translate/f-droid/f-droid/sr/?q=button_view_all_apps_in_category&sort_by=-priority%2Cposition&checksum=

* "other" is not presented in the UI
* see that the plurals in _values-sr/strings.xml_ lack "other" entries

### Expected behavior

There should be "other" strings in the Weblate UI when editing plurals in Serbian.

### Screenshots

[
![Screenshot from 2023-06-07 22-14-11](https://github.com/WeblateOrg/weblate/assets/143465/78bf1ea3-af22-4606-82b9-7ca801444195)
](url)

### Exception traceback

_No response_

### How do you run Weblate?

weblate.org service

### Weblate versions

_No response_

### Weblate deploy checks

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.