View source: R/google_is_valid_language_code.R
google_is_valid_language_code | R Documentation |
This function checks if a given language code is in the google_supported_languages
dataset.
google_is_valid_language_code(language_code)
language_code |
The language code to check. |
A logical value indicating if the language code is valid.
## Not run:
google_is_valid_language_code("en") # TRUE
google_is_valid_language_code("fr") # TRUE
google_is_valid_language_code("xx") # FALSE
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.