Repository navigation
i18n: Add Japanese translation (strings.xml) - #55
Merged
SysAdminDoc merged 1 commit intoNov 12, 2026
Merged
Conversation
SysAdminDoc
added a commit
that referenced
this pull request
Nov 12, 2026
The bottom nav labels were String literals on BottomNavItem, which neither lint nor the localization guard reads, so the bar stayed English in Japanese. They're string resources now. The twelve news feed names postdated the Japanese file. Refs #55
SysAdminDoc
added a commit
that referenced
this pull request
Nov 12, 2026
The motivational quotes array only existed in English, so a phone set to Japanese with quotes turned on showed English under a Japanese clock. Refs #55
SysAdminDoc
added a commit
that referenced
this pull request
Nov 12, 2026
… messages The two feature lines on each welcome page were a List<String> of literals, so a first run in Japanese showed English under every Japanese title. The quick alarm chips, the timer preset chips and the "Alarm options" label were literals too, as were the ringing screen's sensor and permission messages passed straight to the view model. All of them now come from string resources with ja entries. Refs #55
SysAdminDoc
added a commit
that referenced
this pull request
Nov 13, 2026
Today's headings and location prompt move into cards and its summary icons share a column. The weather location dialog drops its two filler chips and shortens its help lines, and the weather card's place name becomes a header line with its pencil on the same row. Headlines drop the trailing outlet name, world clock rows name the region, the city search hint stays on one line and the Add a city dialog stops describing the search box a second time. The stopwatch dial, timer ring and stats bars get a visible track, and the stopwatch subtitle keeps two lines so it doesn't jump between states. Stats tiles share the width, the filters are translated and count with plurals, and the empty-state lines stop repeating each other. Its streak, Health Connect, sleep and legend chips wrap instead of scrolling. Refs #55
SysAdminDoc
added a commit
that referenced
this pull request
Nov 13, 2026
Rows highlight to the card edge, pages share a back arrow, nav icons are
outlined at rest and no longer read twice by TalkBack, Settings icons are
one outlined family, and the permissions card's description and button
come from strings. Onboarding dots are square and sit above the button on
every page, a finished step shows a check, and the duplicate finish
button goes. The test alarm's note says when it rings instead of
repeating its heading, and the test alarm screen's icon is sized to
match its title. Backup buttons stack, the backup count uses plurals, and
durations read "1 min". Unused strings go.
Settings rows bleed by exactly their own 12dp inset, so a switch's label
lines up with the fields and notes in the same card whether it sits in a
group or a plain card. Health Connect's chips and the option rows wrap,
and it only says no session was recorded once it has actually read. The
Wake readiness tiles sit two to a row in AppTileGrid instead of in a
sideways list that left the third one off screen.
On a phone the Settings home filtered the Readiness pane out of its list
and nothing else opened it, so pause, vacation, on-call, battery and the
incident timeline were tablet-only. The Wake readiness card now opens the
pane, with a chevron line naming what is inside (now on-call too); Review
still opens the checklist.
The pane itself got cleaned up. On-call mode no longer prints its name
twice and neither it nor vacation mode puts a status chip beside a switch
that already shows the state. Alarm diagnostics names its events and
statuses in words ("Alarm scheduled", "Succeeded") instead of raw codes,
and gives hours and minutes against the alarm time instead of "735 min
before schedule". SettingsInfo boxes fill with SurfaceInset so they show
on the card, which also fixes the About details in Utilities, and the
date field's ripple follows its corners. Export support bundle takes a
box icon so it no longer shares the bug with Share crash log.
Refs #55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds a comprehensive Japanese translation to the project.
Problem
Currently, the application only provides string resources in English, making it less accessible for Japanese-speaking users.
Changes
app/src/main/res/values-ja/strings.xml.Testing
git diff --check: PASS