I am implementing a multilinqual application, there i have search funtionlity. In that i have placed uitextfiled.
When i change the language to arabic , and was testing the app. i found that particular uitextfield is always showing the english keyboard and not the arabic one.
The Phone language is set to arabic , but in the uitextfield it always shows the english keyboard. how is this happening?
below is my code
NSString *strPoemName = NSLocalizedString(@"Poem Name", @"Poem Name TextField");
self.txtFieldPoemName = [[[UITextField alloc]initWithFrame:CGRectMake(10, 0, 270, 40)]autorelease];
[self.txtFieldPoemName setFont:[UIFont systemFontOfSize:14.0]];
self.txtFieldPoemName.autocapitalizationType = UITextAutocapitalizationTypeNone;
self.txtFieldPoemName.autocorrectionType = UITextAutocorrectionTypeNo;
self.txtFieldPoemName.contentVerticalAlignment = UIControlContentVerticalAlignmentCenter;
self.txtFieldPoemName.placeholder = strPoemName;
self.txtFieldPoemName.delegate = self;
self.txtFieldPoemName.clearButtonMode = UITextFieldViewModeWhileEditing;
self.txtFieldPoemName.returnKeyType = UIReturnKeySearch;
[cell.contentView addSubview:self.txtFieldPoemName];