{"id":19288546,"url":"https://github.com/mark2b/l10n","last_synced_at":"2025-08-01T06:12:19.042Z","repository":{"id":16240679,"uuid":"79610419","full_name":"mark2b/l10n","owner":"mark2b","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-10T19:34:41.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T08:02:23.551Z","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/mark2b.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-01-20T23:47:23.000Z","updated_at":"2022-01-10T19:32:55.000Z","dependencies_parsed_at":"2022-08-07T08:15:17.780Z","dependency_job_id":null,"html_url":"https://github.com/mark2b/l10n","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mark2b%2Fl10n","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mark2b%2Fl10n/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mark2b%2Fl10n/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mark2b%2Fl10n/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mark2b","download_url":"https://codeload.github.com/mark2b/l10n/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240393006,"owners_count":19794195,"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":"2024-11-09T22:09:28.754Z","updated_at":"2025-02-23T23:25:29.865Z","avatar_url":"https://github.com/mark2b.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# l10n\n\n[![CI Status](http://img.shields.io/travis/Mark Berner/l10n.svg?style=flat)](https://travis-ci.org/Mark Berner/l10n)\n[![Version](https://img.shields.io/cocoapods/v/l10n.svg?style=flat)](http://cocoapods.org/pods/l10n)\n[![License](https://img.shields.io/cocoapods/l/l10n.svg?style=flat)](http://cocoapods.org/pods/l10n)\n[![Platform](https://img.shields.io/cocoapods/p/l10n.svg?style=flat)](http://cocoapods.org/pods/l10n)\n\n**l10n** String extension provides convenient way for strings localization\n```swift\n\n\"Hello, World !!!\".l10n()               // Looks for \"Hello, World !!!\" key in the Localized.strings \n\"Hello, World !!!\".l10n(l.vc1)          // Looks for \"Hello, World !!!\" key in the\n                                        // ViewController1.strings (mapped via l10NResources)\n\"Hello, %@ !!!\".l10n(args:\"Me\")         // Looks for \"Hello, %@ !!!\" key in the Localized.strings\n                                        // and replace '%@' by argument\n\"Hello, %@ !!!\".l10n(l.vc1, args:\"Me\")\n\nextension l10nResources {\n    public static let vc1 = \"ViewController1\"\n    public static let vc2 = \"ViewController2\"\n}\ntypealias l = l10NResources\n\n```\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Requirements\n\n## Installation\n\nl10n is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"l10n\"\n```\n\n## Author\n\nMark Berner, mark2b@gmail.com\n\n## License\n\nl10n is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmark2b%2Fl10n","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmark2b%2Fl10n","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmark2b%2Fl10n/lists"}