hex/ios/HEXShared
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 4080989243 iOS: make the app's interface strings localizable
Strings built as String values (status lines, menu and segment labels,
settings rows, errors, notices, shared model labels) never reached a
string table, so a translation couldn't replace them. They now go
through String(localized:), and the app's own small components that
only take literals (onboarding buttons and rows, page titles, section
headers, setup sheet rows) take LocalizedStringKey. English output is
unchanged.

- "1 step"/"N steps", "N event(s)" and "N dictation(s) learned" no
  longer glue English words together; the plural lives in the catalog
  or in two whole sentences, so other languages can order them.
- Where you tap off-centre names the eight directions as whole phrases
  instead of joining "low" + " and " + "right".
- Language names in messages ("Russian isn't available...", "Use
  English", "Paste in Spanish") follow Hex's interface language
  (Locale.hexInterface, the bundle's preferred localization) instead of
  always English. SpeechModelUnavailable.englishName is renamed
  interfaceName. The keyboard has no translations yet, so it still says
  English.
- project.yml turns on SWIFT_EMIT_LOC_STRINGS and
  LOCALIZATION_PREFERS_STRING_CATALOGS so the compiler extracts these
  strings for String Catalogs; without it, an export found only ~50 of
  the app's ~230 strings.

Not touched: HEXKeyboard/ and the keyboard's views in
HEXShared/FullKeyboard and KeyboardSurface.swift.

Verified on the Mac Studio (iOS 27.2 simulator, iPhone 16e):
xcodebuild test passes, 277 tests (1 skipped), and the English app
renders as before (onboarding, settings home, Dictation, Privacy).
2026-11-20 13:15:09 -05:00
..
FullKeyboard iOS: keep key haptics while dictating, and slide left on delete to delete words (#2080) 2026-11-20 17:55:51 +00:00
TypingLog iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
AppleIntelligenceCleanupSettings.swift ios: optional Apple Intelligence transcript cleanup (experiment) (#1538) 2026-11-08 08:07:11 -05:00
AppleSpeechModule.swift iOS: speech model fallbacks for iPhone 11 and unavailable languages; no raw errors in the keyboard (#2048) 2026-11-20 15:04:43 +00:00
CleanupReconstruction.swift iOS: clean up what I say with an on-device tagger (experiment) (#2023) 2026-11-20 01:29:41 +00:00
CleanupTagger.swift iOS: Italian, French and Portuguese layouts that autocorrect in their own language; spoken @ and email addresses (#2069) 2026-11-20 16:43:10 +00:00
CleanupTokenizer.swift iOS: clean up what I say with an on-device tagger (experiment) (#2023) 2026-11-20 01:29:41 +00:00
CustomVocabularySettings.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00
DictationCorrections.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DictationEditInference.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DictationEditTracker.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DictationLanguage.swift iOS: speech model fallbacks for iPhone 11 and unavailable languages; no raw errors in the keyboard (#2048) 2026-11-20 15:04:43 +00:00
DictationLanguageSwitch.swift iOS: Russian and Serbian (Latin) full-keyboard layouts (#2075) 2026-11-20 17:44:49 +00:00
DictationTranslation.swift iOS: make the app's interface strings localizable 2026-11-20 13:15:09 -05:00
DotScope.swift iOS: dictate from the keyboard without opening Hex, plus suggestions, autocorrect, and Paste (#1999) 2026-11-19 12:20:12 -05:00
DotScopeShader.metal fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
EmptyCapture.swift iOS: fix six TestFlight tester issues (audio error, leaked error text, Live Activity, haptics, capitals, push to talk) (#2035) 2026-11-20 13:21:16 +00:00
HexTheme.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
HomeSwipeCue.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
KeyboardBridge.swift iOS: make the app's interface strings localizable 2026-11-20 13:15:09 -05:00
KeyboardSurface.swift iOS: full keyboard by default, typing without Full Access, and a logging mark (#2067) 2026-11-20 16:41:37 +00:00
SpeechModelInstall.swift iOS: make the app's interface strings localizable 2026-11-20 13:15:09 -05:00
SpokenCleanupRules.swift iOS: Italian, French and Portuguese layouts that autocorrect in their own language; spoken @ and email addresses (#2069) 2026-11-20 16:43:10 +00:00
TranscriptFormatter.swift iOS: make the app's interface strings localizable 2026-11-20 13:15:09 -05:00
UserFacingError.swift iOS: make the app's interface strings localizable 2026-11-20 13:15:09 -05:00
VocabularySpelling.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00