Chosen Solution
I’m looking at a Lightning extension cable (with a female plug on one end and a male plug on the other) . I would like to solder it to a standard Lightning cable (the 8 pin plug) which has 4 cables in it. But if you look at the photo of the extension, there are 8 cables, in the following order: black - white - green - yellow - red - purple - orange - blue The standard 8-pin has 4 cables: gray - green - white - brown It seems I have to solder every pair of cables from the extenion, to one cable from the 8-pin end.But which combinations of colors should it be?
A Lightning extension cable should have eight wires that feed through to the other Lightning connector. It appears you are trying to make a conversion to USB-A connection, that cable only have four wires.