Greasy Fork is available in English.

Google Hit Hider by Domain (Search Filter / Block Sites)

Block unwanted sites from your Google, DuckDuckGo, Startpage.com, Bing and Yahoo search results. v2.3.1 2024-05-11

< Feedback on Google Hit Hider by Domain (Search Filter / Block Sites)

Question/comment

§
Posted: 11 Desember 2018

Can sombody translate the interface text to Chinese?

Not everyone can speak/read/write English……

§
Posted: 13 Desember 2018

I definitely do not speak/read/write Chinese. Is there a forum with a lot of Chinese speakers where someone might be interested in working on a translation?

§
Posted: 24 Desember 2018

@"Jefferson Scher" 说道: I definitely do not speak/read/write Chinese. Is there a forum with a lot of Chinese speakers where someone might be interested in working on a translation?

I read this from bbs kafan.cn. And I am also a script writer, anything I can do, I would like to help. Or maybe I can translate this script with this version into CN.

§
Posted: 24 Desember 2018

Hi inDarkness, what is a good approach to making a userscript multilingual? Are there successful examples?

Thinking about this in general, I think there are (at least) three aspects:

(1) Modify the script to store the text strings in variables, for example:

var strings = {
  en: { closeButton: "Close", ... }, 
  zh-CN: { closeButton: "TBD", ... } 
};

(2) Provide some UI to users to switch between available languages; possibly choose the initial language based on the value of navigator.language

(3) Modify sizing of dialogs to accommodate differences, and standardize fonts to work around website differences

Of course, there will be bugs...

§
Posted: 25 Desember 2018

Hmm, I started working on this, but I'm getting a lot of errors. It's probably a better idea to copy the script and create a separate translated version if you want to get started right away.

§
Posted: 25 Desember 2018
Edited: 25 Desember 2018

@"Jefferson Scher" 说道: Hmm, I started working on this, but I'm getting a lot of errors. It's probably a better idea to copy the script and create a separate translated version if you want to get started right away.

:D :D I considered that problem too, and what I thought is just the same as your's. But create a new script may have some differences from the ori script, it there anything I should notice in the Redme please let me know. :p :p

§
Posted: 23 Januari 2019

@"Jefferson Scher" 说道: Hmm, I started working on this, but I'm getting a lot of errors. It's probably a better idea to copy the script and create a separate translated version if you want to get started right away.

:D Hmm, I imitate your script.And add it in my script.I think it is necessary to message you. The function ways is a copy of your's. While my script is in CN, and your's is in EN.Thanks for your idea at this script.

§
Posted: 01 Maret 2019

Hi, I was traveling for a few weeks. Did you have a question about the license? The code is available to re-use under https://opensource.org/licenses/BSD-3-Clause

For a userscript hosted on this site, I would be happy with a short attribution like:

// Contains some code from Google Hit Hider by Domain, https://greasyfork.org/scripts/1682-google-hit-hider-by-domain-search-filter-block-sites

Post reply

Sign in to post a reply.