Dear All, trying to figure out this but no luck.
Want to rewrite and beautify this specific ...?ln=zh-CN to /cn/...
With the help of a genius @ StackOverflow(Laurence Gonsalves) im almost there!
But stuck here:

The second part works perfectly! The first part doesnt do the work well for that one and only exception zh-CN... What is being overlooked here? All clues or tips will be blessed with feminine attentions in our afterlife, i'm so sure!