Update web_helpers.rb

fix a bug about zh-cn support.
Merge pull request #1962 from wndfly/master

Update web_helpers.rb