public function country(string $country): string
    {
        if (!Configure::read('countries')) {
            Configure::load('CkTools.countries');
        }
        $countries = Configure::read('countries');

        return $countries[$country] ?? $country;
    }
public function country(string $country): string
    {
        if (!Configure::read('countries')) {
            Configure::load('CkTools.countries');
        }
        $countries = Configure::read('countries');

        return $countries[$country] ?? $country;
    }
public function country ( string $ country ) : string { if ( ! Configure :: read ( 'countries' ) ) { Configure :: load ( 'CkTools.countries' ) ; } $ countries = Configure :: read ( 'countries' ) ; return $ countries [ $ country ] ?? $ country ; }
Returns the translated version of the given country

@param string $country E.g. "de", "en"
@return string
Returns the translated version of the given country