通过使用 Crowdin 的 Google Play 集成,您可以加快应用的数据本地化进程。 一旦启用了该集成,商店页面的所有文本都会被收集到一个文件中,并添加到您在 Crowdin 企业版的项目中。 当译文完成后,只需几次点击就可以将它们添加至商店中的应用页面中。
若要将 Google Play 与您在 Crowdin 企业版的项目连接,请遵循如下步骤:
如果包名输入不正确,可以编辑包名,需要时可以删除集成。
The integration will collect the source texts into a file which will be placed in Content > Files. By default, the file name is set to google_play.xml
.
To publish translations, follow these steps:
To publish translations from Crowdin Enterprise directly to your Google Play project, you need to configure access to your Google Play Console beforehand.
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.
Select JSON and click Create.
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:
After it, you can use the file with your service account credentials to publish your translations from Crowdin Enterprise to Google Play.