fyr77/EnvyUpdate

Use proper locale

fyr77 opened this issue · 4 comments

fyr77 commented

The drivers support multiple download locations and locales. Detecting them and using the correct download would be nice.

Supported languages:

  • English (US)
  • English (UK)
  • English (India)
  • Chinese (Simplified)
  • Chinese (Traditional)
  • Japanese
  • Korean
  • German Deutsch
  • Spanish (Spain) Español (España)
  • Spanish (Latin America) Español (América Latina)
  • French Français
  • Italian Italiano
  • Polish Polski
  • Portuguese (Brazil) Português (Brazil)
  • Russian Pусский
  • Turkish
  • Other
fyr77 commented

Instead of mapping all windows locales to the ones provided by nvidia, it may be easier to perform a ping test in the background to figure out which download server to use. The downloaded driver package does not seem to differ based on region.

fyr77 commented

The download servers I could find are, in order of the countries listed above:

download page download server
https://www.nvidia.com/Download/ https://us.download.nvidia.com/Windows/
https://www.nvidia.co.uk/download/ https://uk.download.nvidia.com/Windows/
https://www.nvidia.in/Download/ https://in.download.nvidia.com/Windows/
https://www.nvidia.cn/download/ https://cn.download.nvidia.com/Windows/
https://www.nvidia.com.tw/download/ https://tw.download.nvidia.com/Windows/
https://www.nvidia.co.jp/download/ https://jp.download.nvidia.com/Windows/
https://www.nvidia.co.kr/download/ https://kr.download.nvidia.com/Windows/
https://www.nvidia.de/download/ https://de.download.nvidia.com/Windows/
https://www.nvidia.es/download/ https://es.download.nvidia.com/Windows/
https://la.nvidia.com/download/ https://us.download.nvidia.com/Windows/
https://www.nvidia.fr/download/ https://fr.download.nvidia.com/Windows/
https://www.nvidia.it/download/ https://it.download.nvidia.com/Windows/
https://www.nvidia.pl/download/ https://pl.download.nvidia.com/Windows/
https://www.nvidia.com.br/download/ https://us.download.nvidia.com/Windows/
https://www.nvidia.ru/download/ https://ru.download.nvidia.com/Windows/
https://www.nvidia.com.tr/download/ https://tr.download.nvidia.com/Windows/
https://www.nvidia.com/download/ https://uk.download.nvidia.com/Windows/

What I can see here is:

  • US, Latin America and Brazil use the same download server (US).
  • UK and Other use the same download server (UK). Does Other depend on system locale?
fyr77 commented

Nevermind, all download servers redirect to a CDN.
This means the only reason to use the correct download pages is for user convenience. Download speeds and files are identical.

fyr77 commented

I am closing this for now. The work required is not worth the result, especially since it will become completely obsolete as soon as #14 is implemented.