View Single Post
Old 12-27-2019, 04:34 AM   #411
BetaMaster
Junior Member
BetaMaster began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2019
Location: Medan, Indonesia
Device: Kobo Clara HD, Onyx Boox Max 3
Quote:
Originally Posted by geek1011 View Post
Try this in libnickel for 4.19.14123:

Code:
Change Google search language:
  - Enabled: no
  - Description: Changes the language used for Google in the reader selection menu.
  # In WebSearchMixinBase::doGoogleSearch:
  # don't let the firmware override the hl parameter (NOP QUrlQuery::addQueryItem)
  - ReplaceBytesNOP: {Offset: 0x86EBAE, FindBLX: 0x4CE0B0}
  # hl = interface language
  # gl = primary search result country
  # See https://developers.google.com/custom-search/docs/xml_results_appendices#interfaceLanguages
  - FindReplaceString: {Find: "https://www.google.com/search?safe=active", Replace: "https://google.com/search?hl=en&gl=en"}
I won't be including this in the patch zip, though, unless there is more demand for it.
Many thanks for this patch!!! It helps me to find more specific results based on my country. I hope Kobo will implement real Google translate in the future.
BetaMaster is offline   Reply With Quote