Skip to content

Get Primary Country Language Code #281

@pfpro

Description

@pfpro

Thanks a lot for your library, its very helpful.
It would be even more helpful if there was a new parameter getLanguageCode that could be used to get the primary language of a country as 2-letter (or even 5-letter) code:

// Get country language code
echo $austria->getLanguageCode();

// output
'de'
OR
'de_AT'

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions