启用 Google Play 游戏服务功能
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本页介绍了如何在 Google Play 管理中心内为您的游戏启用 Google Play 游戏服务功能。
准备工作
定义和管理成就、排行榜与事件
您可以在 Google Play 管理中心内创建、修改和删除成就、排行榜与事件。如需了解详情,请参阅以下指南:
启用游戏存档
如需启用游戏存档服务,请在 Play 管理中心内完成以下步骤:
- 在 Google Play 管理中心内,选择一款游戏。
- 在 Play 游戏服务 - 配置页面(拓展 >
Play 游戏服务 > 设置和管理 > 配置)中,选择修改属性。
- 将游戏存档选项设为开启。
- 点击 Save。
执行上述步骤后,Google Play 游戏服务最长可能需要 24 小时才能为您的游戏激活游戏存档服务。如果您想要立即测试游戏存档服务,请在测试设备上手动清除 Google Play 服务应用中的数据。
如需清除 Android 上的缓存数据,请依次进入设置 > 应用 > Google Play 服务,点击管理空间,然后点击清除所有数据。
如需详细了解游戏存档服务,请参阅游戏存档游戏指南。
添加翻译
您可以为游戏详细信息设置自己的翻译,包括显示名称、游戏说明和图形资源。您还可以为与您游戏相关联的成就和排行榜自行指定翻译。
如需为游戏详细信息自行添加翻译,请按以下步骤操作:
- 在 Google Play 管理中心内,选择一款游戏。
- 前往 Play 游戏服务 - 配置页面(拓展 > Play 游戏服务 > 设置和管理 > 配置)。
- 选择修改属性。
- 依次选择管理翻译 > 管理您自行提供的翻译。
- 选择您要提供的翻译语言,然后点击应用以确认您的选择。在属性页面中,您所选择的语言将包含在语言选择器中。
- 从语言选择器中选择要编辑的语言,然后在表单中编辑显示名称、说明和图形资源的对应译文。
- 点击保存更改以存储翻译后的游戏详细信息。
如需详细了解如何为成就和排行榜添加翻译,请参阅成就和排行榜指南。
当显示游戏详细信息、排行榜和成就字符串时,Play 游戏服务会从游戏支持的语言中选择使用与用户请求的语言最接近的语言。例如,如果用户的设备语言偏好设置为法语(加拿大)(fr-CA),但游戏仅支持英语(美国)(en-US) 和法语(法国)(fr-FR),则 Play 游戏服务会选择显示 fr-FR 字符串,因为这是最接近的匹配语言。
向用户授予修改权限
若要在 Play 管理中心内修改 Play 游戏服务设置,您必须确保您的团队拥有管理 Play 游戏服务的权限。如需详细了解 Play 管理中心中的权限,请参阅添加开发者账号用户并管理权限。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Enable Google Play Games Services features\n\nThis page describes how to enable Google Play Games Services features for your\ngame in Google Play Console.\n\nBefore you begin\n----------------\n\n- [Set up Play Games Services](/games/pgs/console/setup).\n\n- Integrate Play Games Services [sign-in]() in your game project.\n\n - For Java games, see\n [sign-in for Android games](/games/pgs/android/signin).\n\n - For Unity games, see\n [Sign-in for Unity](/games/pgs/unity/unity-start#signin).\n\n - The C API V2 for Play Games Services is coming soon.\n\nDefine and manage achievements, leaderboards, and events\n--------------------------------------------------------\n\nYou can create, edit, and delete achievements, leaderboards, and events in\nGoogle Play Console. For more information, see the following guides:\n\n- [Achievements](/games/pgs/achievements)\n\n- [Leaderboards](/games/pgs/leaderboards)\n\n- [Events](/games/pgs/events)\n\nEnable Saved Games\n------------------\n\nTo enable the Saved Games service, complete these steps in\nPlay Console:\n\n1. In the [Google Play Console](https://play.google.com/apps/publish/), select a game.\n2. In the **Play Games Services - Configuration** page (**Grow \\\u003e\n Play Games Services \\\u003e Setup and\n management \\\u003e Configuration** ), select **Edit properties**.\n3. Turn the **Saved Games** option to **ON**.\n4. Click **Save**.\n\nAfter performing the steps, it may take up to 24 hours for Google Play Games Services to\nactivate the Saved Games service for your game. If you want to test the Saved\nGames service immediately, manually clear the data in the Google Play Services\napp on your test device.\n\nTo clear the cached data on Android, open\n**Settings \\\u003e Apps \\\u003e Google Play services** , click on **Manage Space** , then\nclick **Clear All Data**.\n\nFor more information about the Saved Games service, see the\n[Saved Games game guide](/games/pgs/savedgames).\n\nAdd translations\n----------------\n\nYou can set your own translations for game details, including the display name,\ngame description, and graphic assets. You can also specify your own translations\nfor achievements and leaderboards that are associated with your game.\n\nTo add your own translations for game details:\n\n1. In the [Google Play Console](https://play.google.com/apps/publish/), select a game.\n2. Navigate to the **Play Games Services - Configuration** page (**Grow \\\u003e Play Games\n Services \\\u003e Setup and\n management \\\u003e Configuration**).\n3. Select **Edit properties**.\n4. Select **Manage translations \\\u003e Manage\n your own translations**.\n5. Select the languages that you will provide translations for, then click **Apply** to confirm your selection. On the **Properties** page, the languages that you selected become available in the language selector.\n6. Select the language that you want to edit from the language selector, then edit the form with your translations for the display name, the description, and the graphic assets.\n7. Click **Save changes** to store your translated game details.\n\nFor more information on adding translations for achievements and leaderboards,\nsee the [achievements](/games/pgs/achievements) and\n[leaderboards](/games/pgs/leaderboards) guides.\n\nWhen displaying game detail, leaderboard, and achievement strings,\nPlay Games Services uses the game-supported language that is closest to the\nuser-requested language. For example, if the user's device language preference\nis set to French (Canada) (fr-CA), but the game supports only English\n(United States) (en-US) and French (France) (fr-FR), Play Games Services selects\nthe fr-FR strings to display since this is the closest matching language.\n\nGrant edit permissions to users\n-------------------------------\n\nTo edit Play Games Services settings within Play Console, you must ensure that\nyour team has the right permissions to manage Play Game Services. See\n[Add developer account users and manage permissions](https://support.google.com/googleplay/android-developer/answer/9844686)\nfor more information about permissions in Play Console."]]