{"id":13465846,"url":"https://github.com/andrealufino/Translatio","last_synced_at":"2025-03-25T21:30:35.732Z","repository":{"id":56924497,"uuid":"98517388","full_name":"andrealufino/Translatio","owner":"andrealufino","description":"Super lightweight library that helps you to localize strings, even directly in storyboards!","archived":true,"fork":false,"pushed_at":"2019-11-11T18:34:29.000Z","size":1963,"stargazers_count":19,"open_issues_count":0,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-04T19:15:52.520Z","etag":null,"topics":["framework","ios","language","languages","localizable","localization","storyboard","storyboards","swift","translation"],"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/andrealufino.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-27T09:16:43.000Z","updated_at":"2023-12-22T13:22:12.000Z","dependencies_parsed_at":"2022-08-21T05:20:25.478Z","dependency_job_id":null,"html_url":"https://github.com/andrealufino/Translatio","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrealufino%2FTranslatio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrealufino%2FTranslatio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrealufino%2FTranslatio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrealufino%2FTranslatio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrealufino","download_url":"https://codeload.github.com/andrealufino/Translatio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222091638,"owners_count":16929668,"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":["framework","ios","language","languages","localizable","localization","storyboard","storyboards","swift","translation"],"created_at":"2024-07-31T15:00:36.178Z","updated_at":"2024-10-29T18:30:14.131Z","avatar_url":"https://github.com/andrealufino.png","language":"Swift","funding_links":[],"categories":["Libs","Localization [🔝](#readme)"],"sub_categories":["Localization"],"readme":"# Translatio\n\n[![CI Status](http://img.shields.io/travis/andrealufino/Translatio.svg?style=flat)](https://travis-ci.org/andrealufino/Translatio)\n[![Version](https://img.shields.io/cocoapods/v/Translatio.svg?style=flat)](http://cocoapods.org/pods/Translatio)\n[![License](https://img.shields.io/cocoapods/l/Translatio.svg?style=flat)](http://cocoapods.org/pods/Translatio)\n[![Platform](https://img.shields.io/cocoapods/p/Translatio.svg?style=flat)](http://cocoapods.org/pods/Translatio)\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"http://i.imgur.com/rTGx92L.png\" alt=\"Logo\"/\u003e\n\u003c/p\u003e\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\niOS 9 or higher.\nSwift 5.\n\n## Installation\n\nTranslatio is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"Translatio\"\n```\n\n## Usage\n\n### Code\n\nTranslatio provides 2 additions to the String objects :\n\n- `localized` property\n- `localized(withBundle:tableName)` method\n\nThey can both be used easily in code, this is an example :\n\n```swift\nlet hello = \"UI.Home.Hello\".localized\nlet anotherHello = \"UI.Home.Hello\".localized(withBundle: Bundle.main, tableName: \"Labels\")\n```\n\n### Interface Builder (storyboard and xib)\n\nTranslatio adds extensions to all the most common UI elements such as UIButton, UITextField, UITextView, UILabel, UIBarButtonItem, UINavigationItem. The extensions provide an `@IBInspectable` property that can be modified directly in the storyboard. This gives a very big advantage in localizing interface files. \n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"http://i.imgur.com/CZcydWF.png\" alt=\"Logo\"/\u003e\n\u003c/p\u003e\n\nAs you can see the UILabel now has a Localizable Text property that can be modified directly in the IB.\n\n## Author\n\nAndrea Mario Lufino, [andrealufino.me](https://andrealufino.me).\n\n## License\n\nTranslatio 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%2Fandrealufino%2FTranslatio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrealufino%2FTranslatio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrealufino%2FTranslatio/lists"}