通过使用 Crowdin 的 Google Play 集成,您可以加快应用的数据本地化进程。 一旦启用了该集成,商店页面的所有文本都会被收集到一个文件中,并添加到您在 Crowdin 的项目中。 当译文完成后,只需几次点击就可以将它们添加至商店中的应用页面中。
若要将 Google Play 与您在 Crowdin 的项目连接,请遵循如下步骤:
如果输入错误,您可以编辑包名,并根据需要删除集成。
集成会将源文本收集到一个文件中,该文件将放置在 源 > 文件 中。 默认情况下,文件名为 google_play.xml
。
要发布译文,请遵循以下步骤:
要将翻译从 Crowdin 直接发布到您的 Google Play 项目,您需要事先配置对 Google Play 管理中心的访问权限。
To create and add your service account credentials, follow these steps:
Link Google Play Console with Google Cloud project:
Link an existing project or create a new one.
Generate service account credentials:
Go to Service accounts. If prompted, select one of the existing projects.
点击 创建服务帐户。
Specify the service account name and click Create and Continue.
From the Role list, select Service Accounts > Service Account User and click Done.
Open the Actions menu on the created service account and select Manage keys.
In the Keys tab, click Add key > Create new key.
选择 JSON 并单击 创建。
A JSON file that contains your service account credentials will be downloaded to your machine.
Grant access to your service account:
In the Google Play Console, go to Setup > API access and click Grant access on your service account.
In the Account permissions tab, select the following permissions:
然后,您可以使用该文件和您的服务账户凭据将您的译文从 Crowdin 发布到 Google Play。