{"action":"closed","issue":{"url":"https://api.github.com/repos/elliotcondon/acf/issues/454","labels_url":"https://api.github.com/repos/elliotcondon/acf/issues/454/labels{/name}","comments_url":"https://api.github.com/repos/elliotcondon/acf/issues/454/comments","events_url":"https://api.github.com/repos/elliotcondon/acf/issues/454/events","html_url":"https://github.com/elliotcondon/acf/issues/454","id":109183283,"number":454,"title":"When exporting field groups to PHP, add option for translation-ready output","user":{"login":"amarsyla","id":4696113,"avatar_url":"https://avatars.githubusercontent.com/u/4696113?v=3","gravatar_id":"","url":"https://api.github.com/users/amarsyla","html_url":"https://github.com/amarsyla","followers_url":"https://api.github.com/users/amarsyla/followers","following_url":"https://api.github.com/users/amarsyla/following{/other_user}","gists_url":"https://api.github.com/users/amarsyla/gists{/gist_id}","starred_url":"https://api.github.com/users/amarsyla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amarsyla/subscriptions","organizations_url":"https://api.github.com/users/amarsyla/orgs","repos_url":"https://api.github.com/users/amarsyla/repos","events_url":"https://api.github.com/users/amarsyla/events{/privacy}","received_events_url":"https://api.github.com/users/amarsyla/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-30T21:28:46Z","updated_at":"2015-09-30T23:18:58Z","closed_at":"2015-09-30T23:18:58Z","body":"Hello Elliot,\r\n\r\nThis week, I found myself in a situation that the field groups I had to export to PHP, had to be translation ready (wrapped in the __() functions, with my own text domain). Obviously and unfortunately, I had to do this manually for each label on the generated output by ACF. Would it be a good idea, that on the export page, to be a text value to add a text domain? So, if a text domain is added, the output will be translation ready. An example would be that instead of `label: Field Name`, it would be `label: __('Field Name', 'text_domain_here')`.\r\n\r\nThe reason I am posting this here, and not in your support forum, is that I may try to code this and contribute it to the repo, if you give me a positive answer.\r\n\r\nThanks for the great plugin."}}