Repository navigation
feat(l10n): add Russian localization and AI Coach language awareness - #151
Open
foureight84 wants to merge 1 commit into
Open
foureight84 wants to merge 1 commit into
foureight84 wants to merge 1 commit into
Conversation
This branch has not been deployed
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
Ports Android Russian localization & AI Coach language awareness (PulseLoopAndroid PRs #145 & #146) to iOS:
PulseLoop/Localizable.xcstrings): Addedrulocalization with 1,346 EN → RU entries (matched from Androidvalues-ru/strings.xml+ iOS-specific UI strings,"coach_language", and"Opens %@").PulseLoop.xcodeproj/project.pbxproj): AddedrutoknownRegionsand disabledSTRING_CATALOG_GENERATE_SYMBOLSto avoid symbol collisions across case-variant UI strings.PageChrome,SettingsFormComponents,SettingsComponents,SettingsView,RootViews,CoachView, andMealDetailViewso static headers, labels, tabs, and cold-start prompts localize properly while keeping dynamic user input (MealDetailViewmeal names) and technical model IDs verbatim (trailingValue)."Opens %@"hints.CoachLanguage):CoachLanguagehelper readingcoach_languagefrom the active bundle and injecting output-language instructions intoCoachPromptBuilder,CoachSummaryPromptBuilder, andNotificationPromptBuilder(keeping JSON keys, enum values, and tool arguments in English).Verification
xcodebuild test -project PulseLoop.xcodeproj -scheme PulseLoop -destination 'platform=iOS Simulator,name=iPhone 17' -only-testing:PulseLoopTests/LocalizationTests: 3/3 tests passed.