Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
ICU-plural-rules-demo.xcodeproj
ICU-plural-rules-demo
README.md

README.md

ICU plural rules

Demonstrates number plural form determination via ICU. Apple uses something like that to select correct string from .stringsdict.

Apple uses ICU's uplrules_select and friends for plural form selection, so I desided to try to access that features. Apple supplies required object code with CoreFoundation in libicucore.A.dylib. Unfortunately Apple does not provide upluralrules.h with required functions, so I had to add them by myself.

For more details see Understanding iOS internationalization.