excuese me,after this modify(filename ),the b4i have no error,but the thirdpart library cannot display the right string,I've done much testing on that,and find that:
if put this code in starter module
Sub test 'the code below comm and tl =NSLog+toastmessageshow
Dim jo As NativeObject
jo=Me
jo.RunMethod("octest",Null)
End Sub
#If OBJC
- (void) octest{
[self._comm _tl:NSLocalizedStringFromTable(@"hold_to_talk_title",@"RongCloudKit", nil)];//this work with right string:"Hold to talk"
[self._comm _tl:NSLocalizedString(@"hold_to_talk_title", nil)];//this not work with right string but return the key directly:"hold_to_talk_title"
}
#end if
maybe the thirdpart library is using the API:NSLocalizedStringFromTable so,I have to make the file named "RongCloudKit.strings",but the b4i cannot compile,so I done by this:
1.remove them in b4i
2.compile in release mode
3.add them in xcode
4.compile with xcode
and in this way the app show right string,and "zh-Hans.lproj" is meaining Simple Chinese.
so b4i should not limit the filename of "strings" files,yes?
but the string is not follow the local setting(in system setting to China),when I delete the string file in en.lproj (remain only which in zh-Hans.lproj) it show Chinese: