{"action":"created","issue":{"url":"https://api.github.com/repos/ReactiveX/reactivex.github.io/issues/105","labels_url":"https://api.github.com/repos/ReactiveX/reactivex.github.io/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveX/reactivex.github.io/issues/105/comments","events_url":"https://api.github.com/repos/ReactiveX/reactivex.github.io/issues/105/events","html_url":"https://github.com/ReactiveX/reactivex.github.io/issues/105","id":64668861,"number":105,"title":"Internationalization of reactivex.io","user":{"login":"zsxwing","id":1000778,"avatar_url":"https://avatars.githubusercontent.com/u/1000778?v=3","gravatar_id":"","url":"https://api.github.com/users/zsxwing","html_url":"https://github.com/zsxwing","followers_url":"https://api.github.com/users/zsxwing/followers","following_url":"https://api.github.com/users/zsxwing/following{/other_user}","gists_url":"https://api.github.com/users/zsxwing/gists{/gist_id}","starred_url":"https://api.github.com/users/zsxwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsxwing/subscriptions","organizations_url":"https://api.github.com/users/zsxwing/orgs","repos_url":"https://api.github.com/users/zsxwing/repos","events_url":"https://api.github.com/users/zsxwing/events{/privacy}","received_events_url":"https://api.github.com/users/zsxwing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-27T01:11:53Z","updated_at":"2015-03-27T17:32:47Z","closed_at":null,"body":"How to add a new language of docs, such as Chinese? Just put the new markdown files to subfolders, such as `/cn`?"},"comment":{"url":"https://api.github.com/repos/ReactiveX/reactivex.github.io/issues/comments/87024342","html_url":"https://github.com/ReactiveX/reactivex.github.io/issues/105#issuecomment-87024342","issue_url":"https://api.github.com/repos/ReactiveX/reactivex.github.io/issues/105","id":87024342,"user":{"login":"DavidMGross","id":4491168,"avatar_url":"https://avatars.githubusercontent.com/u/4491168?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidMGross","html_url":"https://github.com/DavidMGross","followers_url":"https://api.github.com/users/DavidMGross/followers","following_url":"https://api.github.com/users/DavidMGross/following{/other_user}","gists_url":"https://api.github.com/users/DavidMGross/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidMGross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidMGross/subscriptions","organizations_url":"https://api.github.com/users/DavidMGross/orgs","repos_url":"https://api.github.com/users/DavidMGross/repos","events_url":"https://api.github.com/users/DavidMGross/events{/privacy}","received_events_url":"https://api.github.com/users/DavidMGross/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T17:32:47Z","updated_at":"2015-03-27T17:32:47Z","body":"Good question, and good idea.\r\n\r\nOne option would be to detect the browser language preferences and serve up different content at the same URLs depending on which languages they desire and which ones we can provide. Another option would be to have language-specific duplicates of the content in language-specific subdirectories, as you suggest.\r\n\r\nThe first option allows us to also translate the page scaffolding (header/footer/menu/etc.), though I suppose we could do that either way.\r\n\r\nIdeally, we'd also add a link tag to the header of any other language-specific versions of the same page, e.g.:\r\n```\r\n<link rel=\"alternate\" hreflang=\"cn\" href=\"https://reactivex.io/documentation/cn/observable.html\" />\r\n```\r\n"}}