i18n_switch: Switch language for variable values

Description Usage Arguments Details Value Examples

View source: R/i18n_switch.R

Description

The default guidelines are in italian language. Switching to english or other available languages aids in selecting the appropriate variables values.

Usage

1

Arguments

lang

Character vector, one of lang_it lang_en.

Details

Currently 2 languages are supported: lang_it lang_en. Further languages may be added in the future. Contributing translators are welcome, just add your translation to the file i18n.csv in the folder data-raw/i18n and provide it as a Pull Request on GitHub

Value

silently a list

Examples

1
2
3
head(get_available("crop"))
i18n_switch("lang_en")
head(get_available("crop"))

mbask/fertplan documentation built on July 3, 2020, 12:01 p.m.