Update localization.md

Avoid PHP 5.4 array notation, and add directory structure example.