Skip to content

Conversation

@jablan
Copy link
Collaborator

@jablan jablan commented Nov 28, 2025

@jablan jablan changed the title feat(API): add use_local_fallback option to download #SCD-620 feat(API): add use_locale_fallback option to download #SCD-620 Nov 28, 2025
@jablan jablan requested a review from Copilot November 28, 2025 16:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for a use_locale_fallback option to the locale download API endpoints. This feature allows users to use fallback translations defined in locale settings when downloading locales with missing translations.

  • Added use_locale_fallback query parameter to the /locales/download endpoint
  • Added use_locale_fallback request body parameter to the /locale_downloads/create endpoint
  • Updated compiled API documentation with the new parameter definitions
  • Updated Java client test to include the new parameter

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
paths/locales/download.yaml Added use_locale_fallback query parameter definition with documentation
paths/locale_downloads/create.yaml Added use_locale_fallback request body field and improved formatting of fallback_locale_id description
doc/compiled.json Compiled JSON documentation reflecting the new parameter additions
clients/java/src/test/java/com/phrase/client/api/LocalesApiTest.java Updated test to include useLocaleFallback parameter in the API call

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jablan jablan requested a review from forelabs December 1, 2025 07:50
@jablan jablan merged commit 9266c68 into main Dec 2, 2025
11 checks passed
@jablan jablan deleted the scd-620-use-locale-fallback branch December 2, 2025 08:07
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.

3 participants