Can you override the locale via theme files?

I don’t know, I haven’t found any example of this yet. (maybe there are too few theme components I’ve looked at)