[{"data":1,"prerenderedAt":175},["ShallowReactive",2],{"project-16956846":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":32,"aspects":33,"strip":35,"post_text":29,"what":36,"said":70,"maker_in_thread":119,"shape":124,"grid":127,"attempts":138,"same_week":139,"maker_shows":125,"maker_hidden":168,"reader_version":169,"card":170},"16956846","Laravel","Laravel localization with GetText","title","Show HN: Laravel localization with GetText","https:\u002F\u002Fgithub.com\u002Ftranslation\u002Flaravel","github.com","MichaelHoste",1525077666,2018,5,6,2019,2155,94,"shown","languages","localization library","library",[24,25,26,27],"laravel localization","gettext","php translation","i18n","quiet",null,{"positive":31,"neutral":32,"mixed":31,"critical":31},0,3,{"idea":34},{"positive":31,"critical":31},[32,31,32,31,32,31],{"problem":37,"audience":44,"pricing":29,"motivation":51,"time_to_build":29,"stack":57,"openness":69,"stage":69,"team_size":69},{"value":38,"source":39,"evidence":40},"Maintaining translations up-to-date as the app evolves","maker",[41],{"id":42,"by":11,"text":43},"16957275","Laravel is currently the only integration in the PHP-world. But most of the code could certainly be reused for a Symfony application, or any other PHP project. We think that…",{"value":45,"source":46,"evidence":47},"Laravel developers","inferred",[48,50],{"id":49},"post",{"id":42,"by":11,"text":43},{"value":52,"source":39,"evidence":53},"GetText gives a simpler, more maintainable translation syntax than key\u002Fvalue files",[54],{"id":55,"by":11,"text":56},"16957052","We have strong opinions about this, and we explained them here: https:\u002F\u002Ftranslation.io\u002Fblog\u002Fgettext-is-better-than-rails-i18n Even if we compared GetText to YAML key\u002Fvalues (Ruby…",[58,62,65],{"value":59,"source":46,"evidence":60},"PHP",[61],{"id":42,"by":11,"text":43},{"value":5,"source":39,"evidence":63},[64],{"id":42,"by":11,"text":43},{"value":66,"source":39,"evidence":67},"GetText",[68],{"id":49},"unknown",{"praise":71,"objections":72,"requests":81,"questions":95,"alternatives":104},[],[73],{"value":74,"source":75,"evidence":76},"Questioned the claim that GetText is simpler and more maintainable","commenter",[77],{"id":78,"by":79,"text":80},"16957019","fstephany","> We strongly suggest that you use GetText to translate your applications since it allows a simpler and more maintainable syntax. Care to elaborate on that?",[82,89],{"value":83,"source":75,"evidence":84},"Symfony integration",[85],{"id":86,"by":87,"text":88},"16957182","frbayart","Did you plan symfony integration or is it the only one for PHP (for now)?",{"value":90,"source":75,"evidence":91},"Node.js or Django integration",[92],{"id":93,"by":87,"text":94},"16957401","Ok good to know, do you have any roadmap to know the next integration (nodejs or Django ?) ?",[96,100],{"value":97,"source":75,"evidence":98},"Whether Symfony integration is planned",[99],{"id":86,"by":87,"text":88},{"value":101,"source":75,"evidence":102},"Roadmap for next integrations",[103],{"id":93,"by":87,"text":94},[105,109,113],{"value":106,"source":39,"evidence":107},"Rails i18n (YAML key\u002Fvalues)",[108],{"id":55,"by":11,"text":56},{"value":110,"source":39,"evidence":111},"Laravel PHP key\u002Fvalue translations",[112],{"id":55,"by":11,"text":56},{"value":114,"source":39,"evidence":115},"React-Intl",[116],{"id":117,"by":11,"text":118},"16957637","Right now, we think about the possibility to integrate with Wordpress or Symfony. If you use React, one of our users also created a plugin for React-Intl:…",{"comments":32,"answered":32,"key":120},[121,122,123],{"id":55,"text":56},{"id":42,"text":43},{"id":117,"text":118},{"commenters":32,"max_depth":125,"maker_replies":32,"first_comment_mins":126,"lifespan_hours":32},4,35,[128,130,133,135,136,137],[78,31,32,129,79,31],"project\u002Fneutral\u002Fidea",[55,31,31,131,11,132],"maker\u002Fneutral\u002Fidea",1,[86,132,32,134,87,31],"project\u002Fneutral\u002Fnone",[42,132,31,129,11,132],[93,132,32,134,87,31],[117,132,31,134,11,132],[],[140,145,150,154,159,164],{"id":141,"name":142,"points":143,"category":144},"16959550","ReLaXed",344,"productivity",{"id":146,"name":147,"points":148,"category":149},"16958446","stocks",207,"finance_crypto",{"id":151,"name":152,"points":153,"category":149},"16958797","crapcoin",206,{"id":155,"name":156,"points":157,"category":158},"16962695","un0rick",199,"hardware",{"id":160,"name":161,"points":162,"category":163},"16948939","fdb-nbd",192,"infrastructure",{"id":165,"name":166,"points":167,"category":20},"16950040","fuzzy",186,false,"v2",{"id":171,"name":5,"line":6,"ai":168,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":172,"maker":11,"domain":10,"tier":19,"attempts":31,"strip":173,"url":9,"mix":174,"praise":-1,"objection":74,"sub":21},16956846,[24,25,26,27],"303030",[31,32,31,31],1794036565593]