trans_path {translated}R Documentation

Access translation path

Description

This function allows setting translation path and accessing the currently set one.

Usage

trans_path(path)

Arguments

path

character(1)
Path to set, should be a folder containing JSON files (possibly in subdirectories).

Value

If path was not passed, currently set path, else nothing.

Examples

# Set path to example translations shipped with this package
trans_path(system.file("examples", package = "translated"))

# Check the current path
trans_path()


[Package translated version 0.1.1 Index]