Hide language for anonymous users How do I hide a language from anonymous users while I'm working on the translation? 

I want the language only to be displayed in the language switcher block and the links to be active, while you are logged in as an administrator, so that they can check the translation while they are working on it.
On our site, we're using the Language Dropdown module to display translation links.

When we want a language to be accessible to authenticated users only, so that they can translate the contents before showing them to site visitors, we hack the module this way, in lang_dropdown.module, line 192 :

  // @TODO TEMPORARY FIX TO DISABLE ITALIAN TO ANONYMOUS USERS
  global $user;
    if ($user-&gt;uid == 0) {
    unset($languages-&gt;links['it']);
  }
  // ENDTODO
  //
  // Now we iterate on $languages to build the needed options for the select element.
  foreach ($languages-&gt;links as $lang_code =&gt; $lang_options) {


Be aware that in this case, the italian contents are not really hidden for someone who would know their paths, but it's sufficient for us.