Hi, I'm trying to compile an app via Android 1.6, and got errors shown below. It said some strings in TextView and Button are not localized. I know how to fix them. It's easy to add them to strings.xml. But I still doubt why I need to localize every string. I don't think the strings like '1024' (pure number) or '80 x 25' need to be localized.
Can't I set some strings to be non-localized? I searched SDK 1.6 documents, but can't find any help. packages/apps/ConnectBot/res/layout/act_colors.xml:21: ERROR Error: This attribute must be localized. (at 'text' with value 'FG:'). packages/apps/ConnectBot/res/layout/act_colors.xml:44: ERROR Error: This attribute must be localized. (at 'text' with value 'BG:'). packages/apps/ConnectBot/res/layout/act_generatepubkey.xml:64: ERROR Error: This attribute must be localized. (at 'text' with value 'RSA'). packages/apps/ConnectBot/res/layout/act_generatepubkey.xml:71: ERROR Error: This attribute must be localized. (at 'text' with value 'DSA'). packages/apps/ConnectBot/res/layout/act_generatepubkey.xml:86: ERROR Error: This attribute must be localized. (at 'text' with value '1024'). packages/apps/ConnectBot/res/layout/dia_resize.xml:28: ERROR Error: This attribute must be localized. (at 'text' with value '80'). packages/apps/ConnectBot/res/layout/dia_resize.xml:36: ERROR Error: This attribute must be localized. (at 'text' with value 'x'). packages/apps/ConnectBot/res/layout/dia_resize.xml:47: ERROR Error: This attribute must be localized. (at 'text' with value '25'). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

