{"action":"created","issue":{"url":"https://api.github.com/repos/nijel/weblate/issues/997","repository_url":"https://api.github.com/repos/nijel/weblate","labels_url":"https://api.github.com/repos/nijel/weblate/issues/997/labels{/name}","comments_url":"https://api.github.com/repos/nijel/weblate/issues/997/comments","events_url":"https://api.github.com/repos/nijel/weblate/issues/997/events","html_url":"https://github.com/nijel/weblate/issues/997","id":134289902,"number":997,"title":"Add a BIG red box asking translators not to translate placeholders","user":{"login":"sknorr","id":5476547,"avatar_url":"https://avatars.githubusercontent.com/u/5476547?v=3","gravatar_id":"","url":"https://api.github.com/users/sknorr","html_url":"https://github.com/sknorr","followers_url":"https://api.github.com/users/sknorr/followers","following_url":"https://api.github.com/users/sknorr/following{/other_user}","gists_url":"https://api.github.com/users/sknorr/gists{/gist_id}","starred_url":"https://api.github.com/users/sknorr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sknorr/subscriptions","organizations_url":"https://api.github.com/users/sknorr/orgs","repos_url":"https://api.github.com/users/sknorr/repos","events_url":"https://api.github.com/users/sknorr/events{/privacy}","received_events_url":"https://api.github.com/users/sknorr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-17T14:11:01Z","updated_at":"2016-02-17T16:33:15Z","closed_at":"2016-02-17T15:00:39Z","body":"I just had the case that a translator had translated placeholder XML tags from `<placeholder-1/>` to `<Platzhalter-1/>`. Obviously, after that, build failed.\r\n\r\nI can't blame the translator, they are probably doing that for the first time or so. It would be great if there was a box below the textarea for the translated string that would warn against translating/modifying placeholders, at least for new contributors.\r\n\r\nAnd yes, I can reset translations easily, but doing so for 10's of languages would take a lot of time."},"comment":{"url":"https://api.github.com/repos/nijel/weblate/issues/comments/185285786","html_url":"https://github.com/nijel/weblate/issues/997#issuecomment-185285786","issue_url":"https://api.github.com/repos/nijel/weblate/issues/997","id":185285786,"user":{"login":"sknorr","id":5476547,"avatar_url":"https://avatars.githubusercontent.com/u/5476547?v=3","gravatar_id":"","url":"https://api.github.com/users/sknorr","html_url":"https://github.com/sknorr","followers_url":"https://api.github.com/users/sknorr/followers","following_url":"https://api.github.com/users/sknorr/following{/other_user}","gists_url":"https://api.github.com/users/sknorr/gists{/gist_id}","starred_url":"https://api.github.com/users/sknorr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sknorr/subscriptions","organizations_url":"https://api.github.com/users/sknorr/orgs","repos_url":"https://api.github.com/users/sknorr/repos","events_url":"https://api.github.com/users/sknorr/events{/privacy}","received_events_url":"https://api.github.com/users/sknorr/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T16:33:15Z","updated_at":"2016-02-17T16:33:15Z","body":"True. One could go for the (very complicated) approach of making the tag names and attribute names read-only, but allowing translators to edit attribute values... but even that would not cover all cases adequately.\r\n\r\nA project-specific configuration (file) with regexes might help... i.e., in the case you mentioned, `a` tags would get an editable `href` value but you couldn't change anything about e.g. their `style` attribute. And other tags would be completely immutable. But this proposal is probably a bit crazy. :)\r\n\r\nI also just took a look where the `<placeholder-1>` etc. tags are coming from in \"my\" project and it seems the PO generator already creates those. Not sure if it is the best approach to use pseudo-XML as placeholders... does Weblate recognize this as a placeholder, even?"}}