Fixed: CPLocale detection didn't work.
Fixed: CPLocale detection didn't work.

Previously, if the browser provided a language string such as "en-US", CPLocale would try to look up the locale for "en_EN", which wouldn't exist so it'd always select the default language.

This fix uses the browser provided language string fully to select the appropriate locale.

wangshijin/cappuccino,koamac/Cappuccino,cappuccino/cappuccino,cacaodev/cappuccino,tancred/cappuccino,kidaa/cappuccino,zittix/cappuccino,wangshijin/cappuccino,tancred/cappuccino,krodelin/cappuccino,AlexanderMazaletskiy/cappuccino,cacaodev/cappuccino,deltaprojects/cappuccino,cacaodev/cappuccino,enquora/cappuccino,krodelin/cappuccino,wangshijin/cappuccino,daboe01/cappuccino,AlexanderMazaletskiy/cappuccino,kidaa/cappuccino,zittix/cappuccino,cappuccino/cappuccino,cappuccino/cappuccino,tancred/cappuccino,cappuccino/cappuccino,cacaodev/cappuccino,zittix/cappuccino,wangshijin/cappuccino,deltaprojects/cappuccino,kidaa/cappuccino,primalmotion/cappuccino,koamac/Cappuccino,Rosch/cappuccino,Dogild/cappuccino,cacaodev/cappuccino,daboe01/cappuccino,tancred/cappuccino,mrcarlberg/cappuccino,Rosch/cappuccino,FrankReh/cappuccino,Dogild/cappuccino,mrcarlberg/cappuccino,kidaa/cappuccino,rgv151/cappuccino,krodelin/cappuccino,deltaprojects/cappuccino,daboe01/cappuccino,zittix/cappuccino,rgv151/cappuccino,Rosch/cappuccino,Rosch/cappuccino,FrankReh/cappuccino,FrankReh/cappuccino,mrcarlberg/cappuccino,deltaprojects/cappuccino,kidaa/cappuccino,rgv151/cappuccino,deltaprojects/cappuccino,Rosch/cappuccino,rgv151/cappuccino,FrankReh/cappuccino,wangshijin/cappuccino,cappuccino/cappuccino,zittix/cappuccino,FrankReh/cappuccino,enquora/cappuccino,Rosch/cappuccino,krodelin/cappuccino,primalmotion/cappuccino,mrcarlberg/cappuccino,AlexanderMazaletskiy/cappuccino,Dogild/cappuccino,krodelin/cappuccino,primalmotion/cappuccino,cacaodev/cappuccino,tancred/cappuccino,daboe01/cappuccino,enquora/cappuccino,FrankReh/cappuccino,mrcarlberg/cappuccino,mrcarlberg/cappuccino,mrcarlberg/cappuccino,tancred/cappuccino,koamac/Cappuccino,koamac/Cappuccino,Rosch/cappuccino,daboe01/cappuccino,primalmotion/cappuccino,primalmotion/cappuccino,FrankReh/cappuccino,cacaodev/cappuccino,rgv151/cappuccino,primalmotion/cappuccino,mrcarlberg/cappuccino,wangshijin/cappuccino,zittix/cappuccino,Dogild/cappuccino,daboe01/cappuccino,Dogild/cappuccino,deltaprojects/cappuccino,enquora/cappuccino,cappuccino/cappuccino,deltaprojects/cappuccino,rgv151/cappuccino,zittix/cappuccino,cappuccino/cappuccino,Dogild/cappuccino,krodelin/cappuccino,rgv151/cappuccino,AlexanderMazaletskiy/cappuccino,primalmotion/cappuccino,AlexanderMazaletskiy/cappuccino,Dogild/cappuccino,daboe01/cappuccino,krodelin/cappuccino,koamac/Cappuccino,enquora/cappuccino,AlexanderMazaletskiy/cappuccino,FrankReh/cappuccino,kidaa/cappuccino,enquora/cappuccino,enquora/cappuccino,koamac/Cappuccino