{"action":"opened","issue":{"url":"https://api.github.com/repos/alexdrel/i18n-react/issues/21","repository_url":"https://api.github.com/repos/alexdrel/i18n-react","labels_url":"https://api.github.com/repos/alexdrel/i18n-react/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/alexdrel/i18n-react/issues/21/comments","events_url":"https://api.github.com/repos/alexdrel/i18n-react/issues/21/events","html_url":"https://github.com/alexdrel/i18n-react/issues/21","id":187848282,"number":21,"title":"Ability to translate the string created on fly.","user":{"login":"piyaa","id":6559220,"avatar_url":"https://avatars.githubusercontent.com/u/6559220?v=3","gravatar_id":"","url":"https://api.github.com/users/piyaa","html_url":"https://github.com/piyaa","followers_url":"https://api.github.com/users/piyaa/followers","following_url":"https://api.github.com/users/piyaa/following{/other_user}","gists_url":"https://api.github.com/users/piyaa/gists{/gist_id}","starred_url":"https://api.github.com/users/piyaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piyaa/subscriptions","organizations_url":"https://api.github.com/users/piyaa/orgs","repos_url":"https://api.github.com/users/piyaa/repos","events_url":"https://api.github.com/users/piyaa/events{/privacy}","received_events_url":"https://api.github.com/users/piyaa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-07T22:29:41Z","updated_at":"2016-11-07T22:29:41Z","closed_at":null,"body":"In the example stated on wiki:\r\n```\r\nvar React = require('react');\r\nvar T = require('i18n-react');\r\n\r\nT.setTexts({\r\n  greeting: \"###Hello, World!\\n My name is *{myName}*! \\n {{howAreYou}}\",\r\n  howAreYou:  \"_How do you do?_\"\r\n});\r\n\r\nReact.render(\r\n  <T.span text={{ key: \"greeting\", myName: \"react-internalization and would like to translate in resp languges\" }}/>,\r\n  document.getElementById('content')\r\n);\r\n```\r\nis there an ability to translate the string passed to the \"myName\" or does it explicitly need to be stored in json/yaml format to be translated?\r\n\r\nP.S: More of clarification than issue"}}
{"actor":{"display_login":"piyaa"}}