diff --git a/src/Fieldtypes/Terms.php b/src/Fieldtypes/Terms.php index c3b7dd1bd0..759964f4f2 100644 --- a/src/Fieldtypes/Terms.php +++ b/src/Fieldtypes/Terms.php @@ -117,7 +117,15 @@ public function augment($values) { $single = $this->config('max_items') === 1; - if ($single && Blink::has($key = 'terms-augment-'.json_encode($values))) { + // The parent is the item this terms fieldtype exists on. Most commonly an + // entry, but could also be something else, like another taxonomy term. + $parent = $this->field->parent(); + + $site = $parent && $parent instanceof Localization + ? $parent->locale() + : Site::current()->handle(); // Use the "current" site so this will get localized appropriately on the front-end. + + if ($single && Blink::has($key = 'terms-augment-'.$site.'-'.json_encode($values))) { return Blink::get($key); }