破国际通过API [英] broken Internationalization through API

查看:144
本文介绍了破国际通过API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

若干天前,我创建了一个小型的PHP扩展使用PHP-四角库的mediawiki。要获得德国类别我添加的Accept-Language:德像这里所描述的HTTP头的https:/ /developer.foursquare.com/overview/versioning

Some days ago I created a small PHP-Extension for mediawiki using php-foursquare library. To get the categories in german I added "Accept-Language: de" to the HTTP Header like described here https://developer.foursquare.com/overview/versioning

起初一切正常,因为它应该,但我现在又得到在englisch结果。是否有任何的bug /问题,这事吗?

At first everything worked as it should, but now I'm getting the results in englisch again. Is there any bug/issue about this?

推荐答案

确认这是一个错误。我已经在内部报告说,它的相关团队,希望它很快就会解决。

Confirmed that this is a bug. I've reported it internally to the relevant team, hopefully it'll be fixed soon.

这篇关于破国际通过API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