WhichBrowser / Parser-PHP

Browser sniffing gone too far — A useragent parser library for PHP
http://whichbrowser.net
MIT License
1.79k stars 240 forks source link

Set English as the default to allow automated translation services #633

Closed summercms closed 2 years ago

summercms commented 3 years ago

See github issue: https://github.com/WhichBrowser/Parser-PHP/issues/632

This pr converts the following languages into English. The idea is to set the repo as a default of English and allow translations of other languages. We are using an automated translation service where we need the base line default files to be constant and set as a single language. As 99.99% of the repo is set to English we have decided to make it 100% English.

The following translations took place in this pr:

Also there are a few coding mistakes cleaned up such as to this "

This pr also merges the English and Chinese Surf Browser pr into this one plus convert the Chinese name into English. See here old pr (not yet merged and moved into this one): https://github.com/WhichBrowser/Parser-PHP/pull/332

Note:

Can't test "Open-Sankore" user agent as I can't find one online and their website has closed down.

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 3336d6e5f980b08fed46e4052ff7b6ff587dc608 on summercms:english into da24adc4f4f26002673d236e69b91a10f2fd594c on WhichBrowser:master.