added beforefilter to apply locale if provided
added German translation
added French translation