generator translation