{"action":"closed","issue":{"url":"https://api.github.com/repos/paypal/PayPal-iOS-SDK/issues/449","repository_url":"https://api.github.com/repos/paypal/PayPal-iOS-SDK","labels_url":"https://api.github.com/repos/paypal/PayPal-iOS-SDK/issues/449/labels{/name}","comments_url":"https://api.github.com/repos/paypal/PayPal-iOS-SDK/issues/449/comments","events_url":"https://api.github.com/repos/paypal/PayPal-iOS-SDK/issues/449/events","html_url":"https://github.com/paypal/PayPal-iOS-SDK/issues/449","id":172249757,"number":449,"title":"It doesn't support Simplified and Traditional (iOS 9.0 or above)","user":{"login":"youngshingjun","id":746817,"avatar_url":"https://avatars.githubusercontent.com/u/746817?v=3","gravatar_id":"","url":"https://api.github.com/users/youngshingjun","html_url":"https://github.com/youngshingjun","followers_url":"https://api.github.com/users/youngshingjun/followers","following_url":"https://api.github.com/users/youngshingjun/following{/other_user}","gists_url":"https://api.github.com/users/youngshingjun/gists{/gist_id}","starred_url":"https://api.github.com/users/youngshingjun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youngshingjun/subscriptions","organizations_url":"https://api.github.com/users/youngshingjun/orgs","repos_url":"https://api.github.com/users/youngshingjun/repos","events_url":"https://api.github.com/users/youngshingjun/events{/privacy}","received_events_url":"https://api.github.com/users/youngshingjun/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paypal/PayPal-iOS-SDK/labels/sdk-bug","name":"sdk-bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-20T02:54:24Z","updated_at":"2016-08-23T15:24:14Z","closed_at":"2016-08-23T15:24:14Z","body":"PayPal SDK It doesn't support Simplified Chinese and Traditional Chinese (iOS 9.0 or above).\r\n\r\n//Sample Code\r\n\r\nNSUserDefaults* defaults = [NSUserDefaults standardUserDefaults];\r\nNSArray* languages = [defaults objectForKey:@\"AppleLanguages\"];\r\nNSString* language = [languages objectAtIndex:0];\r\n\r\nif ([language hasPrefix:@\"zh-Hans\"]) {\r\n// Language is Simplified Chinese.\r\n}\r\n\r\nif ([language hasPrefix:@\"zh-Hant\"] ||\r\n        [language hasPrefix:@\"zh-HK\"] ||\r\n        [language hasPrefix:@\"zh-MO\"] ||\r\n        [language hasPrefix:@\"zh-TW\"] ||\r\n        [language hasPrefix:@\"zh-SG\"] ) {\r\n// Language is Traditional Chinese.\r\n}"}}
{"actor":{"display_login":"bluk"}}