Add Swedish translation#3
Merged
Merged
Conversation
Adds swedish translation
Companion to TraceApps#3. The translation file alone isn't enough to surface the language in Settings; AVAILABLE_LOCALES plus register() also need the new code. Now Swedish shows up in Settings -> Appearance -> Language and the JSON is loaded on demand.
Contributor
|
Thank you for the contribution Andreas! Exactly the flow the README promised: single JSON file, |
thebigjoe1
added a commit
that referenced
this pull request
Jul 2, 2026
Follow-up to v1.0.0-rc.2. Instrumented the main user-facing surfaces with $_() calls so switching to Swedish (from PR #3) actually translates the primary shell of the app rather than only auth flows. Coverage added: - Bottom nav: all six tab labels. - Main routes (Recipes, Pantry, CookDiary, Shopping, Settings): page titles, search placeholders, empty states, all Settings section headers. - Recipe view: meta labels (Prep / Cook / Rest / Total Time), section titles (Ingredients / Instructions / Video / Cook History), Cook Mode. - Recipe editor: field labels (Name / Description / Rating / Prep / Cook / Servings / Category / Tags / Kitchen Gear / Notes / Source URL). - Pantry item sheet: Name / Brand / Barcode / Category / On Hand / Variants / Expires On + hint / Notes / Clear. - Trace AI panel: subtitle, welcome name + description, all four quick-chip labels + their prompt payloads, input placeholder. en.json + sv.json: - ~100 new keys across recipe.*, editor.*, pantry_sheet.*, trace.*, routes.<route>.*, and 12 new settings.<section>.section entries. Swedish translations supplied in-house in the same style as @olsson82's original PR. CHANGELOG rc.2 Swedish bullet rewritten to reflect the real coverage. Longer-form help copy, individual Settings sub- components, and some import / manage surfaces remain English pending future passes.
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.
This add swedish translation
Test has been done with npm run i18n:check