public static function firstByTitleOrCreate($title, $locale = null)
    {
        $tag = Tag::whereTranslation('title', $title, $locale)->first();

        if (is_null($tag))
        {
            $attributes = compact('title');

            if ($locale)
            {
                $attributes = [$locale => $attributes];
            }

            $tag = Tag::create($attributes);
        }

        return $tag;
    }