GetLanguageTag: Extracts the primary language subtags from a list of language...

View source: R/LanguageCodes.R

GetLanguageTagR Documentation

Extracts the primary language subtags from a list of language tags

Description

Extracts the primary language subtags from a list of language tags

Usage

GetLanguageTag(Code)

Arguments

Code

A code as string in the format "xx-XX" or just "xx".

Value

the second subtag(s) extracted from the given codes.

Note

The function does not verify if the country code exists


SigurdJanson/shinyCSVImpoMod documentation built on Jan. 5, 2023, 3:57 a.m.