{"id":16683855,"url":"https://github.com/meniny/localization","last_synced_at":"2025-07-27T03:03:49.532Z","repository":{"id":56919933,"uuid":"98500271","full_name":"Meniny/Localization","owner":"Meniny","description":"📱A Localization Manager written in Swift.","archived":false,"fork":false,"pushed_at":"2017-08-04T07:53:21.000Z","size":129,"stargazers_count":7,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-15T19:11:36.141Z","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/Meniny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-27T06:13:51.000Z","updated_at":"2024-07-18T08:58:37.000Z","dependencies_parsed_at":"2022-08-21T04:20:16.104Z","dependency_job_id":null,"html_url":"https://github.com/Meniny/Localization","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Meniny/Localization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2FLocalization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2FLocalization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2FLocalization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2FLocalization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Meniny","download_url":"https://codeload.github.com/Meniny/Localization/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2FLocalization/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267293749,"owners_count":24065319,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2024-10-12T14:26:49.469Z","updated_at":"2025-07-27T03:03:49.495Z","avatar_url":"https://github.com/Meniny.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n  \u003cbr/\u003e\u003ca href=\"https://cocoapods.org/pods/EasyGCD\"\u003e\n  \u003cimg alt=\"Version\" src=\"https://img.shields.io/badge/version-1.0.2-brightgreen.svg\"\u003e\n  \u003cimg alt=\"Author\" src=\"https://img.shields.io/badge/author-Meniny-blue.svg\"\u003e\n  \u003cimg alt=\"Build Passing\" src=\"https://img.shields.io/badge/build-passing-brightgreen.svg\"\u003e\n  \u003cimg alt=\"Swift\" src=\"https://img.shields.io/badge/swift-3.0%2B-orange.svg\"\u003e\n  \u003cbr/\u003e\n  \u003cimg alt=\"Platforms\" src=\"https://img.shields.io/badge/platform-macOS%20%7C%20iOS%20%7C%20watchOS%20%7C%20tvOS-lightgrey.svg\"\u003e\n  \u003cimg alt=\"MIT\" src=\"https://img.shields.io/badge/license-MIT-blue.svg\"\u003e\n  \u003cbr/\u003e\n  \u003cimg alt=\"Cocoapods\" src=\"https://img.shields.io/badge/cocoapods-compatible-brightgreen.svg\"\u003e\n  \u003cimg alt=\"Carthage\" src=\"https://img.shields.io/badge/carthage-working%20on-red.svg\"\u003e\n  \u003cimg alt=\"SPM\" src=\"https://img.shields.io/badge/swift%20package%20manager-working%20on-red.svg\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## What's this?\n\n`Localization` is a Localization Manager written in Swift.\n\n## Requirements\n\n* iOS 8.0+\n* macOS 10.10+\n* watchOS 2.0+\n* tvOS 9.0+\n* Xcode 8 with Swift 3\n\n## Installation\n\n#### CocoaPods\n\n```ruby\nuse_frameworks!\npod 'Localization'\n```\n\n## Contribution\n\nYou are welcome to fork and submit pull requests.\n\n## License\n\n`Localization` is open-sourced software, licensed under the `MIT` license.\n\n## Usage\n\n```swift\nimport Localization\n\nclass SomeSettingsClass {\n  func changeLanguage() {\n      Localization.preferredLanguage = LocalizableLanguage.french.code // == \"fr\"\n  }\n}\n```\n\n```swift\nimport Localization\n\nclass SomeViewController: UIViewController {\n  var someLabel: UILabel = UILabel()\n\n  override func viewDidLoad() {\n    super.viewDidLoad()\n    // ...\n\n    Localization.startObserve(with: self, selector: #selector(localizationDidChangeWithPreferredLanguage))\n    }\n\n  deinit {\n    Localization.stopObserve(with: self)\n  }\n\n  func localizationDidChangeWithPreferredLanguage() {\n    someLabel.text = \"SomeLocalizationKey\".localized()\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeniny%2Flocalization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeniny%2Flocalization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeniny%2Flocalization/lists"}