Crowdin’s integration with Google Play improves the process of your app’s data localization. Once enabled all the texts from the store page are collected in one file and added to your project in Crowdin. When translations are done, it takes a few clicks to add them to your app’s page in the store.
Connecting Google Play with Crowdin
Open Project Settings, Integrations tab in Crowdin, scroll down to the Google Play section. Enter the package name and click Set Up Integration.
When it’s done, you’ll see connected tag next to the Google Play logo (1).
You would be able to edit the package name if entered incorrectly and delete integration if needed (2).
The file with the source text would appear in the Project Settings, Files tab. It’s name is set by default to googl_play.xml
When translations in Crowdin are ready you click Preview & Publish Translations.
Look through translations to check if everything looks good to you. Uncheck the languages you do not want to publish. Click Next to proceed.
Attach the file with your service account credentials and click Publish Translations.
The process of languages upload to Google Play would be visible in the next window.
When upload is done Close button will be active. Click on it.
Note: Google Play limits the amount of times you can publish translations for the same language in one day.
Создание полномочий служебной учетной записи
Before you can publish translations you’d have to open access to your Google Play Developer Console. This would allow you publish translations directly to your Google Play project within Crowdin.
Note: for the safety reasons, the file with your service account credentials is not stored, so you’d have to attach this file each time publishing your translations to Google Play.
Follow these steps to create and add your service account credentials:
Link Google Play Developer Console with Google Developer project:
- Open the API access page in the Developer Console Settings
Select an existing project or create a new one and click Link
Generate service account credentials:
Open the Service accounts page. If prompted, select one of the existing projects.
Click Create Service Account
- Type a service account name
- Choose Service Account Actor as your project role
Check the Furnish a new private key option (JSON key type is required)
At this point your service account credentials file is generated and downloaded to your machine.
Grant access to your service account:
Click Grant access across the created service account on the API access page
In the newly appeared window check the following permissions:
- Редактировать список магазинов, цены и распространение
- Управление APK
- Click Add user
Now, you can use the file with your service account credentials to publish your translations to Google Play within Crowdin.