Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add GeoHack with local map/lang support #98

Open
tankaru opened this issue Jan 5, 2023 · 4 comments
Open

add GeoHack with local map/lang support #98

tankaru opened this issue Jan 5, 2023 · 4 comments

Comments

@tankaru
Copy link
Owner

tankaru commented Jan 5, 2023

(1) With lang and region:
https://geohack.toolforge.org/geohack.php?language=de&params=48.137222222222_N_11.575555555556_E_region:DE

(2) Lang only:
https://geohack.toolforge.org/geohack.php?language=de&params=48.137222222222_N_11.575555555556_E

I think (1) is friendly.

@tankaru
Copy link
Owner Author

tankaru commented Jan 5, 2023

#76 (comment)

@tankaru
Copy link
Owner Author

tankaru commented Jan 6, 2023

Region is not obtained from browser. I use option (2).

@fxedel
Copy link

fxedel commented Jul 19, 2023

Hi, I get language=de-DE instead of language=de with the current plugin version 1.5.0. Unfortunately, Geohack does ignore the de-DE value, it only understands de. Furthermore, adding region:de significantly improves the result, as mainly german maps are displayed then. Would it be possible to just use the language as region?

@pigsonthewing
Copy link

Hi, I get language=de-DE instead of language=de with the current plugin version 1.5.0. Unfortunately, Geohack does ignore the de-DE value, it only understands de.

I have asked for this to be fixed, at https://www.mediawiki.org/wiki/Talk:GeoHack#Language_fallback

Furthermore, adding region:de significantly improves the result, as mainly german maps are displayed then. Would it be possible to just use the language as region?

Language is not region; consider Spanish in Mexico or Portuguese in Brazil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants