adding translation to gallery