WeblateOrg / WeblateOrg/weblate

Support Android plurals with same name as string

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

Description

It's perfectly valid to have string with same name as plural, for example:

```
Monthly

Monthly %2$s
Every %1$d months %2$s

```

However Weblate currently uses only name to identify the strings, so they appear as duplicate ones to Weblate.

To fix this, we probably have to construct internal ID for these strings differently. This change will cause problems to existing translations as they will have to be imported again to get new IDs...

See http://developer.android.com/guide/topics/resources/string-resource.html
##

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.