From mboxrd@z Thu Jan 1 00:00:00 1970 From: sirgazil via Bug reports for GNU Guix Subject: bug#26302: [website] translations Date: Fri, 06 Sep 2019 13:17:10 -0500 Message-ID: <16d07cb5a1d.ca69255821627.8144164908931126811@zoho.com> References: <20170329154040.ddscahwp2agknihb@abyayala> Reply-To: sirgazil Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56419) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i6Io8-0001gq-Ba for bug-guix@gnu.org; Fri, 06 Sep 2019 14:18:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i6Io7-0007rk-6H for bug-guix@gnu.org; Fri, 06 Sep 2019 14:18:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56756) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i6Io6-0007rE-CP for bug-guix@gnu.org; Fri, 06 Sep 2019 14:18:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i6Io6-0008Kj-67 for bug-guix@gnu.org; Fri, 06 Sep 2019 14:18:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 26302 <26302@debbugs.gnu.org> Hi, Florian :) I haven't had the time to work on the website again, so I haven't tried you= r code yet. But I'm glad you're working on this. Regarding URLs, I would prefer using IRIs, like follows: /IETF-LANGUAGE-TAG/path/to/resource/ So: /es-ES/v=C3=ADdeos/ /es-CO/videos/ Currently, I do this for document-like resources, but I haven't thought if = the same should be done for other resources like images, videos, etc., that= may need localization as well. I have to say that I'm always afraid that something will break if you don't= feed English to current systems, though. See for example the URLs that res= ult when you export texinfo documentation written in other languages to HTM= L: https://guix.gnu.org/manual/es/html_node/Instalacion-del-sistema.html#Ins= talaci_00f3n-del-sistema In this example, the accented "=C3=B3" of "Instalaci=C3=B3n" is changed in = two different ways that make the URL less readable for a Spanish speaker. Still, I think it's good to internationalize whatever is supposed to be "lo= calizable" (in theory) to push systems to handle other languages better. Speaking of the manual, I would also think about changing its URL path to t= he /IETF-LANGUAGE-TAG/manual/ form to make everything uniform if possible. As for the website dropdowns, that could be reported as a separate issue (y= es, they are not really accessible at the moment). I didn't know how to imp= lement the tab navigation for them at that time, but I think it is possible= using only CSS. --- https://sirgazil.bitbucket.io/