Help in selected language instead of English?

Nextcloud version (eg, 20.0.5): 24.0.7
Operating system and version (eg, Ubuntu 20.04): Linux
Apache or nginx version (eg, Apache 2.4.25): Unknown
PHP version (eg, 7.4): 8.0.25

The issue you are facing:

When a user clicks in ‘Help’ under the Setting menu, he’s leaded to a page where the left column is in his langague and the help part on the right in English.

What can be done to get the help in his language, for instance French using this page for the user documentation?

1 Like

Bonjour,

J’ai fini par éditer un fichier pour avoir par défaut tout les liens de l’iframe en français (sur NC 25, mais ça doit être pareil). Je laisse ici mon code pour ceux qui cherchent aussi cette fonctionnalité:

En éditant le fichier core/doc/user/index.html ainsi

<!DOCTYPE html>
<html class="writer-html5" lang="fr" data-locale="fr">
<head>
  <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Nextcloud latest user manual introduction &mdash; Nextcloud latest User Manual latest documentation</title>
      <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
      <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
    <link rel="stylesheet" href="_static/custom.css" type="text/css" />
  <!--[if lt IE 9]>
    <script src="_static/js/html5shiv.min.js"></script>
  <![endif]-->
  
        <script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
        <script src="_static/jquery.js"></script>
        <script src="_static/underscore.js"></script>
        <script src="_static/doctools.js"></script>
    <script src="_static/js/theme.js"></script>
    <link rel="index" title="Index" href="https://docs.nextcloud.com/server/latest/user_manual/fr/index.html" />
    <link rel="search" title="Search" href="https://docs.nextcloud.com/server/latest/user_manual/fr/search.html" />
    <link rel="next" title="What’s new for users in Nextcloud latest" href="https://docs.nextcloud.com/server/latest/user_manual/fr/whats_new.html" />
    <link rel="prev" title="Table of contents" href="https://docs.nextcloud.com/server/latest/user_manual/fr/contents.html" /> 
</head>

<body class="wy-body-for-nav"> 
  <div class="wy-grid-for-nav">
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search" >

          
          
          <a href="https://docs.nextcloud.com/server/latest/user_manual/fr/contents.html">
            
              <img src="_static/logo-white.png" class="logo" alt="Logo"/>
          </a>
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="https://docs.nextcloud.com/server/latest/user_manual/fr/search.html" method="get">
    <input type="text" name="q" placeholder="Rechercher docs" aria-label="Rechercher docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>
        </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
              <ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="https://docs.nextcloud.com/server/latest/user_manual/fr/#">Manuel utilisateur de Nextcloud latest : Introduction</a></li>
<li class="toctree-l1"><a class="reference internal" href="https://docs.nextcloud.com/server/latest/user_manual/fr/whats_new.html">Quoi de neuf pour les utilisateurs de Nextcloud latest</a></li>
<li class="toctree-l1"><a class="reference internal" href="https://docs.nextcloud.com/server/latest/user_manual/fr/webinterface.html">L’interface web de Nextcloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="https://docs.nextcloud.com/server/latest/user_manual/fr/files/index.html">Fichiers &amp; synchronisation</a></li>
<li class="toctree-l1"><a class="reference internal" href="https://docs.nextcloud.com/server/latest/user_manual/fr/groupware/index.html">Groupware</a></li>
<li class="toctree-l1"><a class="reference internal" href="https://docs.nextcloud.com/server/latest/user_manual/fr/talk/index.html">Talk</a></li>
<li class="toctree-l1"><a class="reference internal" href="https://docs.nextcloud.com/server/latest/user_manual/fr/userpreferences.html">Définir vos préférences</a></li>
<li class="toctree-l1"><a class="reference internal" href="https://docs.nextcloud.com/server/latest/user_manual/fr/universal_access.html">Accès universel</a></li>
<li class="toctree-l1"><a class="reference internal" href="https://docs.nextcloud.com/server/latest/user_manual/fr/user_2fa.html">Utilisation de l’authentification à deux facteurs</a></li>
<li class="toctree-l1"><a class="reference internal" href="https://docs.nextcloud.com/server/latest/user_manual/fr/session_management.html">Gestion des navigateurs et des appareils liés</a></li>
<li class="toctree-l1"><a class="reference internal" href="external_storage/index.html">Stockage Externe</a></li>
</ul>

        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="https://docs.nextcloud.com/server/latest/user_manual/fr/contents.html">Nextcloud latest User Manual</a>
      </nav>

      <div class="wy-nav-content">
        <div class="rst-content style-external-links">
          <div role="navigation" aria-label="Page navigation">
  <ul class="wy-breadcrumbs">
