{"action":"created","issue":{"url":"https://api.github.com/repos/JiriTrecak/Laurine/issues/11","labels_url":"https://api.github.com/repos/JiriTrecak/Laurine/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/JiriTrecak/Laurine/issues/11/comments","events_url":"https://api.github.com/repos/JiriTrecak/Laurine/issues/11/events","html_url":"https://github.com/JiriTrecak/Laurine/issues/11","id":123665988,"number":11,"title":"Compatibility with XCode xliff export","user":{"login":"donaldpiret","id":35408,"avatar_url":"https://avatars.githubusercontent.com/u/35408?v=3","gravatar_id":"","url":"https://api.github.com/users/donaldpiret","html_url":"https://github.com/donaldpiret","followers_url":"https://api.github.com/users/donaldpiret/followers","following_url":"https://api.github.com/users/donaldpiret/following{/other_user}","gists_url":"https://api.github.com/users/donaldpiret/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldpiret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldpiret/subscriptions","organizations_url":"https://api.github.com/users/donaldpiret/orgs","repos_url":"https://api.github.com/users/donaldpiret/repos","events_url":"https://api.github.com/users/donaldpiret/events{/privacy}","received_events_url":"https://api.github.com/users/donaldpiret/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-23T14:13:34Z","updated_at":"2015-12-29T01:28:26Z","closed_at":null,"body":"Is there any way to get this to work with the Xcode \"Export for localization\" functionality?\r\nWhen I create a custom Localizable.strings file to use for Laurine (which rocks by the way), the content of that file does not get exported to my xliff files."},"comment":{"url":"https://api.github.com/repos/JiriTrecak/Laurine/issues/comments/167690582","html_url":"https://github.com/JiriTrecak/Laurine/issues/11#issuecomment-167690582","issue_url":"https://api.github.com/repos/JiriTrecak/Laurine/issues/11","id":167690582,"user":{"login":"donaldpiret","id":35408,"avatar_url":"https://avatars.githubusercontent.com/u/35408?v=3","gravatar_id":"","url":"https://api.github.com/users/donaldpiret","html_url":"https://github.com/donaldpiret","followers_url":"https://api.github.com/users/donaldpiret/followers","following_url":"https://api.github.com/users/donaldpiret/following{/other_user}","gists_url":"https://api.github.com/users/donaldpiret/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldpiret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldpiret/subscriptions","organizations_url":"https://api.github.com/users/donaldpiret/orgs","repos_url":"https://api.github.com/users/donaldpiret/repos","events_url":"https://api.github.com/users/donaldpiret/events{/privacy}","received_events_url":"https://api.github.com/users/donaldpiret/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T01:28:26Z","updated_at":"2015-12-29T01:28:26Z","body":"Hi Jiri,\r\n\r\nMerry Xmas,\r\nYour understanding of the xliff files is entirely correct. The only thing that makes Laurine hard to use with the built-in xliff system is that apple apparently does not allow you to export to xliff existing .strings files, and will only extract translations from storyboards or from NSLocalizedString calls in the code.\r\nBecause of this the only way to work with both systems is to keep the Laurine strings in a manually maintained .strings file (not named Localizable.strings, as that will get overwritten during import of xliff files), and then work with two separate translation files when uploading and downloading from translation management platforms, which is really quite cumbersome.\r\n\r\nI haven't been able to figure out a good workaround for this problem, as it seems that the only way to get these tools to properly work together would be to modify the tool apple uses to generate the xliff files to include manually generated .strings files (or perhaps get the Laurine generator to create a source file with dummy NSLocalizedString entries just for the purpose of extraction to xliff).\r\n\r\nCheers,\r\n\r\nD"}}