Fix PHP warnings in views/locale.php

* ```$total_missing``` is not initialized
* check for key in ```$webprojects``` instead of counting projects