Trying to localize DatePicker in iOS
using this advice
So I created
Files/Special/cs.lproj/InfoPlist.strings
Files/Special/en.lproj/InfoPlist.strings
Files/Special/es.lproj/InfoPlist.strings
but nothing changed I still see the english calendar ...
any advice ?
DatePicker is initialized like this
<code>
Dim cd As CustomLayoutDialog
Dim p As B4XView = xui.CreatePanel("")
p.SetLayoutAnimated(0, 0, 0, Root.Width - 50dip, 400dip)
p.LoadLayout("DialogFecha_iOS")
cd.Initialize(p)
If Main.App.OSVersion >= 13.4 Then
Dim no As NativeObject = p.GetView(0)
no.SetField ("preferredDatePickerStyle", 3)
End If
Private dp As DatePicker = p.GetView(0)
....
</code>
using this advice
DatePicker and Language
b4i 4.8 the language of my iphone is "German" the date picker view shows the month in English. How can I change that to the fone language ?
www.b4x.com
So I created
Files/Special/cs.lproj/InfoPlist.strings
Files/Special/en.lproj/InfoPlist.strings
Files/Special/es.lproj/InfoPlist.strings
but nothing changed I still see the english calendar ...
any advice ?
DatePicker is initialized like this
<code>
Dim cd As CustomLayoutDialog
Dim p As B4XView = xui.CreatePanel("")
p.SetLayoutAnimated(0, 0, 0, Root.Width - 50dip, 400dip)
p.LoadLayout("DialogFecha_iOS")
cd.Initialize(p)
If Main.App.OSVersion >= 13.4 Then
Dim no As NativeObject = p.GetView(0)
no.SetField ("preferredDatePickerStyle", 3)
End If
Private dp As DatePicker = p.GetView(0)
....
</code>