EVOLUTION-MANAGER
Edit File: validate_locale.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Validate locale parameter</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for validate_locale {spotifyr}"><tr><td>validate_locale {spotifyr}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Validate locale parameter</h2> <h3>Description</h3> <p>Validate locale parameter </p> <h3>Usage</h3> <pre> validate_locale(locale) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>locale</code></td> <td> <p>Optional. The desired language, consisting of an <a href="https://en.wikipedia.org/wiki/ISO_639-1">ISO 639-1</a> language code and an <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2 country code</a>, joined by an underscore. For example: <code>es_MX</code>, meaning "Spanish (Mexico)". Provide this parameter if you want the category strings returned in a particular language. Note that, if <code>locale</code> is not supplied, or if the specified language is not available, the category strings returned will be in the Spotify default language (American English). The <code>locale</code> parameter, combined with the <code>country</code> parameter, may give odd results if not carefully matched. For example <code>country=SE&locale=de_DE</code> will return a list of categories relevant to Sweden but as German language strings.</p> </td></tr> </table> <h3>Value</h3> <p>A boolean if the parameter matches the Spotify Web API parameter range. </p> <hr /><div style="text-align: center;">[Package <em>spotifyr</em> version 2.2.3 <a href="00Index.html">Index</a>]</div> </body></html>