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?
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.