What's the meaning of attribute 'msgid' in strings.xml?

What’s the meaning of attribute ‘msgid’ in strings.xml ?

How to get its value?

  • How to Ping External IP from Java Android
  • Android UnsatisfiedLinkError with OpenCV 2.4.2
  • onClickListener on a LinearLayout
  • Alternate background color for ListView class even without data
  • How to bring focused field into the view using iscroll and Android WebView
  • What is meant by Ems? (Android TextView)
  • YouTube Video not playing in WebView - Android
  • adb forward remote port to local machine
  • Generate a Javadoc for my Android project
  • Android EditText on longPress: ArrayIndexOutOfBoundsException: length=15; index=491
  • What to set CursorAdapter(Context context, Cursor c, int flags) to in order to make it work with CursorLoader?
  • Buck vs Gradle, pro's and cons for Android build systems
  • One Solution collect form web for “What's the meaning of attribute 'msgid' in strings.xml?”

    Attribute “msgid” is present in strings.xml if you are using string localization. For example, if you have alternate application strings for Spanish in the folder values-es, values.xml will contain “msgid”.

    When I look at the strings.xml for Spanish I see some long values like


    What is interesting is that strings.xml for Italian and other languages contains the same msgid for the same string.

    The only thing that comes to my mind is that it are some unique resource IDs, produced internally by the application. So, I do not think it makes sense to search for additional meaning in them. They are unique within the application, and that is only important.

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.