Live data from Hacker News

Show HN: Laravel localization with GetText

github.com

1–7 of 7 posts

Re: Show HN: Laravel localization with GetText

#3

> 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?

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

#5
post #4

Did you plan symfony integration or is it the only one for PHP (for now)?

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

#6
post #4

Did you plan symfony integration or is it the only one for PHP (for now)?

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).

Ok good to know, do you have any roadmap to know the next integration (nodejs or Django ?) ?

Re: Show HN: Laravel localization with GetText

#7
post #6

Earlier quoted context omitted.

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).

Ok good to know, do you have any roadmap to know the next integration (nodejs or Django ?) ?

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