src/Dictionary.php
public function getTranslationKey($key): string
    {
        return sprintf('%s.%s', $this->prefix, kebab_case($this->get($key)));
    }
public function getTranslationKey($key): string
    {
        return sprintf('%s.%s', $this->prefix, kebab_case($this->get($key)));
    }
Get translation key.

@param string|int $key
@return string