{"action":"created","issue":{"url":"https://api.github.com/repos/octopress/multilingual/issues/16","labels_url":"https://api.github.com/repos/octopress/multilingual/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/octopress/multilingual/issues/16/comments","events_url":"https://api.github.com/repos/octopress/multilingual/issues/16/events","html_url":"https://github.com/octopress/multilingual/issues/16","id":91010153,"number":16,"title":"unable to use language dictionaries","user":{"login":"sburke56","id":216035,"avatar_url":"https://avatars.githubusercontent.com/u/216035?v=3","gravatar_id":"","url":"https://api.github.com/users/sburke56","html_url":"https://github.com/sburke56","followers_url":"https://api.github.com/users/sburke56/followers","following_url":"https://api.github.com/users/sburke56/following{/other_user}","gists_url":"https://api.github.com/users/sburke56/gists{/gist_id}","starred_url":"https://api.github.com/users/sburke56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sburke56/subscriptions","organizations_url":"https://api.github.com/users/sburke56/orgs","repos_url":"https://api.github.com/users/sburke56/repos","events_url":"https://api.github.com/users/sburke56/events{/privacy}","received_events_url":"https://api.github.com/users/sburke56/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-25T16:27:21Z","updated_at":"2015-07-30T18:19:07Z","closed_at":null,"body":"I was unable to use the language dictionary features and therefore abandoned using the plugin.  \r\n\r\nI specified lang:en in the _config.yml  Ultimately what I did was have one languages.yml file that has both my languages and accessed the title in my layout file.  This worked so I'm not sure why something like the octopress-multilingual plugin didn't work when trying to split up the languages to their own separate files.  Accessing the language title like in the docs with \"{{ lang.title }} => English title\" didn't generate anything. \r\n\r\nlanguages.yml\r\nen:\r\n  gde-quickstart:\r\n    title: 'GDE Quick Start Guide v2.1'\r\ncn:\r\n  gde-quickstart:\r\n    title: 'GDE快速入门指南v2.1'\r\n\r\nlayout file accessed the page title \r\n{{ site.data.languages[page.lang].gde-quickstart.title }}</a></li>\r\n"},"comment":{"url":"https://api.github.com/repos/octopress/multilingual/issues/comments/126423437","html_url":"https://github.com/octopress/multilingual/issues/16#issuecomment-126423437","issue_url":"https://api.github.com/repos/octopress/multilingual/issues/16","id":126423437,"user":{"login":"sburke56","id":216035,"avatar_url":"https://avatars.githubusercontent.com/u/216035?v=3","gravatar_id":"","url":"https://api.github.com/users/sburke56","html_url":"https://github.com/sburke56","followers_url":"https://api.github.com/users/sburke56/followers","following_url":"https://api.github.com/users/sburke56/following{/other_user}","gists_url":"https://api.github.com/users/sburke56/gists{/gist_id}","starred_url":"https://api.github.com/users/sburke56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sburke56/subscriptions","organizations_url":"https://api.github.com/users/sburke56/orgs","repos_url":"https://api.github.com/users/sburke56/repos","events_url":"https://api.github.com/users/sburke56/events{/privacy}","received_events_url":"https://api.github.com/users/sburke56/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T18:19:07Z","updated_at":"2015-07-30T18:19:07Z","body":"I tested it again. Still no dice.  When I set up my language files like the documentation my layouts don't have access to the global var \"lang\".  Possibly it's user error but I'm not sure. \r\n\r\nsource/_data/lang_en.yml\r\nsource/_data/lang_cn.yml \r\n\r\nlang_en.yml \r\ntitle: English title \r\n\r\nlang_cn.yml \r\ntitle: Chinese title \r\n\r\nWhen I put the following in my layout file the lang.title doesn't show up.  The site.data.lang_en.title shows up but that doesn't allow me to write only one set of code for the layout. \r\n\r\n   <h1>{{ lang.title }}</h1>\r\n    <h1>English: {{ site.data.lang_en.title }}</h1>\r\n    <h1>Chinese: {{ site.data.lang_cn.title }}</h1>"}}