69621

Wrong language in Game Center Leaderboards/Achievements

Question:

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];

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

Answer1:

Your app should follow the language settings that are set at a device level, not at an app level. You cant force game/app kit into another language, the user needs to change their language in the settings.

Answer2:

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.

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.

Recommend

  • How can I add a column to a work table using a new stored procedure
  • Why won't my canvas clear between animation frames?
  • How to Dynamically Set Zingchart Attribute within Angular ng-Repeat
  • Blending languages - Python and Objective-C
  • How to play a BGM and know current playback time on in cocos2d ios?
  • Pausing and Playing SpriteKit Game in Swift
  • extending namespace std via partial template specialization
  • Activate Two Cameras At The Same Time
  • Uncaught TypeError: $.ajax is not a function
  • How to access element like with simplexml?
  • Why are Google Play games icons not shown in Play Store?
  • Tilemap Collisions don't work in Phaser
  • Three js, get the vector3 that pointerlockcontrolsi s facing
  • All bodies have rigidbody 2d and boxcollider2d and there's no collision
  • ElasticSearch searching with hyphen inside a word
  • Pixel perfect collision?
  • shell script for grabbing data and subtracting
  • How to inject service to class and then extend component with it?
  • Text is greyed out when JButton is disabled
  • how to build game playing neural network in Python?
  • Threads in jMonkey and Nifty?
  • Is it expensive to create the Thread object or to actually start the thread?
  • Python 3 Sorting a List of Tuples?
  • Different builds of turn-based Game Center game can’t see each other’s matches
  • opengl window freezing during move/resize
  • Cannot page through all results using nextPageToken on YouTube search API v3
  • C++ Single function pointer for all template instances
  • Can I have a variable number of URI parameters or key-value pairs in Laravel 4?
  • Test if a set exists before trying to drop it
  • Django: Count of Group Elements
  • javascript inside java/jsp code
  • Sending data from AppleScript to FileMaker records
  • KeystoneJS: Relationships in Admin UI not updating
  • AngularJs get employee from factory
  • Benchmarking RAM performance - UWP and C#
  • Load html files in TinyMce
  • Acquiring multiple attributes from .xml file in c#
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • How can I remove ASP.NET Designer.cs files?
  • java string with new operator and a literal