{"action":"created","issue":{"url":"https://api.github.com/repos/i18next/i18next/issues/637","repository_url":"https://api.github.com/repos/i18next/i18next","labels_url":"https://api.github.com/repos/i18next/i18next/issues/637/labels{/name}","comments_url":"https://api.github.com/repos/i18next/i18next/issues/637/comments","events_url":"https://api.github.com/repos/i18next/i18next/issues/637/events","html_url":"https://github.com/i18next/i18next/issues/637","id":145031698,"number":637,"title":"Interpolate question","user":{"login":"nathanredblur","id":1273018,"avatar_url":"https://avatars.githubusercontent.com/u/1273018?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanredblur","html_url":"https://github.com/nathanredblur","followers_url":"https://api.github.com/users/nathanredblur/followers","following_url":"https://api.github.com/users/nathanredblur/following{/other_user}","gists_url":"https://api.github.com/users/nathanredblur/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanredblur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanredblur/subscriptions","organizations_url":"https://api.github.com/users/nathanredblur/orgs","repos_url":"https://api.github.com/users/nathanredblur/repos","events_url":"https://api.github.com/users/nathanredblur/events{/privacy}","received_events_url":"https://api.github.com/users/nathanredblur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-31T22:07:23Z","updated_at":"2016-03-31T22:52:54Z","closed_at":null,"body":"Hi, How can I solve this?\r\n\r\nI use Angular and I hace a key that could have different values depend where is render. \r\n\r\nsuppose that I have this\r\n\r\n```\r\nkey1: \"Nice text say: {{hello}}\"\r\n```\r\n\r\nand some case I need JADE render with value from server\r\n\r\n```\r\nh1=t(\"key1\", {hello: server.sayHello})\r\n// output <h1>Nice text say: yo! Bro</h1>\r\n```\r\n\r\nBut some times I need that Angular.js render in client time, angular has the same interpolate system \"{{var}}\r\n\r\n```\r\nh1=t(\"key1\", {hello: \"{{client.sayHello}}\"})\r\n```\r\n\r\nI spect \r\n\r\n```\r\n <h1>Nice text say: {{client.sayHello}}</h1>\r\n```\r\n\r\nbut I'm getting this and some log that say : \r\n```i18next::interpolator: missed to pass in variable```\r\n\r\n```\r\n <h1>Nice text say: </h1>\r\n```\r\n\r\nThank for your help. (And this awesome and very useful tool) "},"comment":{"url":"https://api.github.com/repos/i18next/i18next/issues/comments/204162966","html_url":"https://github.com/i18next/i18next/issues/637#issuecomment-204162966","issue_url":"https://api.github.com/repos/i18next/i18next/issues/637","id":204162966,"user":{"login":"nathanredblur","id":1273018,"avatar_url":"https://avatars.githubusercontent.com/u/1273018?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanredblur","html_url":"https://github.com/nathanredblur","followers_url":"https://api.github.com/users/nathanredblur/followers","following_url":"https://api.github.com/users/nathanredblur/following{/other_user}","gists_url":"https://api.github.com/users/nathanredblur/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanredblur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanredblur/subscriptions","organizations_url":"https://api.github.com/users/nathanredblur/orgs","repos_url":"https://api.github.com/users/nathanredblur/repos","events_url":"https://api.github.com/users/nathanredblur/events{/privacy}","received_events_url":"https://api.github.com/users/nathanredblur/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T22:52:54Z","updated_at":"2016-03-31T22:52:54Z","body":"I needed a quick answer, the I figure out another way. This my solution:\r\n\r\n```\r\nh1=t(\"key1\", {hello: \"var1\"}).replace(\"var1\", \"{{client.sayHello}}\")\r\n```\r\n\r\nI someone has a better solution :) "}}