src/Birthday/Birthday.php
protected function loadTranslation($lang = 'en'): array
    {
        if (!in_array($lang, self::SUPPORTED_LANGS)) {
            $lang = 'en';
        }
        $json = file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . $lang . '.json');

        return json_decode($json, true);
    }
protected function loadTranslation($lang = 'en'): array
    {
        if (!in_array($lang, self::SUPPORTED_LANGS)) {
            $lang = 'en';
        }
        $json = file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . $lang . '.json');

        return json_decode($json, true);
    }
Load translations

@param  string  $lang
@return array