With Crowdin’s Google Play integration, you can speed up the process of your app’s data localization. Після увімкнення інтеграції всі тексти зі сторінки крамниці збираються в один файл і додаються до вашого проєкту в Crowdin. When translations are completed, it takes a few clicks to add them to your app’s page in the store.
Щоб під’єднати Google Play до свого проєкту в Crowdin, виконайте такі дії:
You can edit the package name if you entered it incorrectly and delete the integration if needed.
The integration will collect the source texts into a file which will be placed in Sources > Files. By default, the file name is set to google_play.xml
.
To publish translations, follow these steps:
Щоб публікувати переклади з Crowdin безпосередньо у вашому проєкті Google Play, вам потрібно заздалегідь налаштувати доступ до Google Play Console.
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.
Згенеруйте облікові дані службового облікового запису:
Go to Service accounts. Якщо буде запропоновано, оберіть один із існуючих проектів.
Click Create Service Account.
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.
Надайте доступ до вашого службового облікового запису:
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.