make frontend locale dynamic
remove requires