| csl_locales | R Documentation |
List locally stored locales
csl_locales(locale = NULL) csl_locale_exists(locale)
locale |
(character) one locale name |
If locale=NULL, a list of locales. If locale is
not NULL, then a full path to the locale file is returned if the
locale exists.
# setup
csl_cache$cache_path_set("seasl", type = "tempdir")
csl_cache$cache_path_get()
# List all locale files
csl_locales()
# cleanup
csl_cache$delete_all()
## Not run:
# fetch data first
csl_fetch_locales()
# List all locale files
csl_locales()
# list files
csl_locales("et")
csl_locales("fr-FR")
csl_locale_exists("et")
csl_locale_exists("cc")
csl_locale_exists("fr-FR")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.