{"id":27154045,"url":"https://github.com/chicio/whichlocale","last_synced_at":"2025-04-08T16:20:07.011Z","repository":{"id":282486836,"uuid":"948756849","full_name":"chicio/WhichLocale","owner":"chicio","description":"An iOS app used to show how iOS manages locale selection for an app. This is the example app for my blog post \"Which Locale? Decoding the Madness Behind iOS Localization and Language Preferences\"","archived":false,"fork":false,"pushed_at":"2025-03-14T23:07:16.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T23:29:09.749Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chicio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-14T22:49:26.000Z","updated_at":"2025-03-14T23:07:20.000Z","dependencies_parsed_at":"2025-03-14T23:29:13.120Z","dependency_job_id":"cfb68512-b0bc-4633-8860-fb3e164c5d1c","html_url":"https://github.com/chicio/WhichLocale","commit_stats":null,"previous_names":["chicio/whichlocale"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicio%2FWhichLocale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicio%2FWhichLocale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicio%2FWhichLocale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicio%2FWhichLocale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chicio","download_url":"https://codeload.github.com/chicio/WhichLocale/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247877963,"owners_count":21011158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-08T16:20:06.371Z","updated_at":"2025-04-08T16:20:06.999Z","avatar_url":"https://github.com/chicio.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Which Locale?\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/chicio/WhichLocale/main/LICENSE.md)\n\nAn iOS app used to show how iOS manages locale selection for an app. This is the example app for my blog post \"Which Locale? Decoding the Madness Behind iOS Localization and Language Preferences\"\n\n## Description\n\nThis repository contains an example app created to show the details of how iOS selection the user locale based on user system settings and the \nlocalizations available in the app bundle.\n\n\u003e We conducted several experiments to understand the logic behind the values stored in this user default, only to be\nastonished by the results: none of the returned values was matching our expection in terms of locale with respect to the\nones we defined in our apps.\nThat’s when we realized we needed to gain a deeper understanding of how iOS determines a user’s locale.  \nThis marked the beginning of our journey down the rabbit hole of iOS localization wolrd. Along the way, we learned a lot\nabout how iOS selects a locale for apps with multiple locale defined in its bundle.  \nJoin us on this wild ride and avoid falling into the same traps we did when dealing with iOS locale madness!...\n\nClick [here](https://www.fabrizioduroni.it/blog/post/2025/03/17/locale-ios-app-device \"ios locale how does it work\") to read the post.\n\n\u003cimg src=\"https://raw.githubusercontent.com/chicio/WhichLocale/refs/heads/main/app-screenshot.png\" width=\"300\"\u003e\n\nNB.: I suggest to try the app on a physical device to avoid any false positive/unwanted behaviour in the simulator.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchicio%2Fwhichlocale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchicio%2Fwhichlocale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchicio%2Fwhichlocale/lists"}