Icons are a visual representation of an idea and/or action.
An icon by itself doesn't have a meaning, therefore it must be always associalted to a label, an action, or something similar. The icon itself helps to communicate an idea but the meaning must be given by the label. The icon is just a visual aid. Please choose carefully the icon and the associated label so together they have a powerful and not misleading meaning.
Using an icon to communicate a concept is not always easy. If you are in this situation consider just using text.
Use a 16px box for icons of 16px.
Liferay has its own icon library created for the purposes of the projects that use Lexicon.
Please, follow this guide to create icons for Lexicon.
People tend to have pretty strong opinions on whether flags should be used as a visual cue for indicating a language. This is because in many parts of the world the flag may have cultural and geographic meanings that we might not be aware of, or the flag itself may not be fully accurate to the dialects spoken in that region.
While we understand this reasoning, we've found that when a user is not familiar with the currently displayed language, flags somewhat eliminate the use of other mechanisms, such as the name of the language (since the current language could be in an entirely different character set). Given this, there is often at least some familiarity with the identity of a country that speaks a shared language.