├── Localizer.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── abdelrahmanshaheen.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── xcuserdata │ └── abdelrahmanshaheen.xcuserdatad │ └── xcschemes │ ├── Localizer.xcscheme │ └── xcschememanagement.plist ├── Localizer ├── AppDelegate.h ├── AppDelegate.m ├── Base.lproj │ ├── LaunchScreen.xib │ └── Main.storyboard ├── Images.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json ├── Info.plist ├── ViewController.h ├── ViewController.m ├── ar.lproj │ ├── LaunchScreen.strings │ └── Main.strings ├── en.lproj │ ├── LaunchScreen.strings │ └── Main.strings └── main.m ├── LocalizerTests ├── Info.plist └── LocalizerTests.m └── README.md /Localizer.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 81B2D4851A9F802600B2FC86 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 81B2D4841A9F802600B2FC86 /* main.m */; }; 11 | 81B2D4881A9F802600B2FC86 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 81B2D4871A9F802600B2FC86 /* AppDelegate.m */; }; 12 | 81B2D48B1A9F802600B2FC86 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 81B2D48A1A9F802600B2FC86 /* ViewController.m */; }; 13 | 81B2D48E1A9F802600B2FC86 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81B2D48C1A9F802600B2FC86 /* Main.storyboard */; }; 14 | 81B2D4901A9F802600B2FC86 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 81B2D48F1A9F802600B2FC86 /* Images.xcassets */; }; 15 | 81B2D4931A9F802600B2FC86 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 81B2D4911A9F802600B2FC86 /* LaunchScreen.xib */; }; 16 | 81B2D49F1A9F802600B2FC86 /* LocalizerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 81B2D49E1A9F802600B2FC86 /* LocalizerTests.m */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXContainerItemProxy section */ 20 | 81B2D4991A9F802600B2FC86 /* PBXContainerItemProxy */ = { 21 | isa = PBXContainerItemProxy; 22 | containerPortal = 81B2D4771A9F802600B2FC86 /* Project object */; 23 | proxyType = 1; 24 | remoteGlobalIDString = 81B2D47E1A9F802600B2FC86; 25 | remoteInfo = Localizer; 26 | }; 27 | /* End PBXContainerItemProxy section */ 28 | 29 | /* Begin PBXFileReference section */ 30 | 81B2D47F1A9F802600B2FC86 /* Localizer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Localizer.app; sourceTree = BUILT_PRODUCTS_DIR; }; 31 | 81B2D4831A9F802600B2FC86 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 32 | 81B2D4841A9F802600B2FC86 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 33 | 81B2D4861A9F802600B2FC86 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 34 | 81B2D4871A9F802600B2FC86 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 35 | 81B2D4891A9F802600B2FC86 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; 36 | 81B2D48A1A9F802600B2FC86 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 37 | 81B2D48F1A9F802600B2FC86 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 38 | 81B2D4921A9F802600B2FC86 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 39 | 81B2D4981A9F802600B2FC86 /* LocalizerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = LocalizerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 40 | 81B2D49D1A9F802600B2FC86 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 41 | 81B2D49E1A9F802600B2FC86 /* LocalizerTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LocalizerTests.m; sourceTree = ""; }; 42 | 81B2D4A91A9F815900B2FC86 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/LaunchScreen.strings; sourceTree = ""; }; 43 | 81B2D4AD1A9F81C500B2FC86 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/LaunchScreen.strings; sourceTree = ""; }; 44 | 81B2D4B21A9F881500B2FC86 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 45 | 81B2D4B31A9F881A00B2FC86 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Main.strings; sourceTree = ""; }; 46 | 81B2D4B41A9F881E00B2FC86 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/Main.strings; sourceTree = ""; }; 47 | /* End PBXFileReference section */ 48 | 49 | /* Begin PBXFrameworksBuildPhase section */ 50 | 81B2D47C1A9F802600B2FC86 /* Frameworks */ = { 51 | isa = PBXFrameworksBuildPhase; 52 | buildActionMask = 2147483647; 53 | files = ( 54 | ); 55 | runOnlyForDeploymentPostprocessing = 0; 56 | }; 57 | 81B2D4951A9F802600B2FC86 /* Frameworks */ = { 58 | isa = PBXFrameworksBuildPhase; 59 | buildActionMask = 2147483647; 60 | files = ( 61 | ); 62 | runOnlyForDeploymentPostprocessing = 0; 63 | }; 64 | /* End PBXFrameworksBuildPhase section */ 65 | 66 | /* Begin PBXGroup section */ 67 | 81B2D4761A9F802600B2FC86 = { 68 | isa = PBXGroup; 69 | children = ( 70 | 81B2D4811A9F802600B2FC86 /* Localizer */, 71 | 81B2D49B1A9F802600B2FC86 /* LocalizerTests */, 72 | 81B2D4801A9F802600B2FC86 /* Products */, 73 | ); 74 | sourceTree = ""; 75 | }; 76 | 81B2D4801A9F802600B2FC86 /* Products */ = { 77 | isa = PBXGroup; 78 | children = ( 79 | 81B2D47F1A9F802600B2FC86 /* Localizer.app */, 80 | 81B2D4981A9F802600B2FC86 /* LocalizerTests.xctest */, 81 | ); 82 | name = Products; 83 | sourceTree = ""; 84 | }; 85 | 81B2D4811A9F802600B2FC86 /* Localizer */ = { 86 | isa = PBXGroup; 87 | children = ( 88 | 81B2D4861A9F802600B2FC86 /* AppDelegate.h */, 89 | 81B2D4871A9F802600B2FC86 /* AppDelegate.m */, 90 | 81B2D4891A9F802600B2FC86 /* ViewController.h */, 91 | 81B2D48A1A9F802600B2FC86 /* ViewController.m */, 92 | 81B2D48C1A9F802600B2FC86 /* Main.storyboard */, 93 | 81B2D48F1A9F802600B2FC86 /* Images.xcassets */, 94 | 81B2D4911A9F802600B2FC86 /* LaunchScreen.xib */, 95 | 81B2D4821A9F802600B2FC86 /* Supporting Files */, 96 | ); 97 | path = Localizer; 98 | sourceTree = ""; 99 | }; 100 | 81B2D4821A9F802600B2FC86 /* Supporting Files */ = { 101 | isa = PBXGroup; 102 | children = ( 103 | 81B2D4831A9F802600B2FC86 /* Info.plist */, 104 | 81B2D4841A9F802600B2FC86 /* main.m */, 105 | ); 106 | name = "Supporting Files"; 107 | sourceTree = ""; 108 | }; 109 | 81B2D49B1A9F802600B2FC86 /* LocalizerTests */ = { 110 | isa = PBXGroup; 111 | children = ( 112 | 81B2D49E1A9F802600B2FC86 /* LocalizerTests.m */, 113 | 81B2D49C1A9F802600B2FC86 /* Supporting Files */, 114 | ); 115 | path = LocalizerTests; 116 | sourceTree = ""; 117 | }; 118 | 81B2D49C1A9F802600B2FC86 /* Supporting Files */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 81B2D49D1A9F802600B2FC86 /* Info.plist */, 122 | ); 123 | name = "Supporting Files"; 124 | sourceTree = ""; 125 | }; 126 | /* End PBXGroup section */ 127 | 128 | /* Begin PBXNativeTarget section */ 129 | 81B2D47E1A9F802600B2FC86 /* Localizer */ = { 130 | isa = PBXNativeTarget; 131 | buildConfigurationList = 81B2D4A21A9F802600B2FC86 /* Build configuration list for PBXNativeTarget "Localizer" */; 132 | buildPhases = ( 133 | 81B2D47B1A9F802600B2FC86 /* Sources */, 134 | 81B2D47C1A9F802600B2FC86 /* Frameworks */, 135 | 81B2D47D1A9F802600B2FC86 /* Resources */, 136 | ); 137 | buildRules = ( 138 | ); 139 | dependencies = ( 140 | ); 141 | name = Localizer; 142 | productName = Localizer; 143 | productReference = 81B2D47F1A9F802600B2FC86 /* Localizer.app */; 144 | productType = "com.apple.product-type.application"; 145 | }; 146 | 81B2D4971A9F802600B2FC86 /* LocalizerTests */ = { 147 | isa = PBXNativeTarget; 148 | buildConfigurationList = 81B2D4A51A9F802600B2FC86 /* Build configuration list for PBXNativeTarget "LocalizerTests" */; 149 | buildPhases = ( 150 | 81B2D4941A9F802600B2FC86 /* Sources */, 151 | 81B2D4951A9F802600B2FC86 /* Frameworks */, 152 | 81B2D4961A9F802600B2FC86 /* Resources */, 153 | ); 154 | buildRules = ( 155 | ); 156 | dependencies = ( 157 | 81B2D49A1A9F802600B2FC86 /* PBXTargetDependency */, 158 | ); 159 | name = LocalizerTests; 160 | productName = LocalizerTests; 161 | productReference = 81B2D4981A9F802600B2FC86 /* LocalizerTests.xctest */; 162 | productType = "com.apple.product-type.bundle.unit-test"; 163 | }; 164 | /* End PBXNativeTarget section */ 165 | 166 | /* Begin PBXProject section */ 167 | 81B2D4771A9F802600B2FC86 /* Project object */ = { 168 | isa = PBXProject; 169 | attributes = { 170 | LastUpgradeCheck = 0610; 171 | ORGANIZATIONNAME = tutorial; 172 | TargetAttributes = { 173 | 81B2D47E1A9F802600B2FC86 = { 174 | CreatedOnToolsVersion = 6.1; 175 | }; 176 | 81B2D4971A9F802600B2FC86 = { 177 | CreatedOnToolsVersion = 6.1; 178 | TestTargetID = 81B2D47E1A9F802600B2FC86; 179 | }; 180 | }; 181 | }; 182 | buildConfigurationList = 81B2D47A1A9F802600B2FC86 /* Build configuration list for PBXProject "Localizer" */; 183 | compatibilityVersion = "Xcode 3.2"; 184 | developmentRegion = English; 185 | hasScannedForEncodings = 0; 186 | knownRegions = ( 187 | en, 188 | Base, 189 | ); 190 | mainGroup = 81B2D4761A9F802600B2FC86; 191 | productRefGroup = 81B2D4801A9F802600B2FC86 /* Products */; 192 | projectDirPath = ""; 193 | projectRoot = ""; 194 | targets = ( 195 | 81B2D47E1A9F802600B2FC86 /* Localizer */, 196 | 81B2D4971A9F802600B2FC86 /* LocalizerTests */, 197 | ); 198 | }; 199 | /* End PBXProject section */ 200 | 201 | /* Begin PBXResourcesBuildPhase section */ 202 | 81B2D47D1A9F802600B2FC86 /* Resources */ = { 203 | isa = PBXResourcesBuildPhase; 204 | buildActionMask = 2147483647; 205 | files = ( 206 | 81B2D48E1A9F802600B2FC86 /* Main.storyboard in Resources */, 207 | 81B2D4931A9F802600B2FC86 /* LaunchScreen.xib in Resources */, 208 | 81B2D4901A9F802600B2FC86 /* Images.xcassets in Resources */, 209 | ); 210 | runOnlyForDeploymentPostprocessing = 0; 211 | }; 212 | 81B2D4961A9F802600B2FC86 /* Resources */ = { 213 | isa = PBXResourcesBuildPhase; 214 | buildActionMask = 2147483647; 215 | files = ( 216 | ); 217 | runOnlyForDeploymentPostprocessing = 0; 218 | }; 219 | /* End PBXResourcesBuildPhase section */ 220 | 221 | /* Begin PBXSourcesBuildPhase section */ 222 | 81B2D47B1A9F802600B2FC86 /* Sources */ = { 223 | isa = PBXSourcesBuildPhase; 224 | buildActionMask = 2147483647; 225 | files = ( 226 | 81B2D48B1A9F802600B2FC86 /* ViewController.m in Sources */, 227 | 81B2D4881A9F802600B2FC86 /* AppDelegate.m in Sources */, 228 | 81B2D4851A9F802600B2FC86 /* main.m in Sources */, 229 | ); 230 | runOnlyForDeploymentPostprocessing = 0; 231 | }; 232 | 81B2D4941A9F802600B2FC86 /* Sources */ = { 233 | isa = PBXSourcesBuildPhase; 234 | buildActionMask = 2147483647; 235 | files = ( 236 | 81B2D49F1A9F802600B2FC86 /* LocalizerTests.m in Sources */, 237 | ); 238 | runOnlyForDeploymentPostprocessing = 0; 239 | }; 240 | /* End PBXSourcesBuildPhase section */ 241 | 242 | /* Begin PBXTargetDependency section */ 243 | 81B2D49A1A9F802600B2FC86 /* PBXTargetDependency */ = { 244 | isa = PBXTargetDependency; 245 | target = 81B2D47E1A9F802600B2FC86 /* Localizer */; 246 | targetProxy = 81B2D4991A9F802600B2FC86 /* PBXContainerItemProxy */; 247 | }; 248 | /* End PBXTargetDependency section */ 249 | 250 | /* Begin PBXVariantGroup section */ 251 | 81B2D48C1A9F802600B2FC86 /* Main.storyboard */ = { 252 | isa = PBXVariantGroup; 253 | children = ( 254 | 81B2D4B21A9F881500B2FC86 /* Base */, 255 | 81B2D4B31A9F881A00B2FC86 /* en */, 256 | 81B2D4B41A9F881E00B2FC86 /* ar */, 257 | ); 258 | name = Main.storyboard; 259 | sourceTree = ""; 260 | }; 261 | 81B2D4911A9F802600B2FC86 /* LaunchScreen.xib */ = { 262 | isa = PBXVariantGroup; 263 | children = ( 264 | 81B2D4921A9F802600B2FC86 /* Base */, 265 | 81B2D4A91A9F815900B2FC86 /* ar */, 266 | 81B2D4AD1A9F81C500B2FC86 /* en */, 267 | ); 268 | name = LaunchScreen.xib; 269 | sourceTree = ""; 270 | }; 271 | /* End PBXVariantGroup section */ 272 | 273 | /* Begin XCBuildConfiguration section */ 274 | 81B2D4A01A9F802600B2FC86 /* Debug */ = { 275 | isa = XCBuildConfiguration; 276 | buildSettings = { 277 | ALWAYS_SEARCH_USER_PATHS = NO; 278 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 279 | CLANG_CXX_LIBRARY = "libc++"; 280 | CLANG_ENABLE_MODULES = YES; 281 | CLANG_ENABLE_OBJC_ARC = YES; 282 | CLANG_WARN_BOOL_CONVERSION = YES; 283 | CLANG_WARN_CONSTANT_CONVERSION = YES; 284 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 285 | CLANG_WARN_EMPTY_BODY = YES; 286 | CLANG_WARN_ENUM_CONVERSION = YES; 287 | CLANG_WARN_INT_CONVERSION = YES; 288 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 289 | CLANG_WARN_UNREACHABLE_CODE = YES; 290 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 291 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 292 | COPY_PHASE_STRIP = NO; 293 | ENABLE_STRICT_OBJC_MSGSEND = YES; 294 | GCC_C_LANGUAGE_STANDARD = gnu99; 295 | GCC_DYNAMIC_NO_PIC = NO; 296 | GCC_OPTIMIZATION_LEVEL = 0; 297 | GCC_PREPROCESSOR_DEFINITIONS = ( 298 | "DEBUG=1", 299 | "$(inherited)", 300 | ); 301 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 302 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 303 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 304 | GCC_WARN_UNDECLARED_SELECTOR = YES; 305 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 306 | GCC_WARN_UNUSED_FUNCTION = YES; 307 | GCC_WARN_UNUSED_VARIABLE = YES; 308 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 309 | MTL_ENABLE_DEBUG_INFO = YES; 310 | ONLY_ACTIVE_ARCH = YES; 311 | SDKROOT = iphoneos; 312 | }; 313 | name = Debug; 314 | }; 315 | 81B2D4A11A9F802600B2FC86 /* Release */ = { 316 | isa = XCBuildConfiguration; 317 | buildSettings = { 318 | ALWAYS_SEARCH_USER_PATHS = NO; 319 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 320 | CLANG_CXX_LIBRARY = "libc++"; 321 | CLANG_ENABLE_MODULES = YES; 322 | CLANG_ENABLE_OBJC_ARC = YES; 323 | CLANG_WARN_BOOL_CONVERSION = YES; 324 | CLANG_WARN_CONSTANT_CONVERSION = YES; 325 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 326 | CLANG_WARN_EMPTY_BODY = YES; 327 | CLANG_WARN_ENUM_CONVERSION = YES; 328 | CLANG_WARN_INT_CONVERSION = YES; 329 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 330 | CLANG_WARN_UNREACHABLE_CODE = YES; 331 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 332 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 333 | COPY_PHASE_STRIP = YES; 334 | ENABLE_NS_ASSERTIONS = NO; 335 | ENABLE_STRICT_OBJC_MSGSEND = YES; 336 | GCC_C_LANGUAGE_STANDARD = gnu99; 337 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 338 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 339 | GCC_WARN_UNDECLARED_SELECTOR = YES; 340 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 341 | GCC_WARN_UNUSED_FUNCTION = YES; 342 | GCC_WARN_UNUSED_VARIABLE = YES; 343 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 344 | MTL_ENABLE_DEBUG_INFO = NO; 345 | SDKROOT = iphoneos; 346 | VALIDATE_PRODUCT = YES; 347 | }; 348 | name = Release; 349 | }; 350 | 81B2D4A31A9F802600B2FC86 /* Debug */ = { 351 | isa = XCBuildConfiguration; 352 | buildSettings = { 353 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 354 | INFOPLIST_FILE = Localizer/Info.plist; 355 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 356 | PRODUCT_NAME = "$(TARGET_NAME)"; 357 | }; 358 | name = Debug; 359 | }; 360 | 81B2D4A41A9F802600B2FC86 /* Release */ = { 361 | isa = XCBuildConfiguration; 362 | buildSettings = { 363 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 364 | INFOPLIST_FILE = Localizer/Info.plist; 365 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 366 | PRODUCT_NAME = "$(TARGET_NAME)"; 367 | }; 368 | name = Release; 369 | }; 370 | 81B2D4A61A9F802600B2FC86 /* Debug */ = { 371 | isa = XCBuildConfiguration; 372 | buildSettings = { 373 | BUNDLE_LOADER = "$(TEST_HOST)"; 374 | FRAMEWORK_SEARCH_PATHS = ( 375 | "$(SDKROOT)/Developer/Library/Frameworks", 376 | "$(inherited)", 377 | ); 378 | GCC_PREPROCESSOR_DEFINITIONS = ( 379 | "DEBUG=1", 380 | "$(inherited)", 381 | ); 382 | INFOPLIST_FILE = LocalizerTests/Info.plist; 383 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 384 | PRODUCT_NAME = "$(TARGET_NAME)"; 385 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Localizer.app/Localizer"; 386 | }; 387 | name = Debug; 388 | }; 389 | 81B2D4A71A9F802600B2FC86 /* Release */ = { 390 | isa = XCBuildConfiguration; 391 | buildSettings = { 392 | BUNDLE_LOADER = "$(TEST_HOST)"; 393 | FRAMEWORK_SEARCH_PATHS = ( 394 | "$(SDKROOT)/Developer/Library/Frameworks", 395 | "$(inherited)", 396 | ); 397 | INFOPLIST_FILE = LocalizerTests/Info.plist; 398 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 399 | PRODUCT_NAME = "$(TARGET_NAME)"; 400 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Localizer.app/Localizer"; 401 | }; 402 | name = Release; 403 | }; 404 | /* End XCBuildConfiguration section */ 405 | 406 | /* Begin XCConfigurationList section */ 407 | 81B2D47A1A9F802600B2FC86 /* Build configuration list for PBXProject "Localizer" */ = { 408 | isa = XCConfigurationList; 409 | buildConfigurations = ( 410 | 81B2D4A01A9F802600B2FC86 /* Debug */, 411 | 81B2D4A11A9F802600B2FC86 /* Release */, 412 | ); 413 | defaultConfigurationIsVisible = 0; 414 | defaultConfigurationName = Release; 415 | }; 416 | 81B2D4A21A9F802600B2FC86 /* Build configuration list for PBXNativeTarget "Localizer" */ = { 417 | isa = XCConfigurationList; 418 | buildConfigurations = ( 419 | 81B2D4A31A9F802600B2FC86 /* Debug */, 420 | 81B2D4A41A9F802600B2FC86 /* Release */, 421 | ); 422 | defaultConfigurationIsVisible = 0; 423 | defaultConfigurationName = Release; 424 | }; 425 | 81B2D4A51A9F802600B2FC86 /* Build configuration list for PBXNativeTarget "LocalizerTests" */ = { 426 | isa = XCConfigurationList; 427 | buildConfigurations = ( 428 | 81B2D4A61A9F802600B2FC86 /* Debug */, 429 | 81B2D4A71A9F802600B2FC86 /* Release */, 430 | ); 431 | defaultConfigurationIsVisible = 0; 432 | defaultConfigurationName = Release; 433 | }; 434 | /* End XCConfigurationList section */ 435 | }; 436 | rootObject = 81B2D4771A9F802600B2FC86 /* Project object */; 437 | } 438 | -------------------------------------------------------------------------------- /Localizer.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Localizer.xcodeproj/project.xcworkspace/xcuserdata/abdelrahmanshaheen.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abdelrahman-ahmed/RTL-Localizer-iOS/554a9785d05d6d07cf64f298dcffdedefbfed700/Localizer.xcodeproj/project.xcworkspace/xcuserdata/abdelrahmanshaheen.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Localizer.xcodeproj/xcuserdata/abdelrahmanshaheen.xcuserdatad/xcschemes/Localizer.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 75 | 76 | 82 | 83 | 84 | 85 | 86 | 87 | 93 | 94 | 100 | 101 | 102 | 103 | 105 | 106 | 109 | 110 | 111 | -------------------------------------------------------------------------------- /Localizer.xcodeproj/xcuserdata/abdelrahmanshaheen.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Localizer.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 81B2D47E1A9F802600B2FC86 16 | 17 | primary 18 | 19 | 20 | 81B2D4971A9F802600B2FC86 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Localizer/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // Localizer 4 | // 5 | // Created by abdelrahman shaheen on 2/26/15. 6 | // Copyright (c) 2015 tutorial. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /Localizer/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // Localizer 4 | // 5 | // Created by abdelrahman shaheen on 2/26/15. 6 | // Copyright (c) 2015 tutorial. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | 11 | @interface AppDelegate () 12 | 13 | @end 14 | 15 | @implementation AppDelegate 16 | 17 | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 19 | // Override point for customization after application launch. 20 | return YES; 21 | } 22 | 23 | - (void)applicationWillResignActive:(UIApplication *)application { 24 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 25 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 26 | } 27 | 28 | - (void)applicationDidEnterBackground:(UIApplication *)application { 29 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 30 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 31 | } 32 | 33 | - (void)applicationWillEnterForeground:(UIApplication *)application { 34 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 35 | } 36 | 37 | - (void)applicationDidBecomeActive:(UIApplication *)application { 38 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application { 42 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 43 | } 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /Localizer/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /Localizer/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 28 | 48 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /Localizer/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Localizer/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | com.tutorial.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /Localizer/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // Localizer 4 | // 5 | // Created by abdelrahman shaheen on 2/26/15. 6 | // Copyright (c) 2015 tutorial. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /Localizer/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // Localizer 4 | // 5 | // Created by abdelrahman shaheen on 2/26/15. 6 | // Copyright (c) 2015 tutorial. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | 11 | @interface ViewController () 12 | 13 | @end 14 | 15 | @implementation ViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | // Do any additional setup after loading the view, typically from a nib. 20 | } 21 | 22 | - (void)didReceiveMemoryWarning { 23 | [super didReceiveMemoryWarning]; 24 | // Dispose of any resources that can be recreated. 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Localizer/ar.lproj/LaunchScreen.strings: -------------------------------------------------------------------------------- 1 | 2 | /* Class = "IBUILabel"; text = " Copyright (c) 2015 tutorial. All rights reserved."; ObjectID = "8ie-xW-0ye"; */ 3 | "8ie-xW-0ye.text" = "حقوق الطبع محفوظة ٢٠١٥ للشركة"; 4 | 5 | /* Class = "IBUILabel"; text = "Localizer"; ObjectID = "kId-c2-rCX"; */ 6 | "kId-c2-rCX.text" = "Localizer"; 7 | -------------------------------------------------------------------------------- /Localizer/ar.lproj/Main.strings: -------------------------------------------------------------------------------- 1 | 2 | /* Class = "IBUIButton"; normalTitle = "Center"; ObjectID = "0GF-4J-WNt"; */ 3 | "0GF-4J-WNt.normalTitle" = "الوسط"; 4 | 5 | /* Class = "IBUIButton"; normalTitle = "End"; ObjectID = "7XY-GP-r7L"; */ 6 | "7XY-GP-r7L.normalTitle" = "النهايه"; 7 | 8 | /* Class = "IBUIButton"; normalTitle = "Start"; ObjectID = "8FF-Hl-gad"; */ 9 | "8FF-Hl-gad.normalTitle" = "البدايه"; 10 | -------------------------------------------------------------------------------- /Localizer/en.lproj/LaunchScreen.strings: -------------------------------------------------------------------------------- 1 | 2 | /* Class = "IBUILabel"; text = " Copyright (c) 2015 tutorial. All rights reserved."; ObjectID = "8ie-xW-0ye"; */ 3 | "8ie-xW-0ye.text" = " Copyright (c) 2015 tutorial. All rights reserved."; 4 | 5 | /* Class = "IBUILabel"; text = "Localizer"; ObjectID = "kId-c2-rCX"; */ 6 | "kId-c2-rCX.text" = "Localizer"; 7 | -------------------------------------------------------------------------------- /Localizer/en.lproj/Main.strings: -------------------------------------------------------------------------------- 1 | 2 | /* Class = "IBUIButton"; normalTitle = "Center"; ObjectID = "0GF-4J-WNt"; */ 3 | "0GF-4J-WNt.normalTitle" = "Center"; 4 | 5 | /* Class = "IBUIButton"; normalTitle = "End"; ObjectID = "7XY-GP-r7L"; */ 6 | "7XY-GP-r7L.normalTitle" = "End"; 7 | 8 | /* Class = "IBUIButton"; normalTitle = "Start"; ObjectID = "8FF-Hl-gad"; */ 9 | "8FF-Hl-gad.normalTitle" = "Start"; 10 | -------------------------------------------------------------------------------- /Localizer/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // Localizer 4 | // 5 | // Created by abdelrahman shaheen on 2/26/15. 6 | // Copyright (c) 2015 tutorial. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /LocalizerTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | com.tutorial.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /LocalizerTests/LocalizerTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // LocalizerTests.m 3 | // LocalizerTests 4 | // 5 | // Created by abdelrahman shaheen on 2/26/15. 6 | // Copyright (c) 2015 tutorial. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface LocalizerTests : XCTestCase 13 | 14 | @end 15 | 16 | @implementation LocalizerTests 17 | 18 | - (void)setUp { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown { 24 | // Put teardown code here. This method is called after the invocation of each test method in the class. 25 | [super tearDown]; 26 | } 27 | 28 | - (void)testExample { 29 | // This is an example of a functional test case. 30 | XCTAssert(YES, @"Pass"); 31 | } 32 | 33 | - (void)testPerformanceExample { 34 | // This is an example of a performance test case. 35 | [self measureBlock:^{ 36 | // Put the code you want to measure the time of here. 37 | }]; 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # RTL-Localizer-iOS 2 | support right to left languages in iOS applications 3 | 4 | see the project's Wiki 5 | 6 | https://github.com/abdelrahman-ahmed/RTL-Localizer-iOS/wiki/RTL-Internationalization-in-iOS-apps 7 | --------------------------------------------------------------------------------