Add list of languages and plural forms in profile dialog.

I modify the languages static property to populate the hashmap with
a call to lazy_init if it's empty. In addition we create a new constructor
for ProfileDialog.