Triple-T / gradle-play-publisher

GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.
MIT License
4.11k stars 340 forks source link

Release notes languages management #1104

Open ChumachenkoRoman opened 11 months ago

ChumachenkoRoman commented 11 months ago

Our app currently is published in different regions but uses only English release notes. Is there any way to publish single release notes file for all languages?

github-actions[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

SUPERCILEX commented 11 months ago

You'd have to implement this, but yeah probably.

ChumachenkoRoman commented 11 months ago

We used straightforward approach: we created default files for all available languages and created simple bash script which writes same release notes to each one. So we update all those files before assembling release build and that's it.

I was curious if there is another way to achieve same result?

SUPERCILEX commented 11 months ago

Yeah, no better way unfortunately. This is a very reasonable request though so I'd accept a PR that supports a default language folder. The one thing that concerns me is how we upload all those languages to the Play API: do we need to hardcode a list of language codes? Ideally the Play API would support a default.

ChumachenkoRoman commented 11 months ago

Maybe I'm getting you wrong here but the default file should be located under a language-named directory for it to be handled to play correctly

SUPERCILEX commented 11 months ago

Yeah that's correct. I'm saying that if someone wants to open a PR to change that, I'm onboard.