We are having an issue where some of the generated permalinks are having the custom locale field concatenated.
Permalinks Settings Code
/%field_locale%/%postname%/
Custom Locale Field Value

Expected

Reality

We are on version 2.0.
This is very inconsistent and rarely happens. The affected locales seem different each time too.
I hope this is enough information to diagnose the problem, happy to provide more if needed