save_to_json: Save example i18n file to json

View source: R/preproc.R

save_to_jsonR Documentation

Save example i18n file to json

Description

It saves translation data structure with language key code "key" as an example of a translation JSON file.

Usage

save_to_json(key_expressions, output_path = NULL)

Arguments

key_expressions

vector with key expression to translate

output_path

character with path to output file (default: "translation.json" if NULL)


Appsilon/shiny.i18n documentation built on April 21, 2024, 4:38 p.m.