-
Notifications
You must be signed in to change notification settings - Fork 24.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove translations for non-existent languages "fb" and "cb" #42028
Conversation
Hi @pandaninjas! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
Base commit: 1f89a1c |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
This PR still doesn't work because |
I think a bot will go add these back if they are removed. I can change some settings so that they aren't projected into OSS though. In the meantime, could you follow the recommendation of excluding in Gradle config? |
We can't use Android Gradle Plugin's resConfigs to specifically exclude languages because resConfigs is a list of languages to be included in the result AAB. It could be possible if we specified every single language allowed by Google Play Console. |
We removed these from 0.73 branch. In main branch, we now filter to the list of languages published by Google as supported for Play Store distribution. |
Hi when this problem will be solve it's still present on 0.73.4 |
Have you tried |
Hi |
Summary:
This PR resolves #42024
Values directories for language codes "fb" and "cb" are added incorrectly, causing Google Play Console to reject the app due to unrecognized languages.
Changelog:
[Android] [Fixed] - Removed translations for non-existent languages "fb" and "cb", fixing bug where Google Play Console refuses to accept the AAB.
Test Plan:
Under current React Native:
npx react-native@latest init AwesomeProject cd AwesomeProject npx react-native build-android --mode=release
Uploading AAB to Google Play Console (recommended to create a new app for this, it can be deleted later)
Under this contribution:
Apply this patch to the react-native in AwesomeProject
npx react-native build-android --mode=release