From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-164627-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3DB77138CD0 for <garchives@archives.gentoo.org>; Sat, 30 May 2015 11:59:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CB0AE096B; Sat, 30 May 2015 11:59:14 +0000 (UTC) Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 56B2EE0961 for <gentoo-user@lists.gentoo.org>; Sat, 30 May 2015 11:59:13 +0000 (UTC) Received: by wizo1 with SMTP id o1so52580297wiz.1 for <gentoo-user@lists.gentoo.org>; Sat, 30 May 2015 04:59:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=LXYosZlw6nRJNT9rmbTcptIZM2PrDkCSd36YrW+NWFk=; b=vpOEfgwt7B1z6ttVc+edwTRoFZNuFSiAw5d/vN1X8fMXHBG6a0h7X3a3SQsjJCrkSY 7Lql/Op/sjHcxPt2zE7L3moMsTryONHbhaowVIeED83F/JSdziL6eOzBcKgDfzcSQSuD y33WjgS/UnOdjqmy4l7R51grDYHTtzrSXzElBLqEG9o3+P4cQ9iqozn6E64z7fqkWzuR Z1vp9E2Tqzxsds+1uu2CpeIcN/PP8RtGSymwEf8ZGV6YuKFZseSSyvUU2KvG0zYMeSSO Vdk7wLdYPH/L/5DKD6BY1IRNoQd1EW64ZeQR5CjW6xwLFarBijLth8L4+wKHR9YkbWds AtrA== Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.194.205.37 with SMTP id ld5mr24621117wjc.14.1432987152239; Sat, 30 May 2015 04:59:12 -0700 (PDT) Received: by 10.27.178.16 with HTTP; Sat, 30 May 2015 04:59:12 -0700 (PDT) In-Reply-To: <20150530113140.GA20572@gmx.de> References: <CA+t6X7cZsj7kC0iyy785Wzemu0w99jEM_FLS9Cq-k1Q73P=Xmw@mail.gmail.com> <201505291547.08439.michaelkintzios@gmail.com> <CA+t6X7cn-oyWJU7aEk0VSKx4=L4uS-ue_vMdk1W5Nm4t+gcujw@mail.gmail.com> <201505291736.43214.michaelkintzios@gmail.com> <CA+t6X7fHoHkf4jLu=qZxrq9stfMTpiQUBs4H8Y5B3ikBGQS78A@mail.gmail.com> <CA+t6X7cKSBLL0i7S2h7WMp3LGxjmAfqQ887D0F9=TuSYiB=P9g@mail.gmail.com> <CA+t6X7f_pS2fnOx_tJ5VfLQM2qrXY6uq09xdaFDvsC5vZF9hWQ@mail.gmail.com> <20150530100231.GA11766@gmx.de> <CA+t6X7fbiJCvYuXoKevayt2hz6xAjaKKoh_TdF0u4QvR=GMm_w@mail.gmail.com> <20150530113140.GA20572@gmx.de> Date: Sat, 30 May 2015 14:59:12 +0300 Message-ID: <CA+t6X7ejPT2_wQvYhfFMOMQ7B+qby97j+kd5sFY2_eVyaSQxZA@mail.gmail.com> Subject: Re: [gentoo-user] Unwelcomed non-native language support From: gevisz <gevisz@gmail.com> To: "gentoo-user@lists.gentoo.org" <gentoo-user@lists.gentoo.org> Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 5f25ee79-a7b2-49ae-beec-5239d3004441 X-Archives-Hash: 80cd1115c9d163397b30b77b601a3903 2015-05-30 14:31 GMT+03:00 <rhannek@gmx.de>: > On 30/05/15 14:07, gevisz wrote: >> >> I do not know how to do that. > > Go to [1], scroll to the bottom. There should be some settings for yt > language. > >> Yes, but according to the link, provided by Marc, it contains gettext >> instruction for its translation according to the locale set on the >> local computer. >> >> I get this issue for all youtube videos, either on youtube or embedded >> into the html code on other web-sites: right-clicking the video brings >> the menu in a non-English language. (One of its entries in English is >> "Get embedded code".) > > > No. It's about localizing web pages with gettext. gettext is on the > server side. The server sets a locale for the session and then localizes > your page accordingly via calls to gettext before you even get the page. > > Basically on your first visit yt tries to guess your locale based on > several parameters. Mainly the Accept-Language http header (the thing in > Settings->Content which you already found). It stores whatever your > current setting is in your cookies and whenever you visit yt or have a > video embedded in some site this cookie determines the language for yt > content. Ok, thank you for explanation. If the localization is done on the server side, then cleaning the cookies should help and it indeed helped: the menu returned to its English view as soon as I deleted all my cookies from youtube. >> Moreover, if the menu "is from the site and not from firefox", why I >> get it in English from the other instance of the Firefox run in the >> same environment? > > It probably uses the same cookies. Probably you meant "the different cookies." > [1] http://youtube.com Too late get your explanation about checking the "yt language." Now, after deleting all youtube cookies, it is set to English as desired.