//
//  ALTranslateTool.h
//  GMAlpha
//
//  Created by zhb on 2018/11/23.
//  Copyright © 2018 Gengmei. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ALTranslateTool : NSObject
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
+ (instancetype)shareInstance;


-(void)transStr:(NSString *)string toLanguage:(NSString *)language successBlock:(void (^)(NSString *resultString))successBlock failBlock:(void (^)(void))failBlock;

-(void)transStr:(NSString *)string toLanguage:(NSString *)language backBlock:(void (^)(NSString *resultString, NSError *error))block;



@end

