Live data from Hacker News

The future of MDN: a focus on web docs

blog.mozilla.org

71–80 of 113 posts

Re: The future of MDN: a focus on web docs

#71

One thing that would be brilliant and would also help with numerous other issues would be if the site was open source and available on Github. This change would allow numerous improvements such as up-to-date, relevant examples, issues and pull requests for discussions and improvement etc.

Looks like the code is on github at https://github.com/mozilla/kuma

Re: The future of MDN: a focus on web docs

#72
post #50
post #39

Earlier quoted context omitted.

To the best of my knowledge, if you go to https://developer.mozilla.org you're just served articles in English (that may be because I have English set as my language in my browser, I don't remember what happens if I set it to my actual native language). But I noticed that Google search results actually are pointing me to my native language.

They automatically set it according to your location, I have the same problem in France.

if you don't want geo location for other reasons, you can turn it off :

https://support.mozilla.org/en-US/questions/1002846

Re: The future of MDN: a focus on web docs

#73
post #12

Yeah for this statement, "...often Web developers are looking for quick examples...", I don't even care if the examples are higher up on the page or not...I just would like more and more examples. Sometimes the examples are too few or don't fully exemplify options of particular functions, etc. Nevertheless, I'm absolutely grateful to all the folks who put in so much work into MDN. If you are one of those people, know…

It's a wiki. You can edit it!

Re: The future of MDN: a focus on web docs

#74
post #39

Earlier quoted context omitted.

To the best of my knowledge, if you go to https://developer.mozilla.org you're just served articles in English (that may be because I have English set as my language in my browser, I don't remember what happens if I set it to my actual native language). But I noticed that Google search results actually are pointing me to my native language.

I'm Swedish, and get "redirected" to https://developer.mozilla.org/sv-SE/ if I follow that link, even though I have English set as the language in my browser.

2011-2015 I was on the team at Mozilla responsible for MDN.

At the time it most certainly was not doing any type of IP geolocation; your browser's Accept-Language header was how we initially determined the language to show you.

Edit: And it still does only use Accept-Language. Here's the code:

https://github.com/mozilla/kuma/blob/a3ad0dbb286fd45affdf1ae...

Re: The future of MDN: a focus on web docs

#75
post #67

Earlier quoted context omitted.

I'm Swedish, and get "redirected" to https://developer.mozilla.org/sv-SE/ if I follow that link, even though I have English set as the language in my browser.

I'm Swedish and I don't get redirected. Are you sure Swedish isn't listed in (firefox) Options -> Content -> Languages -> Choose... ? (the language of the browser itself is irrelevant) It's embarrassing how many steps you have to take do this. Why not honor my OS settings huh...

I'm on Chrome, and even though both my OS and browser is set to English, I do get redirected to the translated page.

Thanks for the heads up though, I'll do some more digging and see if I can manage to change it.

Re: The future of MDN: a focus on web docs

#77
post #67

Earlier quoted context omitted.

I'm Swedish and I don't get redirected. Are you sure Swedish isn't listed in (firefox) Options -> Content -> Languages -> Choose... ? (the language of the browser itself is irrelevant) It's embarrassing how many steps you have to take do this. Why not honor my OS settings huh...

I'm on Chrome, and even though both my OS and browser is set to English, I do get redirected to the translated page. Thanks for the heads up though, I'll do some more digging and see if I can manage to change it.

I don't get redirected in chrome wither, granted I always need to relentlessly hunt down obscure language menus.

Perhaps: Settings -> Show advanced settings (sigh) -> Language and input settings

Re: The future of MDN: a focus on web docs

#78

Earlier quoted context omitted.

I'm Swedish, and get "redirected" to https://developer.mozilla.org/sv-SE/ if I follow that link, even though I have English set as the language in my browser.

2011-2015 I was on the team at Mozilla responsible for MDN. At the time it most certainly was not doing any type of IP geolocation; your browser's Accept-Language header was how we initially determined the language to show you. Edit: And it still does only use Accept-Language. Here's the code: https://github.com/mozilla/kuma/blob/a3ad0dbb286fd45affdf1ae...

Thank you, I'll look deeper and see if I can solve it. It's likely an issue on my end then, I've corrected my comment.

Re: The future of MDN: a focus on web docs

#79
post #77

Earlier quoted context omitted.

I'm on Chrome, and even though both my OS and browser is set to English, I do get redirected to the translated page. Thanks for the heads up though, I'll do some more digging and see if I can manage to change it.

I don't get redirected in chrome wither, granted I always need to relentlessly hunt down obscure language menus. Perhaps: Settings -> Show advanced settings (sigh) -> Language and input settings

Ugh, you have to drag and drop order in that list. Top-to-bottom priority. Now it works.

Tack för hjälpen!

Re: The future of MDN: a focus on web docs

#80
post #12

Yeah for this statement, "...often Web developers are looking for quick examples...", I don't even care if the examples are higher up on the page or not...I just would like more and more examples. Sometimes the examples are too few or don't fully exemplify options of particular functions, etc. Nevertheless, I'm absolutely grateful to all the folks who put in so much work into MDN. If you are one of those people, know…

That's why I love the Highcharts.js docs[1], which redirect to jsfiddle examples.

[1]http://api.highcharts.com/highcharts

Post reply on HN