1 |
On 30/05/15 14:07, gevisz wrote: |
2 |
>I do not know how to do that. |
3 |
|
4 |
Go to [1], scroll to the bottom. There should be some settings for yt |
5 |
language. |
6 |
|
7 |
>Yes, but according to the link, provided by Marc, it contains gettext |
8 |
>instruction for its translation according to the locale set on the |
9 |
>local computer. |
10 |
> |
11 |
>I get this issue for all youtube videos, either on youtube or embedded |
12 |
>into the html code on other web-sites: right-clicking the video brings |
13 |
>the menu in a non-English language. (One of its entries in English is |
14 |
>"Get embedded code".) |
15 |
|
16 |
No. It's about localizing web pages with gettext. gettext is on the |
17 |
server side. The server sets a locale for the session and then localizes |
18 |
your page accordingly via calls to gettext before you even get the page. |
19 |
|
20 |
Basically on your first visit yt tries to guess your locale based on |
21 |
several parameters. Mainly the Accept-Language http header (the thing in |
22 |
Settings->Content which you already found). It stores whatever your |
23 |
current setting is in your cookies and whenever you visit yt or have a |
24 |
video embedded in some site this cookie determines the language for yt |
25 |
content. |
26 |
|
27 |
>Moreover, if the menu "is from the site and not from firefox", why I |
28 |
>get it in English from the other instance of the Firefox run in the |
29 |
>same environment? |
30 |
|
31 |
It probably uses the same cookies. |
32 |
|
33 |
[1] http://youtube.com |