GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — refactor: move screen text into strings.xml by Tarquinen · Pull Request #65 · anomalyco/opencode-android

Conversation

@Tarquinen

@Tarquinen Tarquinen commented Nov 14, 2026

Copy link
Copy Markdown
Member

Reviews ask for more languages, but almost all of the app's text was written as English literals in Kotlin, so there was nothing to translate.

Now the text written inside composables, plus notifications, Quick Settings tiles and launcher shortcuts, comes from each module's strings.xml (about 700 strings). The English wording is unchanged, so the app looks the same. Shared words like Cancel and Done live once in core as common_*.

  • Not moved yet: text built in reducers, enums, models and exceptions (error titles, status words, menu labels). That needs a way to carry a string ID through state and comes in a follow-up.
  • Not moved on purpose: developer screens, logs, model prompts and What's New entries.
  • The app still ships English only; localeFilters += "en" stays until there are translations.
  • Unit tests now include Android resources in every module, so Robolectric tests can read the strings.
  • AGENTS.md no longer says Android must match iOS, and gains a rule for where UI text goes.

Verification:

  • scripts/check.sh passes on the Android VM (assembleDebug, lintDebug, testDebugUnitTest).
  • A script compared every removed literal with the resource values; the only differences are counts that became plurals.
  • Not run on an emulator.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Tarquinen added 11 commits November 14, 2026 00:07
@Tarquinen
Drop the rule that Android must match iOS
a2d7005
Android is no longer required to behave exactly like the iOS app. AGENTS.md and
docs/parity/README.md now describe iOS as a reference the app was ported from:
the "Behave exactly like iOS" rule, "behaviour, flows and copy still follow iOS"
and "a ported test that fails is a parity bug" are removed. The parity tables stay
as a map between the two codebases, with deliberate differences noted in the row.

Adds the rule for UI text: string resources per module, module-prefixed names,
shared common_* words in :core.

Docs only; nothing to build.
@Tarquinen
Add shared string resources in core
170a119
Screen text is moving out of Kotlin into strings.xml so the app can be translated.
core gets the common words other modules share (strings_common.xml) and its own
few composable strings. Unit tests now include Android resources so Robolectric
tests can read them.

Verified with the full check on the Android VM (assembleDebug, lintDebug,
testDebugUnitTest), run on the whole branch.
@Tarquinen
Move app screen text into strings.xml
8e393ef
Text written inside composables (and Context-holding system UI) now comes from
string resources. The English wording is unchanged. Text built in reducers,
models and exceptions stays in Kotlin for now.

Verified with the full check on the Android VM, run on the whole branch.
@Tarquinen
Move system screen text into strings.xml
f570499
Text written inside composables (and Context-holding system UI) now comes from
string resources. The English wording is unchanged. Text built in reducers,
models and exceptions stays in Kotlin for now.

Verified with the full check on the Android VM, run on the whole branch.
@Tarquinen
Move media screen text into strings.xml
fe9260c
Text written inside composables (and Context-holding system UI) now comes from
string resources. The English wording is unchanged. Text built in reducers,
models and exceptions stays in Kotlin for now.

Verified with the full check on the Android VM, run on the whole branch.
@Tarquinen
Move voice screen text into strings.xml
95e7348
Text written inside composables (and Context-holding system UI) now comes from
string resources. The English wording is unchanged. Text built in reducers,
models and exceptions stays in Kotlin for now.

Verified with the full check on the Android VM, run on the whole branch.
@Tarquinen
Move transcript screen text into strings.xml
5c05a75
Text written inside composables (and Context-holding system UI) now comes from
string resources. The English wording is unchanged. Text built in reducers,
models and exceptions stays in Kotlin for now.

Verified with the full check on the Android VM, run on the whole branch.
@Tarquinen
Move composer screen text into strings.xml
e041cac
Text written inside composables (and Context-holding system UI) now comes from
string resources. The English wording is unchanged. Text built in reducers,
models and exceptions stays in Kotlin for now.

Verified with the full check on the Android VM, run on the whole branch.
@Tarquinen
Move session screen text into strings.xml
7b6bcfd
Text written inside composables (and Context-holding system UI) now comes from
string resources. The English wording is unchanged. Text built in reducers,
models and exceptions stays in Kotlin for now.

Verified with the full check on the Android VM, run on the whole branch.
@Tarquinen
Move drawer screen text into strings.xml
29e8803
Text written inside composables (and Context-holding system UI) now comes from
string resources. The English wording is unchanged. Text built in reducers,
models and exceptions stays in Kotlin for now.

Verified with the full check on the Android VM, run on the whole branch.
@Tarquinen
Move settings screen text into strings.xml
369534e
Text written inside composables (and Context-holding system UI) now comes from
string resources. The English wording is unchanged. Text built in reducers,
models and exceptions stays in Kotlin for now.

Verified with the full check on the Android VM, run on the whole branch.
@Tarquinen
Tarquinen temporarily deployed to release November 14, 2026 05:31 — with GitHub Actions Inactive
@Tarquinen Tarquinen mentioned this pull request Nov 14, 2026
refactor: move the remaining app text into strings.xml #66
Merged
@Tarquinen
Tarquinen merged commit 5906716 into dev Nov 14, 2026
3 checks passed

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 14, 2026
refactor: move the remaining app text into strings.xml #70
Merged
Merge dev into main #69
Merged

This branch was previously deployed

1 inactive deployment
release — 369534e9 Deployed Nov 14, 2026 by Tarquinen via check #200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Tarquinen
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.