{"action":"created","issue":{"url":"https://api.github.com/repos/glueckpress/wpistnotwp.com/issues/3","repository_url":"https://api.github.com/repos/glueckpress/wpistnotwp.com","labels_url":"https://api.github.com/repos/glueckpress/wpistnotwp.com/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/glueckpress/wpistnotwp.com/issues/3/comments","events_url":"https://api.github.com/repos/glueckpress/wpistnotwp.com/issues/3/events","html_url":"https://github.com/glueckpress/wpistnotwp.com/issues/3","id":254234583,"number":3,"title":"Adding languages","user":{"login":"glueckpress","id":308422,"avatar_url":"https://avatars1.githubusercontent.com/u/308422?v=4","gravatar_id":"","url":"https://api.github.com/users/glueckpress","html_url":"https://github.com/glueckpress","followers_url":"https://api.github.com/users/glueckpress/followers","following_url":"https://api.github.com/users/glueckpress/following{/other_user}","gists_url":"https://api.github.com/users/glueckpress/gists{/gist_id}","starred_url":"https://api.github.com/users/glueckpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glueckpress/subscriptions","organizations_url":"https://api.github.com/users/glueckpress/orgs","repos_url":"https://api.github.com/users/glueckpress/repos","events_url":"https://api.github.com/users/glueckpress/events{/privacy}","received_events_url":"https://api.github.com/users/glueckpress/received_events","type":"User","site_admin":false},"labels":[{"id":669439760,"url":"https://api.github.com/repos/glueckpress/wpistnotwp.com/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":{"login":"glueckpress","id":308422,"avatar_url":"https://avatars1.githubusercontent.com/u/308422?v=4","gravatar_id":"","url":"https://api.github.com/users/glueckpress","html_url":"https://github.com/glueckpress","followers_url":"https://api.github.com/users/glueckpress/followers","following_url":"https://api.github.com/users/glueckpress/following{/other_user}","gists_url":"https://api.github.com/users/glueckpress/gists{/gist_id}","starred_url":"https://api.github.com/users/glueckpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glueckpress/subscriptions","organizations_url":"https://api.github.com/users/glueckpress/orgs","repos_url":"https://api.github.com/users/glueckpress/repos","events_url":"https://api.github.com/users/glueckpress/events{/privacy}","received_events_url":"https://api.github.com/users/glueckpress/received_events","type":"User","site_admin":false},"assignees":[{"login":"glueckpress","id":308422,"avatar_url":"https://avatars1.githubusercontent.com/u/308422?v=4","gravatar_id":"","url":"https://api.github.com/users/glueckpress","html_url":"https://github.com/glueckpress","followers_url":"https://api.github.com/users/glueckpress/followers","following_url":"https://api.github.com/users/glueckpress/following{/other_user}","gists_url":"https://api.github.com/users/glueckpress/gists{/gist_id}","starred_url":"https://api.github.com/users/glueckpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glueckpress/subscriptions","organizations_url":"https://api.github.com/users/glueckpress/orgs","repos_url":"https://api.github.com/users/glueckpress/repos","events_url":"https://api.github.com/users/glueckpress/events{/privacy}","received_events_url":"https://api.github.com/users/glueckpress/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-08-31T07:02:02Z","updated_at":"2017-09-01T01:19:51Z","closed_at":null,"author_association":"OWNER","body":"Currently, there are 2 requests to add Chinese (Taiwan) and Portuguese translations to this website. While I see no issues with adding languages in general, I’d appreciate feedback for the infamous decision:\r\n\r\n## Subdomains or sub-directories?\r\n\r\ni.e.: `{locale}.wpistnotwp.com` or `wpistnotwp.com/{locale}/`?\r\n\r\nSince this website is and always will be plain static HTML, there are no technical implications here. Subdomains are free on my account, so we can add as many as we wish.\r\n\r\nThe question is: Which is nicer to use and easier to remember, a subdomain or a sub-directory?\r\n\r\nI’ve looked around for examples:\r\n\r\n### A. WordPress.org\r\n\r\n```\r\ntw.wordpress.org – Chinese (Taiwan)\r\ncn.wordpress.org – Chinese (China)\r\npt.wordpress.org – Portuguese (Portugal)\r\nbr.wordpress.org – Portuguese (Brazil)\r\nru.wordpress.org – Russian (no variant)\r\n\r\n```\r\n\r\n### B. WordPress.com\r\n\r\n```\r\nzh-tw.wordpress.com – Chinese (Taiwan)\r\nzh-cn.wordpress.com – Chinese (China)\r\n                    – Portuguese (Portugal) not supported\r\nbr.wordpress.com    – Portuguese (Brazil)\r\nru.wordpress.com    – Russian (no variant)\r\n```\r\n\r\n_Apparently it’s the simplified locale code when there is no variant available on the platform, regardless of variants for a locale in general._\r\n\r\n### C. Mozilla\r\n\r\n```\r\nwww.mozilla.org/zh-TW/ – Chinese (Taiwan)\r\nwww.mozilla.org/zh-CN/ – Chinese (China)\r\nwww.mozilla.org/pt-PT/ – Portuguese (Portugal)\r\nwww.mozilla.org/pt-BR/ – Portuguese (Brazil)\r\nwww.mozilla.org/ru/    – Russian (no variant)\r\n```\r\n\r\nMy personal preference goes in direction of B (WordPress.com), but with full locale codes for every locale that could have variants:\r\n\r\n```\r\nzh-tw.wpisnotwp.com – Chinese (Taiwan)\r\nzh-cn.wpisnotwp.com – Chinese (China)\r\npt-pt.wpisnotwp.com – Portuguese (Portugal)\r\npt-br.wpisnotwp.com – Portuguese (Brazil)\r\nru.wpisnotwp.com    – Russian (no variant)\r\n```\r\n\r\n## Feedback?\r\n\r\nI don’t mean to over-engineer this decision, but I’d appreciate feedback from a few people before moving on with an actual implementation.\r\n\r\n- Which structure would you prefer: A, or B, or C, or a different one?\r\n- Why?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/glueckpress/wpistnotwp.com/issues/comments/326461868","html_url":"https://github.com/glueckpress/wpistnotwp.com/issues/3#issuecomment-326461868","issue_url":"https://api.github.com/repos/glueckpress/wpistnotwp.com/issues/3","id":326461868,"user":{"login":"Pseric","id":3773310,"avatar_url":"https://avatars1.githubusercontent.com/u/3773310?v=4","gravatar_id":"","url":"https://api.github.com/users/Pseric","html_url":"https://github.com/Pseric","followers_url":"https://api.github.com/users/Pseric/followers","following_url":"https://api.github.com/users/Pseric/following{/other_user}","gists_url":"https://api.github.com/users/Pseric/gists{/gist_id}","starred_url":"https://api.github.com/users/Pseric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pseric/subscriptions","organizations_url":"https://api.github.com/users/Pseric/orgs","repos_url":"https://api.github.com/users/Pseric/repos","events_url":"https://api.github.com/users/Pseric/events{/privacy}","received_events_url":"https://api.github.com/users/Pseric/received_events","type":"User","site_admin":false},"created_at":"2017-09-01T01:19:51Z","updated_at":"2017-09-01T01:19:51Z","author_association":"NONE","body":"Hi,\r\n\r\nI prefer to use A. WordPress.org URL architecture, which is a Subdomains, on the other hand, wpisnotwp.com and WordPress.org related, it will be more easy to remember.\r\n\r\nThanks!\r\n"}}
{"actor":{"display_login":"Pseric"}}