├── .gitignore ├── .swift-version ├── .travis.yml ├── CHANGELOG.md ├── Example ├── Example.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── Example.xcscheme │ └── xcuserdata │ │ └── andresilvagomez.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist └── Example │ ├── AppDelegate.swift │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── CustomLocalize.swift │ ├── Images.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── LaunchImage.launchimage │ │ └── Contents.json │ ├── Info.plist │ ├── ViewController.swift │ ├── lang-en-DE.json │ ├── lang-en.json │ ├── lang-es.json │ └── lang-fr.json ├── Licence ├── Localize.podspec ├── Localize.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── xcshareddata │ └── xcschemes │ │ ├── Localize.xcscheme │ │ └── LocalizeTests.xcscheme └── xcuserdata │ ├── andresilvagomez.xcuserdatad │ ├── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist │ └── xcschemes │ │ └── xcschememanagement.plist │ └── andresmontoya.xcuserdatad │ └── xcschemes │ └── xcschememanagement.plist ├── Localize.xcworkspace ├── contents.xcworkspacedata └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── Package.swift ├── README.md ├── Source ├── Info.plist ├── Localize.h ├── Localize.swift ├── LocalizeCommonProtocol.swift ├── LocalizeConfig.swift ├── LocalizeExtensions.swift ├── LocalizeJson.swift ├── LocalizeProtocol.swift ├── LocalizeStatic.swift ├── LocalizeString.swift ├── LocalizeStrings.swift ├── LocalizeUI.swift └── Pluralize.swift ├── Tests ├── Base.lproj │ └── Storyboard.storyboard ├── BaseTest.swift ├── BaseTestInSpanish.swift ├── Info.plist ├── JSONBadSources.swift ├── JsonChanginFileName.swift ├── OnlyOneLang.strings ├── OtherLangTest.swift ├── PluralizeJsonTest.swift ├── PluralizeStringsTest.swift ├── ReadingOtherFiles.swift ├── StringBadSources.swift ├── StringBaseTest.swift ├── StringBaseTestInSpanish.swift ├── StringFallbackTest.swift ├── StringSingleTest.swift ├── StringsChanginDefaultFileName.swift ├── UIViewComponents.swift ├── UIViewComponentsES.swift ├── UIViewComponentsWithDisabledAutoLocalize.swift ├── UIViewComponentsWithString.swift ├── badJSON-en.json ├── en.lproj │ ├── Other.strings │ └── Strings.strings ├── es-CO.lproj │ ├── Other.strings │ └── Strings.strings ├── es.lproj │ ├── Other.strings │ ├── Storyboard.storyboard │ └── Strings.strings ├── file-de.json ├── fr.lproj │ ├── Other.strings │ ├── Storyboard.strings │ └── Strings.strings ├── lang-en.json ├── lang-es.json ├── lang-fr.json ├── langTable-en.json ├── other-en.json ├── other-es.json └── some-it.json ├── issue-template.md └── pull_request_template.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/.gitignore -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Example/Example.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Example/Example.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Example/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Example/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme -------------------------------------------------------------------------------- /Example/Example.xcodeproj/xcuserdata/andresilvagomez.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Example/Example.xcodeproj/xcuserdata/andresilvagomez.xcuserdatad/xcschemes/xcschememanagement.plist -------------------------------------------------------------------------------- /Example/Example/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Example/Example/AppDelegate.swift -------------------------------------------------------------------------------- /Example/Example/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Example/Example/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /Example/Example/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Example/Example/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /Example/Example/CustomLocalize.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Example/Example/CustomLocalize.swift -------------------------------------------------------------------------------- /Example/Example/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Example/Example/Images.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Example/Example/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Example/Example/Images.xcassets/LaunchImage.launchimage/Contents.json -------------------------------------------------------------------------------- /Example/Example/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Example/Example/Info.plist -------------------------------------------------------------------------------- /Example/Example/ViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Example/Example/ViewController.swift -------------------------------------------------------------------------------- /Example/Example/lang-en-DE.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Example/Example/lang-en-DE.json -------------------------------------------------------------------------------- /Example/Example/lang-en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Example/Example/lang-en.json -------------------------------------------------------------------------------- /Example/Example/lang-es.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Example/Example/lang-es.json -------------------------------------------------------------------------------- /Example/Example/lang-fr.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Example/Example/lang-fr.json -------------------------------------------------------------------------------- /Licence: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Licence -------------------------------------------------------------------------------- /Localize.podspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Localize.podspec -------------------------------------------------------------------------------- /Localize.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Localize.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Localize.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Localize.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Localize.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Localize.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Localize.xcodeproj/xcshareddata/xcschemes/Localize.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Localize.xcodeproj/xcshareddata/xcschemes/Localize.xcscheme -------------------------------------------------------------------------------- /Localize.xcodeproj/xcshareddata/xcschemes/LocalizeTests.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Localize.xcodeproj/xcshareddata/xcschemes/LocalizeTests.xcscheme -------------------------------------------------------------------------------- /Localize.xcodeproj/xcuserdata/andresilvagomez.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Localize.xcodeproj/xcuserdata/andresilvagomez.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist -------------------------------------------------------------------------------- /Localize.xcodeproj/xcuserdata/andresilvagomez.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Localize.xcodeproj/xcuserdata/andresilvagomez.xcuserdatad/xcschemes/xcschememanagement.plist -------------------------------------------------------------------------------- /Localize.xcodeproj/xcuserdata/andresmontoya.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Localize.xcodeproj/xcuserdata/andresmontoya.xcuserdatad/xcschemes/xcschememanagement.plist -------------------------------------------------------------------------------- /Localize.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Localize.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Localize.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Localize.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/README.md -------------------------------------------------------------------------------- /Source/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Source/Info.plist -------------------------------------------------------------------------------- /Source/Localize.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Source/Localize.h -------------------------------------------------------------------------------- /Source/Localize.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Source/Localize.swift -------------------------------------------------------------------------------- /Source/LocalizeCommonProtocol.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Source/LocalizeCommonProtocol.swift -------------------------------------------------------------------------------- /Source/LocalizeConfig.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Source/LocalizeConfig.swift -------------------------------------------------------------------------------- /Source/LocalizeExtensions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Source/LocalizeExtensions.swift -------------------------------------------------------------------------------- /Source/LocalizeJson.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Source/LocalizeJson.swift -------------------------------------------------------------------------------- /Source/LocalizeProtocol.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Source/LocalizeProtocol.swift -------------------------------------------------------------------------------- /Source/LocalizeStatic.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Source/LocalizeStatic.swift -------------------------------------------------------------------------------- /Source/LocalizeString.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Source/LocalizeString.swift -------------------------------------------------------------------------------- /Source/LocalizeStrings.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Source/LocalizeStrings.swift -------------------------------------------------------------------------------- /Source/LocalizeUI.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Source/LocalizeUI.swift -------------------------------------------------------------------------------- /Source/Pluralize.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Source/Pluralize.swift -------------------------------------------------------------------------------- /Tests/Base.lproj/Storyboard.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/Base.lproj/Storyboard.storyboard -------------------------------------------------------------------------------- /Tests/BaseTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/BaseTest.swift -------------------------------------------------------------------------------- /Tests/BaseTestInSpanish.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/BaseTestInSpanish.swift -------------------------------------------------------------------------------- /Tests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/Info.plist -------------------------------------------------------------------------------- /Tests/JSONBadSources.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/JSONBadSources.swift -------------------------------------------------------------------------------- /Tests/JsonChanginFileName.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/JsonChanginFileName.swift -------------------------------------------------------------------------------- /Tests/OnlyOneLang.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/OnlyOneLang.strings -------------------------------------------------------------------------------- /Tests/OtherLangTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/OtherLangTest.swift -------------------------------------------------------------------------------- /Tests/PluralizeJsonTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/PluralizeJsonTest.swift -------------------------------------------------------------------------------- /Tests/PluralizeStringsTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/PluralizeStringsTest.swift -------------------------------------------------------------------------------- /Tests/ReadingOtherFiles.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/ReadingOtherFiles.swift -------------------------------------------------------------------------------- /Tests/StringBadSources.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/StringBadSources.swift -------------------------------------------------------------------------------- /Tests/StringBaseTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/StringBaseTest.swift -------------------------------------------------------------------------------- /Tests/StringBaseTestInSpanish.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/StringBaseTestInSpanish.swift -------------------------------------------------------------------------------- /Tests/StringFallbackTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/StringFallbackTest.swift -------------------------------------------------------------------------------- /Tests/StringSingleTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/StringSingleTest.swift -------------------------------------------------------------------------------- /Tests/StringsChanginDefaultFileName.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/StringsChanginDefaultFileName.swift -------------------------------------------------------------------------------- /Tests/UIViewComponents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/UIViewComponents.swift -------------------------------------------------------------------------------- /Tests/UIViewComponentsES.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/UIViewComponentsES.swift -------------------------------------------------------------------------------- /Tests/UIViewComponentsWithDisabledAutoLocalize.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/UIViewComponentsWithDisabledAutoLocalize.swift -------------------------------------------------------------------------------- /Tests/UIViewComponentsWithString.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/UIViewComponentsWithString.swift -------------------------------------------------------------------------------- /Tests/badJSON-en.json: -------------------------------------------------------------------------------- 1 | { 2 | "heyi'makey" = "I'm the value." 3 | } 4 | -------------------------------------------------------------------------------- /Tests/en.lproj/Other.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/en.lproj/Other.strings -------------------------------------------------------------------------------- /Tests/en.lproj/Strings.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/en.lproj/Strings.strings -------------------------------------------------------------------------------- /Tests/es-CO.lproj/Other.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/es-CO.lproj/Other.strings -------------------------------------------------------------------------------- /Tests/es-CO.lproj/Strings.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/es-CO.lproj/Strings.strings -------------------------------------------------------------------------------- /Tests/es.lproj/Other.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/es.lproj/Other.strings -------------------------------------------------------------------------------- /Tests/es.lproj/Storyboard.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/es.lproj/Storyboard.storyboard -------------------------------------------------------------------------------- /Tests/es.lproj/Strings.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/es.lproj/Strings.strings -------------------------------------------------------------------------------- /Tests/file-de.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/file-de.json -------------------------------------------------------------------------------- /Tests/fr.lproj/Other.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/fr.lproj/Other.strings -------------------------------------------------------------------------------- /Tests/fr.lproj/Storyboard.strings: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Tests/fr.lproj/Strings.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/fr.lproj/Strings.strings -------------------------------------------------------------------------------- /Tests/lang-en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/lang-en.json -------------------------------------------------------------------------------- /Tests/lang-es.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/lang-es.json -------------------------------------------------------------------------------- /Tests/lang-fr.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/lang-fr.json -------------------------------------------------------------------------------- /Tests/langTable-en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/langTable-en.json -------------------------------------------------------------------------------- /Tests/other-en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/other-en.json -------------------------------------------------------------------------------- /Tests/other-es.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/Tests/other-es.json -------------------------------------------------------------------------------- /Tests/some-it.json: -------------------------------------------------------------------------------- 1 | { 2 | "hello" : "Ciao mondo!" 3 | } 4 | -------------------------------------------------------------------------------- /issue-template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/issue-template.md -------------------------------------------------------------------------------- /pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andresilvagomez/Localize/HEAD/pull_request_template.md --------------------------------------------------------------------------------