{"action":"created","issue":{"url":"https://api.github.com/repos/collective/i18ndude/issues/20","labels_url":"https://api.github.com/repos/collective/i18ndude/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/collective/i18ndude/issues/20/comments","events_url":"https://api.github.com/repos/collective/i18ndude/issues/20/events","html_url":"https://github.com/collective/i18ndude/issues/20","id":104367601,"number":20,"title":"zope.tal error with i18n:ignore","user":{"login":"gforcada","id":1155680,"avatar_url":"https://avatars.githubusercontent.com/u/1155680?v=3","gravatar_id":"","url":"https://api.github.com/users/gforcada","html_url":"https://github.com/gforcada","followers_url":"https://api.github.com/users/gforcada/followers","following_url":"https://api.github.com/users/gforcada/following{/other_user}","gists_url":"https://api.github.com/users/gforcada/gists{/gist_id}","starred_url":"https://api.github.com/users/gforcada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gforcada/subscriptions","organizations_url":"https://api.github.com/users/gforcada/orgs","repos_url":"https://api.github.com/users/gforcada/repos","events_url":"https://api.github.com/users/gforcada/events{/privacy}","received_events_url":"https://api.github.com/users/gforcada/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-01T22:31:00Z","updated_at":"2015-09-02T12:37:38Z","closed_at":null,"body":"It gives me the following traceback:\r\n```\r\n      File \"/home/gil/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Products/Five/browser/pagetemplatefile.py\", line 59, in __call__\r\n        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),\r\n      File \"/home/gil/.buildout/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py\", line 126, in pt_render\r\n        raise PTRuntimeError(str(self._v_errors))\r\n       - Warning: Compilation failed\r\n       - Warning: zope.tal.taldefs.I18NError: bad i18n attribute: u'ignore', at line 15, column 5\r\n    PTRuntimeError: ['Compilation failed', \"zope.tal.taldefs.I18NError: bad i18n attribute: u'ignore', at line 15, column 5\"]\r\n```\r\n\r\nSeems that the problem comes from ``zope.tal`` (version 3.5.2) where only a [few specific attributes are allowed](https://github.com/zopefoundation/zope.tal/blob/3.5/src/zope/tal/taldefs.py#L58) and as ``ignore`` is not one of them it [raises an error](https://github.com/zopefoundation/zope.tal/blob/3.5/src/zope/tal/talgenerator.py#L501).\r\n\r\nI will submit a pull request to zope.tal to allow it, we should probably warn in our docs about this?"},"comment":{"url":"https://api.github.com/repos/collective/i18ndude/issues/comments/137060675","html_url":"https://github.com/collective/i18ndude/issues/20#issuecomment-137060675","issue_url":"https://api.github.com/repos/collective/i18ndude/issues/20","id":137060675,"user":{"login":"gforcada","id":1155680,"avatar_url":"https://avatars.githubusercontent.com/u/1155680?v=3","gravatar_id":"","url":"https://api.github.com/users/gforcada","html_url":"https://github.com/gforcada","followers_url":"https://api.github.com/users/gforcada/followers","following_url":"https://api.github.com/users/gforcada/following{/other_user}","gists_url":"https://api.github.com/users/gforcada/gists{/gist_id}","starred_url":"https://api.github.com/users/gforcada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gforcada/subscriptions","organizations_url":"https://api.github.com/users/gforcada/orgs","repos_url":"https://api.github.com/users/gforcada/repos","events_url":"https://api.github.com/users/gforcada/events{/privacy}","received_events_url":"https://api.github.com/users/gforcada/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T12:37:37Z","updated_at":"2015-09-02T12:37:37Z","body":"I was looking at it today and both zope.tal and Chameleon have a whitelist of attributes that are ok for i18n domain, any other attribute raises that error (or a similar one with Chameleon).\r\n\r\nI already made PR for both:\r\n\r\nhttps://github.com/zopefoundation/zope.tal/pull/4\r\nhttps://github.com/malthe/chameleon/pull/205"}}