Closed mamendoz closed 6 years ago
Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test."
@mamendoz Great contribution! I added a minor comment.
@rmg I'm good with the PR. Feel free to merge and release it once you finish the review.
@mamendoz can you add at least a test that does language negotiation so we have some confidence that it is actually doing what it should be instead of just always defaulting to en
?
@slnode ok to test
This is useful to integrate the library with express apps.
Thie change makes it so that strong globalize chooses the best matching language based on the Accept-Language header of an HTTP request.
This change also modifies the string extraction logic so that it will look in the source code for expressions like g.http(req).f(...)