{"action":"created","issue":{"url":"https://api.github.com/repos/bloodyowl/react-translate/issues/4","labels_url":"https://api.github.com/repos/bloodyowl/react-translate/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/bloodyowl/react-translate/issues/4/comments","events_url":"https://api.github.com/repos/bloodyowl/react-translate/issues/4/events","html_url":"https://github.com/bloodyowl/react-translate/issues/4","id":114403993,"number":4,"title":"Re-using translations","user":{"login":"SumeetR","id":6136978,"avatar_url":"https://avatars.githubusercontent.com/u/6136978?v=3","gravatar_id":"","url":"https://api.github.com/users/SumeetR","html_url":"https://github.com/SumeetR","followers_url":"https://api.github.com/users/SumeetR/followers","following_url":"https://api.github.com/users/SumeetR/following{/other_user}","gists_url":"https://api.github.com/users/SumeetR/gists{/gist_id}","starred_url":"https://api.github.com/users/SumeetR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SumeetR/subscriptions","organizations_url":"https://api.github.com/users/SumeetR/orgs","repos_url":"https://api.github.com/users/SumeetR/repos","events_url":"https://api.github.com/users/SumeetR/events{/privacy}","received_events_url":"https://api.github.com/users/SumeetR/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-31T11:06:03Z","updated_at":"2015-11-01T09:53:24Z","closed_at":"2015-11-01T09:53:24Z","body":"Hey Matthias,\r\n\r\nI have another suggestion for improvement, say I have a button in one part of my app that says \"Register\" and in some other part there is a title that is also \"Register\". Currently the translation file would look like this (simplified to only include relevant entries):\r\n\r\n```\r\nFoo:\r\n  REGISTER: \"Register\"\r\nBar:\r\n  REGISTER: \"Register\"\r\n```\r\n\r\nIt would be nice to able to reuse the translation and hence, for example, replace one of the entries in the translation file with some kind of identifier to \"pick-up\" the translation from another part:\r\n\r\n```\r\nFoo:\r\n  REGISTER: \"Register\"\r\nBar:\r\n  REGISTER: \"{Foo.Register}\"\r\n```\r\n\r\nWhat do you think?\r\nS.\r\n"},"comment":{"url":"https://api.github.com/repos/bloodyowl/react-translate/issues/comments/152813786","html_url":"https://github.com/bloodyowl/react-translate/issues/4#issuecomment-152813786","issue_url":"https://api.github.com/repos/bloodyowl/react-translate/issues/4","id":152813786,"user":{"login":"bloodyowl","id":1688645,"avatar_url":"https://avatars.githubusercontent.com/u/1688645?v=3","gravatar_id":"","url":"https://api.github.com/users/bloodyowl","html_url":"https://github.com/bloodyowl","followers_url":"https://api.github.com/users/bloodyowl/followers","following_url":"https://api.github.com/users/bloodyowl/following{/other_user}","gists_url":"https://api.github.com/users/bloodyowl/gists{/gist_id}","starred_url":"https://api.github.com/users/bloodyowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bloodyowl/subscriptions","organizations_url":"https://api.github.com/users/bloodyowl/orgs","repos_url":"https://api.github.com/users/bloodyowl/repos","events_url":"https://api.github.com/users/bloodyowl/events{/privacy}","received_events_url":"https://api.github.com/users/bloodyowl/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T09:53:24Z","updated_at":"2015-11-01T09:53:24Z","body":"I'd advice against this, The format should IMO remain simple and straightforward. "}}