FormatLocaleCode: Fixes typical inconsistencies in the use of language codes

View source: R/LanguageCodes.R

FormatLocaleCodeR Documentation

Fixes typical inconsistencies in the use of language codes

Description

This function replaces '_' characters with '-'. Primary language codes are forced to lower case and country codes are forced to upper case letters.

Usage

FormatLocaleCode(Code)

Arguments

Code

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


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