Skip to content

i18n: Add Japanese translation (strings.xml) - #55

Merged
SysAdminDoc merged 1 commit into
SysAdminDoc:mainfrom
knocker-g:upstream-pr/japanese-translation
Nov 12, 2026
Merged

SysAdminDoc merged 1 commit into
SysAdminDoc:mainfrom
knocker-g:upstream-pr/japanese-translation

Conversation

@knocker-g

Copy link
Copy Markdown
Contributor

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

  • Added a new translation file: app/src/main/res/values-ja/strings.xml.
  • Translated over 2,200 strings covering the application UI, notifications, and settings.

Testing

  • git diff --check: PASS
  • F-Droid debug build: SUCCESS
  • Play debug build: SUCCESS
  • Tests: BLOCKED / NOT EXECUTED
  • Manual verification: Verified that the application UI correctly switches to Japanese when the system language is set to Japanese.

@SysAdminDoc
SysAdminDoc merged commit 7f3e936 into SysAdminDoc:main Nov 12, 2026
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
@knocker-g
knocker-g deleted the upstream-pr/japanese-translation branch November 15, 2026 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants