Repository navigation
How do I add or change a user-facing string without breaking the translation test? #615
|
I'm adding a label and rewording a few existing ones in the Android app. What do I have to touch so that |
Replies: 1 comment
|
Applies to: any version — this is how the project works by design. Russian in
The test skips strings marked The test cannot see Russian written straight into Kotlin. To find it, run this from The in-app guide is not a resource. Its text lives in More: https://github.com/lumenpearson/lessons/blob/main/.claude/skills/strings/SKILL.md and https://github.com/lumenpearson/lessons/blob/main/docs/design.md#the-language-is-chosen-in-the-app-and-a-test-guards-the-translation |
Applies to: any version — this is how the project works by design.
Russian in
values/is the source. Every name needs an English twin in the same module'svalues-en/, in the file of the same name. Android falls back one name at a time and logs nothing, so a missing twin shows as one Russian line in an English screen.:appsplits its strings by area (strings.xml,strings_admin.xml,strings_diary.xml,strings_onboarding.xmland others).:core:designsystem,:core:dataand:widgethave onestrings.xmleach. Their names carry the prefixesds_,alert_andwidget_. Keep the prefix: the correction export routes by it, andTranslationXmlTestchecks it.values-en/…