update README with new locals API