Are we sure we aren't breaking something here? Seems odd that we would go to the trouble of resolving the locales directory and then determining the relative path from it when it's not required. Do we really just need to replace slashes here? @rwmtse Were you the original implementor of this code? Are we breaking some use cases here? Thoughts?