There is a simple way to translate menu tab’s text using values strings.xml?
Since the menu text is set on java, i don’t see a way to do that.
If there isn’t, which is the better way to do that?
SOLVED:
Method to recover a string: getString(R.string.tela_principal_menu_tab_um);
Whether your menu is built in XML or Java, you should be able to use strings.xml. You can access your strings in Java using
getString(R.string.string_name). See http://developer.android.com/guide/topics/resources/string-resource.html, and then just follow the instructions for localization: http://developer.android.com/guide/topics/resources/localization.html for your strings.