Add custom role for getting index locale