The Norwegian language code problem might get a better solution using ISO 639-3. ISO 639-3 is not out yet, but it seems to be getting there. Here is the url to the draft http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&form...
In ISO 639-3 we will have nor= {nob, nno}, Norweigian (so called macrolanguage code) nob= Norweigian Bokmal nno= Norweigian Nynorsk
For example, one can try to use nob exculsively for Bokmal, nno exclusively for Nynorsk, and nor for common Noreigian (mixed script, including other minority script, etc)
Another macrolanguage example is the Serbo-Croation hbs= {bos, hrv,srp}, Serbo-Croatian bos= Bosnian hrv= Croatian srp= Serbian
best pektiong