Add foreign local themes support

Refs #3.