Allow for disambiguating same-word/phrase, but different context
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.3k
- Forks
- 182
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
It is possible that we might have a word, or short phrase, that in English can be re-used in multiple contexts, but in other languages requires a different translation for each context.
The current translations framework only allows, per language, for one translation per 'key' string.
Discuss ideas for allowing to disambiguate, e.g. an optional second parameter to the translation function that prepends a string for the look up.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the current translations framework and the translation function referenced in the issue. Define how context-specific keys or lookup parameters should work across languages, then verify that the same English word or phrase can receive distinct translations without breaking existing lookups.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- internationalization, localization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100