We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Something like
le <- function(lang_to = Sys.getenv("LANG"), api_key, engine = c("microsoft", "google")) { msg <- geterrmessage() if(msg == "") { message("There is no error to translate.") return("") } engine <- match.arg(engine) get_translations(msg, lang_to, api_key, engine = engine) }
Need to convert LANG env var to ISO lang format. Need to deal with both engines better. e.g., auto supply API key.
LANG
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Something like
Need to convert
LANG
env var to ISO lang format. Need to deal with both engines better. e.g., auto supply API key.The text was updated successfully, but these errors were encountered: