Skip to content

This reference project implements the usage of localizedStandardRange to solve the issues highlighted in "Build Multilingual-ready apps" from WWD24

Notifications You must be signed in to change notification settings

theoriginalbit/MultilingualSearching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multilingual Searching

This reference project implements the usage of localizedStandardRange(of:) to solve the issues highlighted in Build Multilingual-ready apps from WWD24. Specifically respecting local-specific conventions for spelling.

The project highlights the matched range of the search term in red, demonstrating the solution to another issue highlighted in the same WWDC session. For the best explanation watch 2 minutes of this direct time link. This app used red to be a more extreme and noticable difference, but in a real app you would likely use shades of grey.

The following screenshot shows the search in this app being local-aware (note: Å matches A) and using colour to highlight why the item matched the search term.

A screenshot of the app showing a list of items that match the search term. Each item has the search term highlighted in red to show why it matched the search term.

About

This reference project implements the usage of localizedStandardRange to solve the issues highlighted in "Build Multilingual-ready apps" from WWD24

Topics

Resources

Stars

Watchers

Forks

Languages