{"action":"created","issue":{"url":"https://api.github.com/repos/k-next/kirby/issues/972","repository_url":"https://api.github.com/repos/k-next/kirby","labels_url":"https://api.github.com/repos/k-next/kirby/issues/972/labels{/name}","comments_url":"https://api.github.com/repos/k-next/kirby/issues/972/comments","events_url":"https://api.github.com/repos/k-next/kirby/issues/972/events","html_url":"https://github.com/k-next/kirby/issues/972","id":361201200,"node_id":"MDU6SXNzdWUzNjEyMDEyMDA=","number":972,"title":"[Cms] Translation helper returns wrong language strings","user":{"login":"danielkratz","id":3976364,"node_id":"MDQ6VXNlcjM5NzYzNjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3976364?v=4","gravatar_id":"","url":"https://api.github.com/users/danielkratz","html_url":"https://github.com/danielkratz","followers_url":"https://api.github.com/users/danielkratz/followers","following_url":"https://api.github.com/users/danielkratz/following{/other_user}","gists_url":"https://api.github.com/users/danielkratz/gists{/gist_id}","starred_url":"https://api.github.com/users/danielkratz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielkratz/subscriptions","organizations_url":"https://api.github.com/users/danielkratz/orgs","repos_url":"https://api.github.com/users/danielkratz/repos","events_url":"https://api.github.com/users/danielkratz/events{/privacy}","received_events_url":"https://api.github.com/users/danielkratz/received_events","type":"User","site_admin":false},"labels":[{"id":848081540,"node_id":"MDU6TGFiZWw4NDgwODE1NDA=","url":"https://api.github.com/repos/k-next/kirby/labels/type:%20bug%20%F0%9F%90%9B","name":"type: bug 🐛","color":"E91E63","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/k-next/kirby/milestones/17","html_url":"https://github.com/k-next/kirby/milestone/17","labels_url":"https://api.github.com/repos/k-next/kirby/milestones/17/labels","id":3439090,"node_id":"MDk6TWlsZXN0b25lMzQzOTA5MA==","number":17,"title":"Beta","description":"","creator":{"login":"distantnative","id":3788865,"node_id":"MDQ6VXNlcjM3ODg4NjU=","avatar_url":"https://avatars0.githubusercontent.com/u/3788865?v=4","gravatar_id":"","url":"https://api.github.com/users/distantnative","html_url":"https://github.com/distantnative","followers_url":"https://api.github.com/users/distantnative/followers","following_url":"https://api.github.com/users/distantnative/following{/other_user}","gists_url":"https://api.github.com/users/distantnative/gists{/gist_id}","starred_url":"https://api.github.com/users/distantnative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/distantnative/subscriptions","organizations_url":"https://api.github.com/users/distantnative/orgs","repos_url":"https://api.github.com/users/distantnative/repos","events_url":"https://api.github.com/users/distantnative/events{/privacy}","received_events_url":"https://api.github.com/users/distantnative/received_events","type":"User","site_admin":false},"open_issues":47,"closed_issues":350,"state":"open","created_at":"2018-06-20T15:49:09Z","updated_at":"2018-10-26T08:51:19Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-09-18T08:54:32Z","updated_at":"2018-10-26T09:20:38Z","closed_at":null,"author_association":"NONE","body":"I setup a multilanguage page based on Beta 5. The language configuration contains German and English. \r\n\r\n```\r\nreturn array (\r\n  'code' => 'de',\r\n  'default' => true,\r\n  'direction' => 'ltr',\r\n  'locale' => 'de_DE',\r\n  'name' => 'Deutsch',\r\n  'translations' => [\r\n    'readmore' => 'Mehr lesen',\r\n  ]\r\n);\r\n```\r\n\r\n```\r\nreturn array (\r\n  'code' => 'en',\r\n  'default' => false,\r\n  'direction' => 'ltr',\r\n  'locale' => 'en_US',\r\n  'name' => 'English',\r\n  'translations' => [\r\n    'readmore' => 'Read more',\r\n  ]\r\n);\r\n```\r\n\r\nUsing the translation helper in a template `<?= t(\"readmore\") ?>` I always get the English string regardless in which language I am. "},"comment":{"url":"https://api.github.com/repos/k-next/kirby/issues/comments/433344758","html_url":"https://github.com/k-next/kirby/issues/972#issuecomment-433344758","issue_url":"https://api.github.com/repos/k-next/kirby/issues/972","id":433344758,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzM0NDc1OA==","user":{"login":"texnixe","id":5312492,"node_id":"MDQ6VXNlcjUzMTI0OTI=","avatar_url":"https://avatars3.githubusercontent.com/u/5312492?v=4","gravatar_id":"","url":"https://api.github.com/users/texnixe","html_url":"https://github.com/texnixe","followers_url":"https://api.github.com/users/texnixe/followers","following_url":"https://api.github.com/users/texnixe/following{/other_user}","gists_url":"https://api.github.com/users/texnixe/gists{/gist_id}","starred_url":"https://api.github.com/users/texnixe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/texnixe/subscriptions","organizations_url":"https://api.github.com/users/texnixe/orgs","repos_url":"https://api.github.com/users/texnixe/repos","events_url":"https://api.github.com/users/texnixe/events{/privacy}","received_events_url":"https://api.github.com/users/texnixe/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T09:20:38Z","updated_at":"2018-10-26T09:20:38Z","author_association":"NONE","body":"I can reproduce this."}}
{"actor":{"display_login":"texnixe"}}