added multi-language support to the layer module.