maxrave-dev / maxrave-dev/SimpMusic
Feat: translate lyrics even when song is in user's language but contains foreign words
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 11.4k
- Forks
- 599
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 7
Description
Problem
English songs with embedded foreign-language lines (e.g. Punjabi, Hindi, Spanish) do not get those lines translated when the user's language is set to English. Translation is skipped entirely because the primary language matches.
Example: "Sapphire" — English song with Punjabi verses. A user with language set to English sees the Punjabi lines untranslated.
Request
Add a setting: "Translate all non-primary-language segments" — detects language per line/segment and translates any line that is not in the user's selected language, regardless of the song's primary language.
Behaviour
- Off (default): current behaviour
- On: per-line language detection → translate only non-matching lines → show inline
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 locating the lyrics translation flow and the settings entry point in the Kotlin app. Trace how the song's primary language currently prevents translation, then identify the existing translation and language-detection behavior. Done means an off-by-default setting translates only non-matching lines inline while preserving current behavior when disabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- internationalization, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100