News for hackers. Stuff that matters.
Re:Show HN: Laravel localization with GetText by fstephany on Monday April 30, 2018 @05:16AM (#16957019)
> 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?

Re:Show HN: Laravel localization with GetText by MichaelHoste on Monday April 30, 2018 @05:24AM (#16957052)
We have strong opinions about this, and we explained them here: https://translation.io/blog/gettext-is-better-than-rails-i18...

Even if we compared GetText to YAML key/values (Ruby on Rails), the same reasoning applies also for PHP key/values of Laravel.

Re:Show HN: Laravel localization with GetText by frbayart on Monday April 30, 2018 @05:51AM (#16957182)
Did you plan symfony integration or is it the only one for PHP (for now)?
Re:Show HN: Laravel localization with GetText by MichaelHoste on Monday April 30, 2018 @06:10AM (#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 every framework must have a tailored solution to handle translations best, so we move forward in small steps to be sure our solution fits the pain (of maintaining translations up-to-date as the app evolves).

Re:Show HN: Laravel localization with GetText by frbayart on Monday April 30, 2018 @06:37AM (#16957401)
Ok good to know, do you have any roadmap to know the next integration (nodejs or Django ?) ?
Re:Show HN: Laravel localization with GetText by MichaelHoste on Monday April 30, 2018 @07:26AM (#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: https://github.com/deecewan/translation-io