powered by
Creates new i18n Translator object
init_i18n( translation_csvs_path = NULL, translation_json_path = NULL, translation_csv_config = NULL, automatic = FALSE )
i18n object
character with path to folder containing csv translation files. See more in Details.
character with path to JSON translation file. See more in Details.
character with path to configuration file for csv option.
logical flag, indicating if i18n should use an automatic translation API.
if (FALSE) { i18n <- init_i18n(translation_csvs_path = "../csvdata/") i18n <- init_i18n(translation_json_path = "translations.json") }
Run the code above in your browser using DataLab