mchristopher / PokemonGo-DesktopMap

Electron App around PokemonGo-Map
https://pokemon-go-updater.mike.ai/download
MIT License
1.76k stars 392 forks source link

[Feature request] localized pokemons #1148

Closed MarkoHess closed 2 years ago

MarkoHess commented 8 years ago

Hi, as far as i understood your project uses the underlying PokemonGo-Map as you also write in your readme. At their github project stands "Localization (en, fr, pt_br, de, ru, ja, zh_tw, zh_cn, zh_hk)" feature. Can you give us an option to use the localized pokenames? Thx!

MarkoHess commented 8 years ago

For those who also want localized names in your map. At hte app folder (app-0.3.4\resources\app\map\config) is a file named config.ini.example

put inside a new line named "locale:de" or en,fr,ru and so on. Start your application and it should work. hint: if you also want to show and save the gym detail info, then uncomment "gym-info:" and set it to true.

here is my config.ini Important! Save it as config.ini in the config folder

`# DO NOT USE NOTEPAD TO EDIT CONFIG FILES!! USE NOTEPAD ++ INSTEAD.

Authentication settings

auth-service: # ptc (default) or google

username:

password:

Database settings

db-type: sqlite # sqlite (default) or mysql

db-host: # required for mysql

db-name: # required for mysql

db-user: # required for mysql

db-pass: # required for mysql

db-port: # default 3306

Search settings

location:

no-gyms: # disables gym scanning (default false)

no-pokemon: # disables pokemon scanning (default false)

no-pokestops: # disables pokestop scanning (default false)

scan-delay: # default 10

step-limit: # default 12

gym-info:true # enables detailed gym info collection (default false)

min-seconds-left: # time that must be left on a spawn before considering it too late and skipping it (default 0)

status-name # enables writing status updates to the database - if you use multiple processes, each needs a unique value

locale:de

Misc

gmaps-key: # your Google Maps API key

proxy: # Proxy URL e.g. socks5://127.0.0.1:9050 or a list of proxies e.g. [socks5://127.0.0.1:9050,socks5://127.0.0.1:9050]

proxy-timeout: # Timeout before proceeding with next proxy while checking if the proxy works, (default 5)

proxy-display: # Used with -ps, full = display complete proxy address. Index = displays just the index for that proxy (default index)

webhook: # webhook URL (including http://)

webhook-updates-only: # only send updates to webhooks, (excludes gyms & non-lured pokéstops)

Webserver settings

host: # address to listen on (default 127.0.0.1)

port: # port to listen on (default 5000)

locale: # pokemon translation

ssl-certificate: # path to ssl certificate

ssl-privatekey: # path to ssl private key

encrypt-lib: # path to encrypt lib to be used instead of the shipped ones

status-page-password # enables and protects the /status page to view status of all workers

Uncomment a line when you want to change its default value (Remove # at the beginning)

username, password, location and gmaps-key are required

`