Skip to content
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

Date::fuzzySpan internationalization #11

Open
peppelauro opened this issue Aug 4, 2014 · 2 comments
Open

Date::fuzzySpan internationalization #11

peppelauro opened this issue Aug 4, 2014 · 2 comments

Comments

@peppelauro
Copy link

Why don't internationalize the fuzzySpan method to allow multilanguage support?

@shadowhand
Copy link
Contributor

What would be the best way to do that? Convert strings like "a few minutes" in Date::fuzzySpan to static::t("few", "minutes") and static::t("less than", "minutes), or something else? I'm not familiar with the best practices for i18n in this kind of situation.

@peppelauro
Copy link
Author

Maybe it would be more simple to have the full string as "key", static::t("a few minutes")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants