{"action":"created","issue":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/5888","labels_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/5888/labels{/name}","comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/5888/comments","events_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/5888/events","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/5888","id":124929153,"number":5888,"title":"Could not switch localization language","user":{"login":"NateLing","id":9606668,"avatar_url":"https://avatars.githubusercontent.com/u/9606668?v=3","gravatar_id":"","url":"https://api.github.com/users/NateLing","html_url":"https://github.com/NateLing","followers_url":"https://api.github.com/users/NateLing/followers","following_url":"https://api.github.com/users/NateLing/following{/other_user}","gists_url":"https://api.github.com/users/NateLing/gists{/gist_id}","starred_url":"https://api.github.com/users/NateLing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NateLing/subscriptions","organizations_url":"https://api.github.com/users/NateLing/orgs","repos_url":"https://api.github.com/users/NateLing/repos","events_url":"https://api.github.com/users/NateLing/events{/privacy}","received_events_url":"https://api.github.com/users/NateLing/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/labels/confirmed","name":"confirmed","color":"ededed"},{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-05T09:41:10Z","updated_at":"2016-01-05T19:48:58Z","closed_at":null,"body":"I am chinese and I have translated challenge into chinese.\r\n\r\nBut when i change the `layout.jade` html lang to `'zh-CN'` ,`'zh-cn'`,`'cn'` or` 'CN'`.the page display language is still english.\r\n\r\nSome translation:\r\n\r\n```JSON\r\n{\r\n    \"name\": \"Basic JavaScript\",\r\n    \"order\": 6,\r\n    \"time\": \"5h\",\r\n    \"challenges\": [{\r\n        \"id\": \"cf1231c1c11feddfaeb5bdef\",\r\n        \"title\": \"Multiply Two Numbers with JavaScript\",\r\n        \"description\": [\"We can also multiply one number by another.\", \"JavaScript uses the <code>*</code> symbol for multiplication.\", \"Change the <code>0</code> so that product will equal <code>80</code>.\"],\r\n        \"tests\": [\"assert((function(){if(product === 80 && editor.getValue().match(/\\\\*/g)){return true;}else{return false;}})(), 'message: Make the variable <code>product</code> equal 80.');\"],\r\n        \"challengeSeed\": [\"var product = 8 * 0;\", \"\", \"// Only change code above this line.\", \"\", \"(function(z){return 'product='+z;})(product);\"],\r\n        \"type\": \"waypoint\",\r\n        \"challengeType\": 1,\r\n        \"nameCn\": \"乘法运算\",\r\n        \"descriptionCn\": [\"我们也可以用一个数与另一个数字相乘。\", \"JavaScript 使用 <code>*</code> 表示乘法运算。\", \"修改 <code>0</code> 使得product等于 <code>80</code>。\"],\r\n        \"nameEs\": \"Multiplica dos números con JavaScript\",\r\n        \"descriptionEs\": [\"También podemos multiplicar un número por otro.\", \"JavaScript utiliza el símbolo <code>*</code> de la multiplicación.\", \"Cambie el <code>0</code> para que el producto sea igual a <code>80</code>.\"]\r\n    }]\r\n}\r\n```\r\n\r\nthis is `layout.jade`\r\n\r\n```jade\r\ndoctype html\r\nhtml(lang='zh-CN')\r\n    head\r\n        include partials/meta\r\n        include partials/stylesheets\r\n    body.top-and-bottom-margins\r\n        include partials/scripts\r\n        include partials/navbar\r\n        .container\r\n            include partials/flash\r\n            block content\r\n        include partials/footer\r\n```\r\n\r\nI promise that i have restarted the server and droped the challenge from MongoDB and executed `node seed\\index.js` command."},"comment":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/comments/169109707","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/5888#issuecomment-169109707","issue_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/5888","id":169109707,"user":{"login":"SaintPeter","id":553494,"avatar_url":"https://avatars.githubusercontent.com/u/553494?v=3","gravatar_id":"","url":"https://api.github.com/users/SaintPeter","html_url":"https://github.com/SaintPeter","followers_url":"https://api.github.com/users/SaintPeter/followers","following_url":"https://api.github.com/users/SaintPeter/following{/other_user}","gists_url":"https://api.github.com/users/SaintPeter/gists{/gist_id}","starred_url":"https://api.github.com/users/SaintPeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaintPeter/subscriptions","organizations_url":"https://api.github.com/users/SaintPeter/orgs","repos_url":"https://api.github.com/users/SaintPeter/repos","events_url":"https://api.github.com/users/SaintPeter/events{/privacy}","received_events_url":"https://api.github.com/users/SaintPeter/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T19:48:58Z","updated_at":"2016-01-05T19:48:58Z","body":"I spoke with @BerkeleyTrue today and he confirms that we don't actually have code support to switch languages yet."}}