[{"data":1,"prerenderedAt":326},["ShallowReactive",2],{"project-14769244":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":34,"aspects":35,"strip":42,"post_text":44,"what":45,"said":83,"maker_in_thread":181,"shape":192,"grid":197,"attempts":289,"same_week":290,"maker_shows":194,"maker_hidden":319,"reader_version":320,"card":321},"14769244","PHP-PrivacyPolicy","Write your Privacy Policy once and export to multiple languages","title","Show HN: Write your Privacy Policy once and export to multiple languages","https:\u002F\u002Fgithub.com\u002Fdelight-im\u002FPHP-PrivacyPolicy","github.com","marco1",1500035606,2017,112,43,402,2242,18,"notable","web_saas","privacy policy generator","library",[24,25,26,27],"privacy policy","php library","policy generator","multilingual","mixed",-0.16,{"positive":31,"neutral":32,"mixed":33,"critical":32},2,5,0,12,{"idea":36,"docs":37,"execution":38,"design":40},{"positive":31,"critical":33},{"positive":33,"critical":33},{"positive":33,"critical":39},4,{"positive":33,"critical":41},1,[43,43,33,33,33,33,33,43,33,41,33,32,33,33,33,32,33,43,33,41,33,33,33,41,33,33,41,33,33,33,33,33,33,33,33,33,33,33,43,33],3,null,{"problem":46,"audience":53,"pricing":44,"motivation":58,"time_to_build":44,"stack":62,"openness":80,"stage":81,"team_size":82},{"value":47,"source":48,"evidence":49},"Writing and translating privacy policies for websites and apps","inferred",[50],{"id":51,"by":11,"text":52},"14770142","Thank you! This could have been implemented in any language, of course, but server-side seemed to make a little bit more sense than client-side and PHP is still more or less…",{"value":54,"source":55,"evidence":56},"Developers, especially small teams","maker",[57],{"id":51,"by":11,"text":52},{"value":59,"source":55,"evidence":60},"Benefit developers, especially small teams, rather than end users",[61],{"id":51,"by":11,"text":52},[63,72],{"value":64,"source":55,"evidence":65},"PHP",[66,69],{"id":67,"by":11,"text":68},"14770300","Yes, I'm the author of this. Thanks for these interesting questions! (Happy to answer other questions as well.) 1) Yes, I consulted with a lawyer for the version in one language…",{"id":70,"by":11,"text":71},"14770990","Yes, I should probably have implemented it in Haskell, at least. But seriously, the language to choose was definitely a question. I was considering JavaScript instead, to make…",{"value":73,"source":74,"evidence":75},"JSON","commenter",[76],{"id":77,"by":78,"text":79},"14769863","SamBam","This doesn't use machine translation. Did you look at the link? It specifies a privacy policy with options using JSON, and then there is a set of (human-written) strings for each…","open_source","launched","unknown",{"praise":84,"objections":100,"requests":141,"questions":157,"alternatives":166},[85,96],{"value":86,"source":74,"evidence":87},"Useful idea that seems overdue",[88,92],{"id":89,"by":90,"text":91},"14769815","brango","This is one of those things where you wonder why no one's thought of it before, or why this isn't just standard practice. Maybe time to blow the dust off my PHP binary... Great…",{"id":93,"by":94,"text":95},"14769616","cube00","Nice work. This is what I hoped would eventually come out of P3P (https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FP3P) alas it wasn't to be.",{"value":97,"source":74,"evidence":98},"Nice work",[99],{"id":93,"by":94,"text":95},[101,112,127,134],{"value":102,"source":74,"evidence":103},"Legal risk of relying on a generated policy without a lawyer",[104,108],{"id":105,"by":106,"text":107},"14769771","beager","Very interesting! OP if you are the developer of this, I have a few questions: 1) Did you consult with any legal entities when creating this? Is there any risk of creating legal…",{"id":109,"by":110,"text":111},"14769818","infie","Well there is a nice disclaimer: Disclaimer This project does not constitute legal advice and is not to be relied upon or acted on as such. Any material presented here is for…",{"value":113,"source":74,"evidence":114},"Translations may carry mistranslation and legal-meaning risks",[115,119,123],{"id":116,"by":117,"text":118},"14769838","maxsavin","It doesn't seem smart to use machine translation for anything legal related. I wonder if this kind of tool can get one in trouble. For example, a mistranslation causes the…",{"id":120,"by":121,"text":122},"14772272","jacalata","It's not machine learning, but the text in other languages also isn't written by a lawyer according to the authors responses in this thread, so the risk of mistranslation and…",{"id":124,"by":125,"text":126},"14772623","ABCLAW","The risk is substantial. Drafting standards are not equivalent across languages, and the translators are not legal translators. Legal vocabulary contains words that are terms of…",{"value":128,"source":74,"evidence":129},"Requires running PHP, a high barrier to entry",[130],{"id":131,"by":132,"text":133},"14769951","consto","Legal questions aside, this should have been an online form that creates a zip file containing the generated privacy policies in various markup languages and a configuration…",{"value":135,"source":74,"evidence":136},"Translation via a switch statement rather than gettext",[137],{"id":138,"by":139,"text":140},"14772297","jwilk","So the translation is done with a gigantic switch statement. Um... Please consider using gettext instead.",[142,146,150],{"value":143,"source":74,"evidence":144},"Provide an online form that outputs a zip of policies",[145],{"id":131,"by":132,"text":133},{"value":147,"source":74,"evidence":148},"Machine-readable privacy-policy.json output",[149],{"id":67,"by":11,"text":68},{"value":151,"source":74,"evidence":152},"Client-side version or embeddable output",[153],{"id":154,"by":155,"text":156},"14770318","michaelmior","I would personally prefer to do this client side and then just embed the generated policy. Especially since I use several different languages server-side, often not PHP. Of…",[158,162],{"value":159,"source":74,"evidence":160},"Was legal advice consulted when creating it",[161],{"id":105,"by":106,"text":107},{"value":163,"source":74,"evidence":164},"Could it apply to terms of service",[165],{"id":105,"by":106,"text":107},[167,177],{"value":168,"source":74,"evidence":169},"iubenda",[170,174],{"id":171,"by":172,"text":173},"14770282","Facens","Have you ever checked out iubenda (http:\u002F\u002Fwww.iubenda.com)? That's pretty much what it does, with 600 modular clauses in 8 languages.",{"id":175,"by":172,"text":176},"14770394","Ye there are all sorts of modules. There is also a free version, while the paid one is $27\u002Fyr.",{"value":178,"source":74,"evidence":179},"P3P",[180],{"id":93,"by":94,"text":95},{"comments":182,"answered":183,"key":184},19,6,[185,188,189],{"id":186,"text":187},"14770019","Right, that's the disclaimer that has been put up there, both for the safety of the authors and for the safety of any potential users. I hope that disclaimer is not deterrent.…",{"id":67,"text":68},{"id":190,"text":191},"14772016","Thanks! What you wanted to say is this proves that terms of service, just as a privacy policy, can be generated from templates and be used in practice, right?",{"commenters":193,"max_depth":194,"maker_replies":182,"first_comment_mins":195,"lifespan_hours":196},20,8,60,57,[198,200,202,203,205,209,211,213,217,218,220,223,225,228,231,233,236,237,238,239,241,243,245,248,250,251,253,255,256,257,260,263,265,267,269,271,273,276,278,280,282,284,287],[105,33,43,199,106,33],"maker\u002Fneutral\u002Fidea",[109,33,43,201,110,33],"project\u002Fneutral\u002Fdocs",[186,33,33,201,11,41],[67,33,33,204,11,41],"project\u002Fneutral\u002Fnone",[206,33,33,207,208,33],"14771458","commenter\u002Fneutral\u002Fidea","ecesena",[190,33,33,210,11,41],"commenter\u002Fneutral\u002Fnone",[212,33,33,210,208,33],"14772650",[214,41,43,215,216,33],"14770836","project\u002Fneutral\u002Fexecution","dabockster",[70,41,33,215,11,41],[131,31,41,219,132,33],"project\u002Fcritical\u002Fdesign",[221,31,33,222,11,41],"14769988","project\u002Fneutral\u002Fdesign",[93,43,32,224,94,33],"project\u002Fpositive\u002Fidea",[226,43,33,227,11,41],"14770179","project\u002Fneutral\u002Fidea",[229,43,33,230,155,33],"14770335","other\u002Fneutral\u002Fnone",[232,43,33,230,11,41],"14770414",[234,43,33,230,235,33],"14772735","hdhzy",[89,39,32,224,90,33],[51,39,33,215,11,41],[154,39,43,215,155,33],[240,39,33,215,11,41],"14770395",[138,32,41,242,139,33],"project\u002Fcritical\u002Fexecution",[244,32,33,215,11,41],"14773756",[246,32,33,210,247,33],"14782351","paulddraper",[249,32,33,210,11,41],"14784208",[116,183,41,242,117,33],[77,183,33,252,78,33],"commenter\u002Fneutral\u002Fexecution",[254,183,33,210,11,41],"14769978",[120,183,41,242,121,33],[124,183,41,242,125,33],[258,183,33,210,259,33],"14772663","jchw",[261,183,33,210,262,33],"14773766","JumpCrisscross",[264,183,33,210,11,41],"14773811",[266,183,33,210,262,33],"14773938",[268,183,33,215,11,41],"14773828",[270,183,33,215,11,41],"14773796",[272,183,33,252,11,41],"14769970",[171,274,33,275,172,33],7,"other\u002Fneutral\u002Fidea",[277,274,33,275,11,41],"14770363",[175,274,33,279,172,33],"other\u002Fneutral\u002Fpricing",[281,274,33,275,11,41],"14770487",[283,274,43,201,172,33],"14770534",[285,274,33,279,286,33],"14772176","azinman2",[288,274,33,275,11,41],"14773846",[],[291,296,301,306,310,315],{"id":292,"name":293,"points":294,"category":295},"14805265","gamblers-dice",523,"languages",{"id":297,"name":298,"points":299,"category":300},"14771406","Quilt",367,"data",{"id":302,"name":303,"points":304,"category":305},"14799111","Cinc",363,"productivity",{"id":307,"name":308,"points":309,"category":20},"14794949","choppingboard.recipes",208,{"id":311,"name":312,"points":313,"category":314},"14769317","Python books",150,"learning_science",{"id":316,"name":317,"points":318,"category":314},"14798336","Learn Anything",145,false,"v2",{"id":322,"name":5,"line":6,"ai":319,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":323,"maker":11,"domain":10,"tier":19,"attempts":33,"strip":324,"url":9,"mix":325,"praise":86,"objection":102,"sub":21},14769244,[24,25,26,27],"3300000301050005030100010010000000000030",[31,32,33,32],1794036557255]