Discussions » Creation Requests

переключение языка на Aliexpress/language switch on Aliexpress

§
Posted: 2017-03-05
Edited: 2017-03-05

переключение языка на Aliexpress/language switch on Aliexpress

при переходе по ссылкам которые начинаются с https://ru.aliexpress.com интерфейс сайта автоматом меняется на русский. поменять обратно на английский, можно только в правом-верхнем углу сайта, переход по ссылке https://www.aliexpress.com язык не переключит.
в английском интерфейсе ориентироваться удобнее и описание товаров точнее.
хочу чтобы при входе на https://ru.aliexpress.com перенаправляло на https://www.aliexpress.com
================================================
when you click on links that start with https://ru.aliexpress.com site machine interface is changed to Russian. change back to English, can only be in the upper-right corner of the site, following the link https://www.aliexpress.com language does not switch.
English interface easier to navigate and more precise description of the goods.
I want to at the entrance to https://ru.aliexpress.com redirected to https://www.aliexpress.com

wOxxOmMod
§
Posted: 2017-03-05

aliexpress.com remembers your language preference and will always open English version if you enable cookies for this site.

§
Posted: 2017-03-05

no. not for the Russians. I'm always open https://www.aliexpress.com/, this address is in my bookmarks. but if I go to the website link that begins with https://ru.aliexpress.com/, the language is changed to Russian. it is right. but then, when you open the site bookmarks always opens https://ru.aliexpress.com/. and so it will be as long as the language is switched to the upper-right corner of the page.

wOxxOmMod
§
Posted: 2017-03-05

Well, the script itself is simple:

// ==UserScript==
// @name    aliexpress global
// @match   *://ru.aliexpress.com/*
// @run-at  document-start
// ==/UserScript==

document.cookie = 'aep_usuc_f=b_locale=en_US&site=glo; domain=aliexpress.com; path=/';
location.href = 'https://www.aliexpress.com';

Unfortunately, aliexpress.com uses different category identifiers

That's why my script redirects to the main page as I don't see how to transform the identifiers.

Post reply

Sign in to post a reply.