chore: sync react native localization from platform-localization#89
Merged
Dustin-Kelley merged 2 commits intoJul 21, 2026
Merged
Conversation
Collaborator
|
@Dustin-Kelley this is a legit pr and just adds a few more languages. |
Dustin-Kelley
approved these changes
Jul 21, 2026
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.
Automated localization sync from
platform-localization.8533f7207047b993f2784df8b59263a0ce5dbdb8Distribute React Native LocalizationGreptile Summary
This automated localization sync PR adds two new locale files — Afrikaans (
af) and Swedish (sv) — distributed by theDistribute React Native Localizationworkflow fromplatform-localization. Theindex.tslocale registry is hand-edited (as intended) to import and register both new locales.af.json/sv.json: New generated translation files, each covering all 8 keys from the English source (signIn,signInWithYouVersion,signOut,signOutOfYouVersion,loading,cancel,booksHeading,bibleVersionsHeading). Interpolation tokens ({{brandName}},<bold>) are correctly preserved.index.ts: Imports and registersafandsvin alphabetical order, consistent with the existing pattern.Confidence Score: 5/5
Safe to merge — automated sync adding two new generated locale files with no hand-edits to existing translations.
Both new locale files are machine-generated via the established distribution workflow, cover all 8 translation keys from the English source, preserve interpolation tokens correctly, and are properly registered in index.ts in alphabetical order. No hand-edits to existing locale JSON, no structural changes to the i18n setup.
No files require special attention.
Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD PL["platform-localization\nsources/common/en.json"] -->|Distribute React Native Localization workflow| AF["af.json\nAfrikaans"] PL -->|Distribute React Native Localization workflow| SV["sv.json\nSwedish"] AF --> IDX["locales/index.ts\nLocale Registry"] SV --> IDX IDX -->|buildSdkResources| I18N["i18next instance\nSDK_I18N_NAMESPACE"] I18N -->|useSdkTranslation| UI["Native UI Components\nt('key')"]%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%% flowchart TD PL["platform-localization\nsources/common/en.json"] -->|Distribute React Native Localization workflow| AF["af.json\nAfrikaans"] PL -->|Distribute React Native Localization workflow| SV["sv.json\nSwedish"] AF --> IDX["locales/index.ts\nLocale Registry"] SV --> IDX IDX -->|buildSdkResources| I18N["i18next instance\nSDK_I18N_NAMESPACE"] I18N -->|useSdkTranslation| UI["Native UI Components\nt('key')"]Reviews (2): Last reviewed commit: "feat(i18n): add Afrikaans and Swedish tr..." | Re-trigger Greptile
Context used: