Ping
Ping copied to clipboard
Support translations
Right now the class uses the hardcoded string 'time=' to find the latency from the exec output, but when the ping program is localized the class incorrectly assumes the host is unreachable.
In dutch for example this should be 'tijd='.
I would love to get Ping internationalized; I didn't realize ping was localized like that. Since I don't have too much experience with localization, I'd love your input (and anyone else's); is gettext the best/preferred way of doing localization in PHP at this time?
I think gettext is the perfect way to solve this.
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
This issue is no longer marked for closure.