PSDLE - Localization

Sync with master.
Future-proof region code detection.