Document supported_locales for Mobile 4.6 - #549
Merged
Merged
Conversation
mobile-air #369 adds a supported_locales config key. It decides which languages an app offers in the Android per-app language picker, the iOS Preferred Language setting and the App Store listing. Adds a Localization page under Digging Deeper, a short reference in Configuration, and updates the permission string sections for apps and plugins. The upgrade guide gets a 4.6 entry because translated iOS permission strings now need their locale declared. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docs for mobile-air #369, which adds a
supported_localesconfig key. That key decides which languages an app offers in the Android per-app language picker, the iOS Preferred Language setting and the App Store listing.What changed
Device::getInfo(), the two build warnings, and removing a language.CFBundleLocalizationsin a plugin'sinfo_plistis ignored.permission_localizations, or rely on a plugin's translations, need to declare those locales or the translated strings stop shipping.config/docs.php: adds 4.6 to the released versions list so the version badges passVersionBadgeTest. Same change Document production and testing builds for Mobile 4.5 #523 made for 4.5.Things to check
config/docs.phpneed changing. It should merge when that release is tagged, not before.AppServiceProvider::boot(). I checked the code: bridge functions are registered before PHP boots on both platforms, so the call works there. On Android the persistent runtime survives the activity being recreated, soboot()does not run again when the user switches language with the app open. The page says so in an aside. I have not tested this on a device.Tests
php artisan test tests/Feature/DocumentationRenderingTest.php tests/Feature/DocumentationTableOfContentsTest.php tests/Feature/Docs tests/Feature/DocsPrereleaseVersionTest.php tests/Feature/DocsMcpServerPageTest.php tests/Feature/DocsSearchMetaTagsTest.phpgives 96 passed.🤖 Generated with Claude Code