Skip to content

Add language parameter to International Address Autocomplete - #95

Merged
CarterSmarty merged 2 commits into
masterfrom
carter/intl-autocomplete-language
Oct 1, 2026
Merged

CarterSmarty merged 2 commits into
masterfrom
carter/intl-autocomplete-language

Conversation

@CarterSmarty

@CarterSmarty CarterSmarty commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Adds the documented language query parameter to the International Address
Autocomplete API in the Java SDK.

The API documents language for autocomplete, but no Smarty SDK implemented it,
while every SDK already supported it for International Street. This closes that
gap across all nine SDKs.

Companion pull requests

Tracking task: https://app.clickup.com/t/86bc7x07q

Note

Reuses the existing com.smartystreets.api.international_street.LanguageMode
rather than duplicating or moving it, matching how us_extract imports
us_street.MatchType. Nothing outside international_autocomplete changes, so
this is not a breaking change for International Street consumers.

@mae-smarty mae-smarty left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe add the language parameter to the example for consistency and to demonstrate it.

@@ -1,5 +1,7 @@
package com.smartystreets.api.international_autocomplete;

import com.smartystreets.api.international_street.LanguageMode;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should have its own language mode from international_street because the could be different

@CarterSmarty
CarterSmarty merged commit 4ad92a1 into master Oct 1, 2026
3 checks passed
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