Hello!
I know there is a splendid multilingual support using the AHLocale library but I really do not need so much.
The only thing I need is to duplicate the menu's items in a couple of languages.
Is there a nice and easy way to do this?
you could use code like the following to discover the language set for the device and a simple if..then..else clause to set your menu items accordigly (i.e. language1 for a specific language and language2 for any other).
B4X:
'returns two-letters device default language
Sub GetDefaultLanguage As String
Dim r As Reflector
r.Target = r.RunStaticMethod("java.util.Locale", "getDefault", Null, Null)
Return r.RunMethod("getLanguage")
End Sub