<li><a href="https://docs.nextcloud.com/server/latest/user_manual/fr/index.html" class="icon icon-home" aria-label="Home"></a></li>
      <li class="breadcrumb-item active">Manuel utilisateur de Nextcloud latest : Introduction</li>
      <li class="wy-breadcrumbs-aside">
              <a href="https://github.com/nextcloud/documentation/edit/master/user_manual/index.rst" class="fa fa-github"> Edit on GitHub</a>
      </li>
  </ul>
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
             
  <section id="nextcloud-version-user-manual-introduction">
<span id="index"></span><h1>Manuel utilisateur de Nextcloud latest : Introduction<a class="headerlink" href="https://docs.nextcloud.com/server/latest/user_manual/fr/index.html" title="Permalink to this headline"></a></h1>
<p><strong>Bienvenue dans Nextcloud : Un espace sécurisé pour toutes vos données.</strong></p>
<p>Nextcloud est un logiciel open source de partage et de synchronisation de fichier dont le spectre d’utilisation 
va du particulier exploitant un serveur Nextcloud à la maison à la grande entreprise ou l’hébergeur qui a souscrit 
au support via Nextcloud Entreprise Subscription. Nextcloud propose un système de synchronisation et de partage de 
fichiers sûr, sécurisé et efficace, que vous pouvez gérer sur vos propres serveurs.</p>
<p>Vous pouvez partager un ou plusieurs fichiers sur votre ordinateur et les synchroniser avec votre serveur Nextcloud. 
Pour cela, il suffit de déposer les fichiers dans vos répertoires locaux partagés et ils sont immédiatement synchronisés 
avec le serveur et les autres périphériques via le client de synchronisation de bureau, l’application Android ou l’application iOS. 
Pour en apprendre plus à propos du client de synchronisation de bureau, veuillez vous référez à :</p>
<ul class="simple">
<li><p><a class="reference external" href="https://docs.nextcloud.com/desktop/latest/">Nextcloud Desktop Client</a></p></li>
</ul>
<p><a class="reference external" href="https://www.transifex.com/nextcloud/nextcloud-user-documentation/">Help translate</a>.</p>
</section>


           </div>
          </div>
          <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
        <a href="https://docs.nextcloud.com/server/latest/user_manual/fr/contents.html" class="btn btn-neutral float-left" title="Table of contents" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
        <a href="https://docs.nextcloud.com/server/latest/user_manual/fr/whats_new.html" class="btn btn-neutral float-right" title="What’s new for users in Nextcloud latest" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
    </div>

  <hr/>

  <div role="contentinfo">
    <p>&#169; Copyright 2023 Nextcloud GmbH.</p>
  </div>

   

</footer>
        </div>
      </div>
    </section>
  </div>
  

  <div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
    <span class="rst-current-version" data-toggle="rst-current-version">
      <span class="fa fa-book"> Read the Docs</span>
      v: latest
      <span class="fa fa-caret-down"></span>
    </span>
    <div class="rst-other-versions">
      <dl>
        <dt>Languages</dt>
          <!--Here goes the Langs-->
      </dl>
    </div>
    <div class="rst-other-versions">
      <dl>
        <dt>Versions</dt>
        
          <dd><a href="https://docs.nextcloud.com/server/22/user_manual">22</a></dd>
        
          <dd><a href="https://docs.nextcloud.com/server/23/user_manual">23</a></dd>
        
          <dd><a href="https://docs.nextcloud.com/server/24/user_manual">24</a></dd>
        
          <dd><a href="https://docs.nextcloud.com/server/stable/user_manual">stable</a></dd>
        
          <dd><a href="https://docs.nextcloud.com/server/latest/user_manual">latest</a></dd>
        
      </dl>
      <dl>
        <dt>Downloads</dt>
        
      </dl>
      <dl>
        
        <dt>On Read the Docs</dt>
          <dd>
            <a href="///projects//?fromdocs=">Project Home</a>
          </dd>
          <dd>
            <a href="///builds//?fromdocs=">Builds</a>
          </dd>
      </dl>
    </div>
  </div>
<script>
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script> 

</body>
</html>

Alright, thanks for contributing @rodinux but are you going to do it every time NC is updated? What guarantee do you have that your index.html won’t be overwritten at some point?

At least it show it’s not that much to sort it out. Now, one could expect it’s taken into account in the “official” package, don’t you think?

I think this should be merged upstream. Otherwise it’s not a very sustainable solution. Did you find another way by the time?

I’ve created an issue for it: Help in selected language instead of English · Issue #43146 · nextcloud/server · GitHub