-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Spanish translation. #26
Conversation
@orestes uhm could you please show me some examples? I mean how sentence should be build to make it works with Spanish. Maybe there is some way to update https://github.com/coduo/php-humanizer/blob/master/src/Coduo/PHPHumanizer/DateTime/PreciseFormatter.php to handle such cases. |
Alright. |
@norzechowicz all done. |
@orestes please also update tests in https://github.com/coduo/php-humanizer/blob/master/tests/Coduo/PHPHumanizer/Tests/DateTimeTest.php |
@orestes thanks, could you please rebase your branch against master? After that I gonna merge it |
67435b7
to
5260e91
Compare
Rebased and pushed :) |
@orestes awesome! 🍻 |
Initial work on a Spanish translation. There might be a problem with the way you generate the compound past/future in PreciseFormatter, which is always a suffix. In Spanish, we actually use a prefix. When I figure out a way of implementing it I'll send in another pull request.