Open manoam opened 3 years ago
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);
UPS requires a locale for the Locator API, not a language/dialect pair, e.g. $translate->setLocale('fr_FR');
$translate->setLocale('fr_FR');
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);