i18n: Translate strings for display in user interface

Description Usage Arguments Value Examples

View source: R/translate.R

Description

Translate strings for display in user interface

Usage

1
i18n(field, lang = "eng")

Arguments

field

the name of the field in birdrecoveries_i18n, defined in data-raw/translation.csv originally

lang

the language iso3 string in lower caps, default "eng"

Value

a vector of field names if called without arguments, otherwise the string corresponding to the field name for the specified language

Examples

1
 fields <- i18n()

mskyttner/swedishbirdrecoveries documentation built on May 23, 2019, 7:53 a.m.