@WorkerThread
    @VisibleForTesting
    public boolean switchToLanguage(final String language) {
        if (getWebsiteLanguage().equals(language)) {
            Log.i("Geocaching.com language already set to " + language);
        } else {
            try {
                final String page = Network.getResponseData(Network.getRequest("https://www.geocaching.com/play/culture/set?model.SelectedCultureCode=" + language));
                Log.i("changed language on geocaching.com to " + language);
                resetServerParameters();
                return getLoginStatus(page);
            } catch (final Exception ignored) {
                Log.e("Failed to set geocaching.com language to " + language);
            }
        }
        return false;
    }
Ensure that the website is presented in the specified language.
<br>
Used for unit tests.

@param language the language code to be used at geocaching.com (e.g. "en-US")
@return {@code true} if a switch was necessary and successfully performed (different language -> target language)
main/src/main/java/cgeo/geocaching/connector/gc/GCLogin.java