游戏中心排行榜/成就中的语言错误 [英] Wrong language in Game Center Leaderboards/Achievements

查看:106
本文介绍了游戏中心排行榜/成就中的语言错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

设备语言是意大利语,当我从我的应用程序打开游戏中心时,标题排行榜",成就"是意大利语,而排行榜的名称和描述以及成就则是英语!

The device language is Italian, when I open the Game Center from my app the titles "leaderboard" "achievement" are in Italian but the names and description of leaderboards and achievements are in English!!

我使用此代码进行显示:

I use this code to show it :

GameKitHelper *gkHelper = [GameKitHelper sharedGameKitHelper];
[gkHelper showLeaderboard];

如果我直接从应用程序打开Game Center,Game Center就是意大利语.

If I open the Game Center directly from the app Game Center is everything in Italian.

推荐答案

似乎正在运行的应用程序会缓存本地化的排行榜标题.如果您使应用程序保持运行状态并切换语言,则当您返回该应用程序时,排行榜视图将使用先前语言的标题.我的应用程序中有4种语言,因此我很快注意到了这种模式.

It seems that a running app caches the localised Leaderboard titles. If you leave the app running and switch languages, when you return to the app, the Leaderboard view uses the previous language's titles. I have 4 languages in my app so I noticed the pattern fairly quickly.

很少有开发人员对排行榜的翻译感到困扰.因此,我唯一能找到的应用是iPad上的Zen Pinball,它证实了这一行为.我认为这是一个iOS错误,但由于很少有用户会感到不便,因此我不会解决此问题.

Sadly very few developers have bothered with translations of the Leaderboards. So the only app I could find was Zen Pinball for iPad, it confirmed this behaviour. I think this is an iOS bug but I'm not going to work around this as very few users would be inconvenienced.

这篇关于游戏中心排行榜/成就中的语言错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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