Added string pluralization support example#73
Added string pluralization support example#73fhasse95 wants to merge 3 commits intoskiptools:mainfrom
Conversation
|
Hi @marcprux, I noticed that you recently removed the temporarily referenced Skip Foundation branch. However, this PR is now failing to build successfully. I suspect this is because a new version of Skip Foundation hasn't been released yet, so it's still using the current one. Are there any plans for a new release soon? |
Thanks for the heads-up. I just tagged skip-foundation 1.3.16. Let me know if you continue to have any issues with the pluralization support. P.S. It'd be great to also add this enhancement to https://github.com/skiptools/skipapp-showcase-fuse/pulls, which is the one that is released to the Play Store/App Store. It is a tedious duplication of work, but it is nice to keep the two showcases (Lite and Fuse) in sync as much as possible, at least until we can merge the two projects into a single one. |
This PR demonstrates the string pluralization support by extending
LocalizationPlayground.swift.Parent PR:
Notes & Limitations:
LocalizationPlayground.swift), these may not be correctly applied if the underlying system locale is set to a language like English, which only supports "zero", "one" and "other" (see screenshots below).Screenshots:

Device Locale Matching (iOS)
Device Locale Matching (Android):

=> Supports all variants
Device Locale Not Matching (iOS):

Device Locale Not Matching (Android):

=> Supports only "zero", "one" and "other"
Thank you for contributing to the Skip project! Please use this space to describe your change and add any labels (bug, enhancement, documentation, etc.) to help categorize your contribution.
Please review the contribution guide at https://skip.dev/docs/contributing/ for advice and guidance on making high-quality PRs.
Skip Pull Request Checklist:
swift test=> I used AI assistance while translating the new localized strings.