Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate problem #328

Open
manoam opened this issue Jul 8, 2021 · 1 comment
Open

Translate problem #328

manoam opened this issue Jul 8, 2021 · 1 comment

Comments

@manoam
Copy link

manoam commented Jul 8, 2021

I try to put translate in "fr". it does not work. can you help me?

$translate = new \Ups\Entity\Translate;
$translate->setLanguageCode('FRA');
$locatorRequest->setTranslate($translate);

@okj579
Copy link
Contributor

okj579 commented Apr 26, 2022

UPS requires a locale for the Locator API, not a language/dialect pair, e.g. $translate->setLocale('fr_FR');

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

No branches or pull requests

2 participants