iojs.org icon indicating copy to clipboard operation
iojs.org copied to clipboard

Language detection + linking

Open snostorm opened this issue 10 years ago • 9 comments

I think our i18n efforts are far enough along now we should be linking to them and possibly suggesting to users they hit those pages versus english.

I'll propose something simple in a PR for this. Just tracking the idea here.

snostorm avatar Feb 23 '15 14:02 snostorm

+1

therebelrobot avatar Feb 23 '15 15:02 therebelrobot

Sounds good. Are the loaclization teams still hosting on country specific domains? If so, I think we should heavily encourage them to use cc.iojs.org, if not require it for maintaining a repo on github.com/iojs.

bnb avatar Feb 23 '15 18:02 bnb

Discussed in the last meeting, a some sort of non-url language selection should be priority over (and should come before) this.

Fishrock123 avatar Feb 23 '15 20:02 Fishrock123

Saw this in the learnyounode repo and I think keeping links like the ones on top is a good idea: http://www.finnpauls.de/learnyounode/guide/hello_world.html

julianduque avatar Feb 24 '15 19:02 julianduque

@julianduque thanks. We probably have too many languages now to go horizontal, but I'm thinking of ripping of Wikipedia and going vertical at first. A dropdown is an option too, but is less obvious. (Also, long term, not every article may exist for every language, so this might help with per-article translation discoverability.)

snostorm avatar Feb 27 '15 13:02 snostorm

If we could us Unicode flags or something that would be rad.

Fishrock123 avatar Feb 28 '15 23:02 Fishrock123

@Fishrock123 No, please. Flags/countries != languages.

fhemberger avatar May 04 '15 09:05 fhemberger

Flags/countries != languages

Ah true.

Fishrock123 avatar May 04 '15 19:05 Fishrock123

We could add automatic redirection to the localized version based on the user's 'Accept-Language' header settings. There's an nginx module for that: http://wiki.nginx.org/AcceptLanguageModule

fhemberger avatar May 04 '15 23:05 fhemberger