Skip to content

Multiple language support (via nestjs-i18n) - #110

Open
AugustoVSoares wants to merge 7 commits into
developfrom
feature/multiple-language-support
Open

AugustoVSoares wants to merge 7 commits into
developfrom
feature/multiple-language-support

Conversation

@AugustoVSoares

Copy link
Copy Markdown
Contributor

Closes #54

Changes

Language Support:

  • Translation Interceptor supports ["en", "pt"] on http's Accept Language Header, defaulting to "en" when neither option is presented.
  • All translations are separate tables, being returned only the chosen language's value.
  • Updated Swagger docs to reflect en/pt and give the option to choose language

Note: Had to update the tests to account for translations.

@codecov

codecov Bot commented Apr 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (c875745) to head (7bc89d4).

Additional details and impacted files
@@            Coverage Diff             @@
##           develop      #110    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           60        67     +7     
  Lines          861      1036   +175     
  Branches        79        96    +17     
==========================================
+ Hits           861      1036   +175     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
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.

Add support for multiple languages

1 participant